[Bug 1850] Build fails when SELinux is enabled

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Jan 25 12:56:10 EST 2011


https://bugzilla.mindrot.org/show_bug.cgi?id=1850

--- Comment #3 from Colin Watson <cjwatson at debian.org> 2011-01-25 12:56:10 EST ---
Damien's fix doesn't quite work for me:

gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o
sshconnect1.o sshconnect2.o mux.o roaming_common.o roaming_client.o -L.
-Lopenbsd-compat/  -fstack-protector-all -Wl,--as-needed -fPIE -pie
-Wl,-z,relro -Wl,-z,now -lssh -lopenbsd-compat -lselinux -lresolv
-lcrypto -ldl -lutil -lz -lnsl  -lcrypt -g -O2 -Wall -Wpointer-arith
-Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign
-Wno-unused-result -fno-strict-aliasing -fno-builtin-memset
-fstack-protector-all -O2 -fPIE -fstack-protector -D_FORTIFY_SOURCE=2
-Wformat -Wformat-security -DLOGIN_PROGRAM="/bin/login"
-DLOGIN_NO_ENDOPT -DSSH_EXTRAVERSION="Debian-1" -lgssapi_krb5 -lkrb5
-lk5crypto -lcom_err
openbsd-compat//libopenbsd-compat.a(port-linux.o): In function
`ssh_selinux_getctxbyname':
/home/cjwatson/src/debian/openssh/trunk/experimental/openssh/build-deb/openbsd-compat/../../openbsd-compat/port-linux.c:78:
undefined reference to `the_authctxt'
collect2: ld returned 1 exit status

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list