OpenSSH 4.9p1 configure bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The Makefile for OpenSSH 4.9p1 for Linux seems to be broken. It was this was on 4.8 as well. This is on RHEL 5.1.

$ ./configure

checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

$ cat config.log

...

configure:2154: gcc -V >&5
gcc: '-V' option must have argument
configure:2157: $? = 1
configure:2180: checking for C compiler default output file name
configure:2207: gcc    conftest.c  >&5
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
configure:2210: $? = 1
configure:2248: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "OpenSSH"
| #define PACKAGE_TARNAME "openssh"
| #define PACKAGE_VERSION "Portable"
| #define PACKAGE_STRING "OpenSSH Portable"
| #define PACKAGE_BUGREPORT "openssh-unix-dev@xxxxxxxxxxx"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2255: error: C compiler cannot create executables
See `config.log' for more details.

...

So, it seems like gcc -V is getting called incorrectly, which causes problems later on.

--
Brian McNally

[Index of Archives]     [Open SSH Unix Development]     [Fedora Users]     [Fedora Desktop]     [Yosemite Backpacking]     [KDE Users]     [Gnome Users]

  Powered by Linux