Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101625 - net-misc/openssh-3.9_p1-r2 ebuild fails with compiler sanity check
Summary: net-misc/openssh-3.9_p1-r2 ebuild fails with compiler sanity check
Status: RESOLVED DUPLICATE of bug 94458
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-07 03:54 UTC by Damien
Modified: 2005-08-07 03:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Damien 2005-08-07 03:54:55 UTC
When trying to emerge net-misc/openssh-3.9_p1-r2 checks fail on compiler 
sanity check. 

Reproducible: Always
Steps to Reproduce:
1. emerge openssh 
 
Actual Results:  
config failed with compiler sanity check:   
configure: error: *** compiler cannot create working executables, check   
config.log ***   
 
See Additional Information for config.log 
   

Expected Results:  
emerge openssh succeeds. 

emerge info follows: 
 
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 
2.6.12-gentoo-r6 x86_64) 
================================================================= 
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+ 
Gentoo Base System version 1.6.13 
dev-lang/python:     2.3.5, 2.4.1-r1 
sys-apps/sandbox:    1.2.11 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CBUILD="x86_64-pc-linux-gnu" 
CFLAGS="-O2 -pipe -march=athlon64" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-O2 -pipe -march=athlon64" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X acpi alsa amd64 avi berkdb bitmap-fonts bzip2 cdparanoia cdr crypt cups 
dvd dvdr dvdread eds encode esd fam fdtk ffmpeg foomaticdb fortran ftp gif 
gnome gpm gstreamer gtk gtk2 ieee1394 imap imlib ipv6 java javascript joystick 
jpeg kde ldap libwww lirc lzw lzw-tiff mad maildir mbox mime motif mp3 mpeg 
msn mysql ncurses nls offensive ofx ogg opengl pam pdflib perl php png python 
qt quicktime readline samba sdl session spell ssl tcltk tcpd tetex tiff 
truetype-fonts type1-fonts usb userlocales videos vorbis wnf xine xml2 xmms 
xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, 
PORTDIR_OVERLAY 
 
 
config.log follows 
 
 
This file contains any messages produced by compilers while   
running configure, to aid debugging if configure makes a mistake.   
   
It was created by configure, which was   
generated by GNU Autoconf 2.59.  Invocation command line was   
   
  $ ./configure --prefix=/usr --host=x86_64-pc-linux-gnu   
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share   
--sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64   
--build=x86_64-pc-linux-gnu --with-ldflags= -lldap --disable-strip   
--sysconfdir=/etc/ssh --libexecdir=/usr/lib/misc --datadir=/usr/share/openssh   
--disable-suid-ssh --with-privsep-path=/var/empty --with-privsep-user=sshd   
--with-md5-passwords --with-tcp-wrappers --with-pam --without-skey   
--without-opensc --with-tcp-wrappers --with-pam --without-skey   
--without-kerberos5   
   
## --------- ##   
## Platform. ##   
## --------- ##   
   
hostname = bloo   
uname -m = x86_64   
uname -r = 2.6.12-gentoo-r6   
uname -s = Linux   
uname -v = #2 Mon Aug 1 21:55:52 GMT 2005   
   
/usr/bin/uname -p = AMD Athlon(tm) 64 Processor 3200+   
/bin/uname -X     = unknown   
   
/bin/arch              = x86_64   
/usr/bin/arch -k       = unknown   
/usr/convex/getsysinfo = unknown   
hostinfo               = unknown   
/bin/machine           = unknown   
/usr/bin/oslevel       = unknown   
/bin/universe          = unknown   
   
PATH: /sbin   
PATH: /usr/sbin   
PATH: /usr/lib/portage/bin   
PATH: /bin   
PATH: /usr/bin   
PATH: /opt/bin   
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3   
PATH: /opt/blackdown-jdk-1.4.2.02/bin   
PATH: /opt/blackdown-jdk-1.4.2.02/jre/bin   
PATH: /usr/qt/3/bin   
PATH: /usr/kde/3.4/sbin   
PATH: /usr/kde/3.4/bin   
PATH: /usr/kde/3.3/sbin   
PATH: /usr/kde/3.3/bin   
   
   
## ----------- ##   
## Core tests. ##   
## ----------- ##   
   
configure:1356: checking for x86_64-pc-linux-gnu-gcc   
configure:1372: found /usr/bin/x86_64-pc-linux-gnu-gcc   
configure:1382: result: x86_64-pc-linux-gnu-gcc   
configure:1664: checking for C compiler version   
configure:1667: x86_64-pc-linux-gnu-gcc --version </dev/null >&5   
x86_64-pc-linux-gnu-gcc (GCC) 3.4.3 20041125 (Gentoo 3.4.3-r1, ssp-3.4.3-0,   
pie-8.7.7)   
Copyright (C) 2004 Free Software Foundation, Inc.   
This is free software; see the source for copying conditions.  There is NO   
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.   
   
configure:1670: $? = 0   
configure:1672: x86_64-pc-linux-gnu-gcc -v </dev/null >&5   
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/specs   
Configured with: /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/configure   
--enable-version-specific-runtime-libs --prefix=/usr   
--bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3   
--includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include   
--datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3   
--mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/man   
--infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/info   
--with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3   
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec   
--enable-nls --without-included-gettext --with-system-zlib --disable-checking   
--disable-werror --disable-libunwind-exceptions --enable-multilib   
--disable-libgcj --enable-languages=c,c++,f77 --enable-shared   
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu   
Thread model: posix   
gcc version 3.4.3 20041125 (Gentoo 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7)   
configure:1675: $? = 0   
configure:1677: x86_64-pc-linux-gnu-gcc -V </dev/null >&5   
x86_64-pc-linux-gnu-gcc: `-V' must come at the start of the command line   
configure:1680: $? = 1   
configure:1703: checking for C compiler default output file name   
configure:1706: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=athlon64   
-DWITH_LDAP_PUBKEY   conftest.c  >&5   
configure:1709: $? = 0   
configure:1755: result: a.out   
configure:1760: checking whether the C compiler works   
configure:1766: ./a.out   
configure:1769: $? = 0   
configure:1786: result: yes   
configure:1793: checking whether we are cross compiling   
configure:1795: result: no   
configure:1798: checking for suffix of executables   
configure:1800: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=athlon64   
-DWITH_LDAP_PUBKEY   conftest.c  >&5   
configure:1803: $? = 0   
configure:1828: result:    
configure:1834: checking for suffix of object files   
configure:1855: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=athlon64   
-DWITH_LDAP_PUBKEY  conftest.c >&5   
configure:1858: $? = 0   
configure:1880: result: o   
configure:1884: checking whether we are using the GNU C compiler   
configure:1908: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=athlon64   
-DWITH_LDAP_PUBKEY  conftest.c >&5   
configure:1914: $? = 0   
configure:1918: test -z    
			 || test ! -s conftest.err   
configure:1921: $? = 0   
configure:1924: test -s conftest.o   
configure:1927: $? = 0   
configure:1940: result: yes   
configure:1946: checking whether x86_64-pc-linux-gnu-gcc accepts -g   
configure:1967: x86_64-pc-linux-gnu-gcc -c -g  conftest.c >&5   
configure:1973: $? = 0   
configure:1977: test -z    
			 || test ! -s conftest.err   
configure:1980: $? = 0   
configure:1983: test -s conftest.o   
configure:1986: $? = 0   
configure:1997: result: yes   
configure:2014: checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C   
configure:2084: x86_64-pc-linux-gnu-gcc  -c -O2 -pipe -march=athlon64   
-DWITH_LDAP_PUBKEY  conftest.c >&5   
configure:2090: $? = 0   
configure:2094: test -z    
			 || test ! -s conftest.err   
configure:2097: $? = 0   
configure:2100: test -s conftest.o   
configure:2103: $? = 0   
configure:2121: result: none needed   
configure:2139: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=athlon64   
-DWITH_LDAP_PUBKEY  conftest.c >&5   
conftest.c:2: error: parse error before "me"   
configure:2145: $? = 1   
configure: failed program was:   
| #ifndef __cplusplus   
|   choke me   
| #endif   
configure:2309: checking build system type   
configure:2327: result: x86_64-pc-linux-gnu   
configure:2335: checking host system type   
configure:2349: result: x86_64-pc-linux-gnu   
configure:2358: checking whether byte ordering is bigendian   
configure:2385: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=athlon64   
-DWITH_LDAP_PUBKEY  conftest.c >&5   
configure:2391: $? = 0   
configure:2395: test -z    
			 || test ! -s conftest.err   
configure:2398: $? = 0   
configure:2401: test -s conftest.o   
configure:2404: $? = 0   
configure:2428: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=athlon64   
-DWITH_LDAP_PUBKEY  conftest.c >&5   
conftest.c: In function `main':   
conftest.c:16: error: `not' undeclared (first use in this function)   
conftest.c:16: error: (Each undeclared identifier is reported only once   
conftest.c:16: error: for each function it appears in.)   
conftest.c:16: error: parse error before "big"   
configure:2434: $? = 1   
configure: failed program was:   
| /* confdefs.h.  */   
|    
| #define PACKAGE_NAME ""   
| #define PACKAGE_TARNAME ""   
| #define PACKAGE_VERSION ""   
| #define PACKAGE_STRING ""   
| #define PACKAGE_BUGREPORT ""   
| /* end confdefs.h.  */   
| #include <sys/types.h>   
| #include <sys/param.h>   
|    
| int   
| main ()   
| {   
| #if BYTE_ORDER != BIG_ENDIAN   
|  not big endian   
| #endif   
|    
|   ;   
|   return 0;   
| }   
configure:2569: result: no   
configure:2594: checking for gawk   
configure:2610: found /bin/gawk   
configure:2620: result: gawk   
configure:2635: checking how to run the C preprocessor   
configure:2670: x86_64-pc-linux-gnu-gcc -E  conftest.c   
configure:2676: $? = 0   
configure:2708: x86_64-pc-linux-gnu-gcc -E  conftest.c   
conftest.c:9:28: ac_nonexistent.h: No such file or directory   
configure:2714: $? = 1   
configure: failed program was:   
| /* confdefs.h.  */   
|    
| #define PACKAGE_NAME ""   
| #define PACKAGE_TARNAME ""   
| #define PACKAGE_VERSION ""   
| #define PACKAGE_STRING ""   
| #define PACKAGE_BUGREPORT ""   
| /* end confdefs.h.  */   
| #include <ac_nonexistent.h>   
configure:2753: result: x86_64-pc-linux-gnu-gcc -E   
configure:2777: x86_64-pc-linux-gnu-gcc -E  conftest.c   
configure:2783: $? = 0   
configure:2815: x86_64-pc-linux-gnu-gcc -E  conftest.c   
conftest.c:9:28: ac_nonexistent.h: No such file or directory   
configure:2821: $? = 1   
configure: failed program was:   
| /* confdefs.h.  */   
|    
| #define PACKAGE_NAME ""   
| #define PACKAGE_TARNAME ""   
| #define PACKAGE_VERSION ""   
| #define PACKAGE_STRING ""   
| #define PACKAGE_BUGREPORT ""   
| /* end confdefs.h.  */   
| #include <ac_nonexistent.h>   
configure:2867: checking for x86_64-pc-linux-gnu-ranlib   
configure:2883: found /usr/bin/x86_64-pc-linux-gnu-ranlib   
configure:2893: result: x86_64-pc-linux-gnu-ranlib   
configure:2957: checking for a BSD-compatible install   
configure:3012: result: /bin/install -c   
configure:3025: checking for ar   
configure:3043: found /usr/bin/ar   
configure:3055: result: /usr/bin/ar   
configure:3066: checking for perl5   
configure:3099: result: no   
configure:3066: checking for perl   
configure:3084: found /usr/bin/perl   
configure:3096: result: /usr/bin/perl   
configure:3108: checking for sed   
configure:3126: found /bin/sed   
configure:3138: result: /bin/sed   
configure:3148: checking for ent   
configure:3181: result: no   
configure:3188: checking for bash   
configure:3206: found /bin/bash   
configure:3218: result: /bin/bash   
configure:3227: checking for ksh   
configure:3257: result: /bin/bash   
configure:3266: checking for sh   
configure:3296: result: /bin/bash   
configure:3305: checking for sh   
configure:3323: found /bin/sh   
configure:3335: result: /bin/sh   
configure:3351: checking for special C compiler options needed for large files   
configure:3450: result: no   
configure:3456: checking for _FILE_OFFSET_BITS value needed for large files   
configure:3487: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=athlon64   
-DWITH_LDAP_PUBKEY  conftest.c >&5   
configure:3493: $? = 0   
configure:3497: test -z    
			 || test ! -s conftest.err   
configure:3500: $? = 0   
configure:3503: test -s conftest.o   
configure:3506: $? = 0   
configure:3571: result: no   
configure:3581: checking for _LARGE_FILES value needed for large files   
configure:3612: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=athlon64   
-DWITH_LDAP_PUBKEY  conftest.c >&5   
configure:3618: $? = 0   
configure:3622: test -z    
			 || test ! -s conftest.err   
configure:3625: $? = 0   
configure:3628: test -s conftest.o   
configure:3631: $? = 0   
configure:3696: result: no   
configure:3725: checking for login   
configure:3743: found /bin/login   
configure:3755: result: /bin/login   
configure:3772: checking for passwd   
configure:3790: found /bin/passwd   
configure:3802: result: /bin/passwd   
configure:3821: checking for inline   
configure:3842: x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=athlon64   
-DWITH_LDAP_PUBKEY  conftest.c >&5   
configure:3848: $? = 0   
configure:3852: test -z    
			 || test ! -s conftest.err   
configure:3855: $? = 0   
configure:3858: test -s conftest.o   
configure:3861: $? = 0   
configure:3873: result: inline   
configure:5941: checking compiler and flags for sanity   
configure:5962: x86_64-pc-linux-gnu-gcc -o conftest -O2 -pipe -march=athlon64   
-DWITH_LDAP_PUBKEY -Wall -Wpointer-arith -Wno-uninitialized    -lldap   
conftest.c  >&5   
conftest.c: In function `main':   
conftest.c:17: warning: implicit declaration of function `exit'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:   
warning: liblber-2.2.so.7, needed   
by /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so, not   
found (try using -rpath or -rpath-link)   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_dup'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_sockbuf_remove_io'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_init2'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_alloc_t'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_dupbv'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_next_element'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_printf'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_sockbuf_free'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_free'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_memcalloc'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_strdup'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_first_element'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_flatten2'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_bvfree'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_init'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_flush'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_pvt_log_print'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_memvfree'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_set_option'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_write'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_sockbuf_io_debug'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_sockbuf_alloc'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_skip_tag'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_memalloc'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_memrealloc'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_get_next'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_reset'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_peek_tag'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_bvecfree'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_free_buf'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_memfree'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_sockbuf_ctrl'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_sockbuf_io_fd'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_sockbuf_io_tcp'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_sockbuf_add_io'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_get_int'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_log_dump'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_strndup'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_scanf'   
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../lib64/libldap.so: undefined   
reference to `ber_pvt_socket_set_nonblock'   
collect2: ld returned 1 exit status   
configure:5965: $? = 1   
configure: program exited with status 1   
configure: failed program was:   
| /* confdefs.h.  */   
|    
| #define PACKAGE_NAME ""   
| #define PACKAGE_TARNAME ""   
| #define PACKAGE_VERSION ""   
| #define PACKAGE_STRING ""   
| #define PACKAGE_BUGREPORT ""   
| #define LOGIN_PROGRAM_FALLBACK "/bin/login"   
| #define _PATH_PASSWD_PROG "/bin/passwd"   
| #define DONT_TRY_OTHER_AF 1   
| #define PAM_TTY_KLUDGE 1   
| #define LOCKED_PASSWD_PREFIX "!"   
| #define SPT_TYPE SPT_REUSEARGV   
| /* end confdefs.h.  */   
|    
| #include <stdio.h>   
| int main(){exit(0);}   
|    
configure:5981: result: no   
configure:5983: error: *** compiler cannot create working executables, check   
config.log ***   
   
## ---------------- ##   
## Cache variables. ##   
## ---------------- ##   
   
ac_cv_build=x86_64-pc-linux-gnu   
ac_cv_build_alias=x86_64-pc-linux-gnu   
ac_cv_c_bigendian=no   
ac_cv_c_compiler_gnu=yes   
ac_cv_c_inline=inline   
ac_cv_env_CC_set=   
ac_cv_env_CC_value=   
ac_cv_env_CFLAGS_set=set   
ac_cv_env_CFLAGS_value='-O2 -pipe -march=athlon64 -DWITH_LDAP_PUBKEY'   
ac_cv_env_CPPFLAGS_set=   
ac_cv_env_CPPFLAGS_value=   
ac_cv_env_CPP_set=   
ac_cv_env_CPP_value=   
ac_cv_env_LDFLAGS_set=   
ac_cv_env_LDFLAGS_value=   
ac_cv_env_build_alias_set=set   
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu   
ac_cv_env_host_alias_set=set   
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu   
ac_cv_env_target_alias_set=   
ac_cv_env_target_alias_value=   
ac_cv_exeext=   
ac_cv_host=x86_64-pc-linux-gnu   
ac_cv_host_alias=x86_64-pc-linux-gnu   
ac_cv_objext=o   
ac_cv_path_AR=/usr/bin/ar   
ac_cv_path_LOGIN_PROGRAM_FALLBACK=/bin/login   
ac_cv_path_PATH_PASSWD_PROG=/bin/passwd   
ac_cv_path_PERL=/usr/bin/perl   
ac_cv_path_SED=/bin/sed   
ac_cv_path_SH=/bin/sh   
ac_cv_path_TEST_MINUS_S_SH=/bin/bash   
ac_cv_path_install='/bin/install -c'   
ac_cv_prog_AWK=gawk   
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc   
ac_cv_prog_CPP='x86_64-pc-linux-gnu-gcc -E'   
ac_cv_prog_RANLIB=x86_64-pc-linux-gnu-ranlib   
ac_cv_prog_cc_g=yes   
ac_cv_prog_cc_stdc=   
ac_cv_sys_file_offset_bits=no   
ac_cv_sys_large_files=no   
ac_cv_sys_largefile_CC=no   
   
## ----------------- ##   
## Output variables. ##   
## ----------------- ##   
   
AR='/usr/bin/ar'   
AWK='gawk'   
CC='x86_64-pc-linux-gnu-gcc'   
CFLAGS='-O2 -pipe -march=athlon64 -DWITH_LDAP_PUBKEY -Wall -Wpointer-arith   
-Wno-uninitialized'   
CPP='x86_64-pc-linux-gnu-gcc -E'   
CPPFLAGS=''   
DEFS=''   
ECHO_C=''   
ECHO_N='-n'   
ECHO_T=''   
EGREP=''   
ENT=''   
EXEEXT=''   
INSTALL_DATA='${INSTALL} -m 644'   
INSTALL_PROGRAM='${INSTALL}'   
INSTALL_SCRIPT='${INSTALL}'   
INSTALL_SSH_PRNG_CMDS=''   
INSTALL_SSH_RAND_HELPER=''   
LD='x86_64-pc-linux-gnu-gcc'   
LDFLAGS='  -lldap'   
LIBOBJS=''   
LIBPAM=''   
LIBS=''   
LIBWRAP=''   
LOGIN_PROGRAM_FALLBACK='/bin/login'   
LTLIBOBJS=''   
MANTYPE=''   
NROFF=''   
OBJEXT='o'   
OPENSC_CONFIG=''   
PACKAGE_BUGREPORT=''   
PACKAGE_NAME=''   
PACKAGE_STRING=''   
PACKAGE_TARNAME=''   
PACKAGE_VERSION=''   
PATH_PASSWD_PROG='/bin/passwd'   
PATH_SEPARATOR=':'   
PERL='/usr/bin/perl'   
PRIVSEP_PATH=''   
PROG_ARP=''   
PROG_DF=''   
PROG_IFCONFIG=''   
PROG_IPCS=''   
PROG_JSTAT=''   
PROG_LAST=''   
PROG_LASTLOG=''   
PROG_LS=''   
PROG_NETSTAT=''   
PROG_PS=''   
PROG_SAR=''   
PROG_TAIL=''   
PROG_UPTIME=''   
PROG_VMSTAT=''   
PROG_W=''   
PROG_WHO=''   
RANLIB='x86_64-pc-linux-gnu-ranlib'   
SED='/bin/sed'   
SH='/bin/sh'   
SHELL='/bin/sh'   
SSH_PRIVSEP_USER=''   
STRIP_OPT=''   
TEST_MINUS_S_SH='/bin/bash'   
XAUTH_PATH=''   
ac_ct_CC=''   
ac_ct_RANLIB=''   
bindir='${exec_prefix}/bin'   
build='x86_64-pc-linux-gnu'   
build_alias='x86_64-pc-linux-gnu'   
build_cpu='x86_64'   
build_os='linux-gnu'   
build_vendor='pc'   
datadir='/usr/share/openssh'   
exec_prefix='NONE'   
host='x86_64-pc-linux-gnu'   
host_alias='x86_64-pc-linux-gnu'   
host_cpu='x86_64'   
host_os='linux-gnu'   
host_vendor='pc'   
includedir='${prefix}/include'   
infodir='/usr/share/info'   
libdir='/usr/lib64'   
libexecdir='/usr/lib/misc'   
localstatedir='/var/lib'   
mandir='/usr/share/man'   
mansubdir=''   
oldincludedir='/usr/include'   
piddir=''   
prefix='/usr'   
program_transform_name='s,x,x,'   
sbindir='${exec_prefix}/sbin'   
sharedstatedir='${prefix}/com'   
sysconfdir='/etc/ssh'   
target_alias=''   
user_path=''   
xauth_path=''   
   
## ----------- ##   
## confdefs.h. ##   
## ----------- ##   
   
#define DONT_TRY_OTHER_AF 1   
#define LOCKED_PASSWD_PREFIX "!"   
#define LOGIN_PROGRAM_FALLBACK "/bin/login"   
#define PACKAGE_BUGREPORT ""   
#define PACKAGE_NAME ""   
#define PACKAGE_STRING ""   
#define PACKAGE_TARNAME ""   
#define PACKAGE_VERSION ""   
#define PAM_TTY_KLUDGE 1   
#define SPT_TYPE SPT_REUSEARGV   
#define _PATH_PASSWD_PROG "/bin/passwd"   
   
configure: exit 1
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-07 03:57:03 UTC

*** This bug has been marked as a duplicate of 94458 ***