OpenSSH 3.4p1 - compilation problem on Linux
Craig Emery
craig.emery at 3glab.com
Thu Jun 27 22:05:42 EST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've just sucessfully build RedHat 7.2 RPMs.
(Does anyone wnat to upload them somewhere?)
Looking up CMSG_FIRSTHDR I find it in /usr/include/bits/socket.h and
/usr/include/linux/socket.h
The former belongs to my glibc-devel package and the latter belongs to
my kernel-headers package.
Seeing "Kernel 2.0.34" in your systems configuration make me suspicious
of your kernel headers but it could be the version of glibc you've got
installed.
You could try upgrading but both of these packages are *really*
fundamental things that you should upgrade with care.
Craig.
seth at kokos.cz wrote:
> Hello openssh-unix-dev,
>
> Some time ago I successfully compiled version 3.1 of OpenSSH.
> Today I tried new OpenSSH version and I am not able to compile it.
> Configuration script runned well. When running make, following error
> occured:
>
> make[1]: Entering directory `/tools/openssh-3.4p1/openbsd-compat'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/tools/openssh-3.4p1/openbsd-compat'
> gcc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o sshtty.o readconf.o clientloop.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib -lssh -lopenbsd-compat -lbsd -lz -lcrypto
> ./libssh.a(monitor_fdpass.o): In function `mm_send_fd':
> /tools/openssh-3.4p1/monitor_fdpass.c:54: undefined reference to `CMSG_FIRSTHDR'
> /tools/openssh-3.4p1/monitor_fdpass.c:58: undefined reference to `CMSG_DATA'
> ./libssh.a(monitor_fdpass.o): In function `mm_receive_fd':
> /tools/openssh-3.4p1/monitor_fdpass.c:114: undefined reference to `CMSG_FIRSTHDR'
> /tools/openssh-3.4p1/monitor_fdpass.c:118: undefined reference to `CMSG_DATA'
> collect2: ld returned 1 exit status
> make: *** [ssh] Error 1
>
> Really don't know where the problem could be.
>
> Some info about comp:
> i386 Slackware linux
> Kernel 2.0.34
> OpenSSL 0.9.6
> egcs-2.90.29 980515 (egcs-1.0.3 release)
> libc 4.7.6
>
> - don't know what other info can help you.
>
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE9Gv+XBIRM2chQkvERAo0rAJ49FH/Mjp/ivKTKlxF/wkyi/L06/wCfYuhH
gOCod8oU7k3jnnFRw6RrAQ8=
=q1Qf
-----END PGP SIGNATURE-----
More information about the openssh-unix-dev
mailing list