Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110792 - mod_php-4.4.0-r3 configure cannot run test program while cross compiling (Target/Host=same)
Summary: mod_php-4.4.0-r3 configure cannot run test program while cross compiling (Tar...
Status: RESOLVED DUPLICATE of bug 86107
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-29 08:10 UTC by Steve Egbert
Modified: 2005-10-29 11:00 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 Steve Egbert 2005-10-29 08:10:49 UTC
When attempting to do 'emerge mod_php' after 'emerge sync', 'emerge -U world',
the following error occurred:

configure: error: cannot run test program while cross compilng



Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge -U world
3. emerge mod_php

Actual Results:  
configure: error: cannot run test program while cross compiling

"attach mod_php-4.4.0-r3 config.log"

Expected Results:  
Clean emerge?

more config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:1656: checking host system type
configure:1756: checking for gcc
configure:1869: checking whether the C compiler (gcc -O2 -mcpu=k6 -fomit-frame-p
ointer -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -
D_GNU_SOURCE -pthread  -L/usr/X11R6/lib -L/usr/lib) works
configure:1885: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_R
EENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread
   -L/usr/X11R6/lib -L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
configure:1911: checking whether the C compiler (gcc -O2 -mcpu=k6 -fomit-frame-p
ointer -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -
D_GNU_SOURCE -pthread  -L/usr/X11R6/lib -L/usr/lib) is a cross-compiler
configure:1916: checking whether we are using GNU C
configure:1925: gcc -E conftest.c
configure:1944: checking whether gcc accepts -g
configure:1977: checking whether gcc and cc understand -c and -o together
configure:1992: gcc -c conftest.c -o conftest.o 1>&5
configure:1993: gcc -c conftest.c -o conftest.o 1>&5
configure:1998: cc -c conftest.c 1>&5
configure:2000: cc -c conftest.c -o conftest.o 1>&5
configure:2001: cc -c conftest.c -o conftest.o 1>&5
configure:2028: checking how to run the C preprocessor
configure:2049: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:2109: checking for AIX
configure:2136: checking if compiler supports -R
configure:2151: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_R
EENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread
   -L/usr/X11R6/lib -L/usr/lib conftest.c -R /usr/lib  -lxmlparse -lxmltok 1>&5
gcc: unrecognized option `-R'
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: /
usr/lib: No such file: File format not recognized
collect2: ld returned 1 exit status
configure: failed program was:
#line 2144 "configure"
#include "confdefs.h"

int main() {

; return 0; }
configure:2169: checking if compiler supports -Wl,-rpath,
configure:2184: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_R
EENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread
   -L/usr/X11R6/lib -L/usr/lib conftest.c -Wl,-rpath,/usr/lib  -lxmlparse -lxmlt
ok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
configure:2210: checking for re2c
configure:2239: checking whether ln -s works
configure:2264: checking for gawk
configure:2298: checking for bison
configure:2332: checking bison version
configure:2342: checking for flex
configure:2376: checking for yywrap in -lfl
configure:2395: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_R
EENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread
   -L/usr/X11R6/lib -L/usr/lib conftest.c -lfl   -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
configure:2419: checking lex output file root
configure:2440: checking whether yytext is a pointer
configure:2459: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_R
EENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread
   -L/usr/X11R6/lib -L/usr/lib conftest.c  -lxmlparse -lxmltok -lfl 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
configure:2483: checking for working const
configure:2537: gcc -c -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  conftes
t.c 1>&5
configure:2562: checking flex version
configure:2578: checking whether byte ordering is bigendian
configure:2671: checking whether to force non-PIC code in shared modules
configure:2808: checking for pthreads_cflags
configure:2871: checking for pthreads_lib
configure:3002: checking for AOLserver support
configure:3243: checking for Apache 1.x module support via DSO through APXS
configure:3546: checking for Apache 1.x module support
configure:4381: checking for mod_charset compatibility option
configure:4518: checking for Apache 2.0 filter-module support via DSO through AP
XS
configure:5340: checking for Apache 2.0 handler-module support via DSO through A
PXS
configure:6163: checking for Caudium support
configure:6493: checking for CLI build
configure:6553: checking for embedded SAPI library support
configure:6756: checking for Zeus ISAPI support
configure:6986: checking for NSAPI support
configure:7327: checking for PHTTPD support
configure:7556: checking for Pi3Web support
configure:7885: checking for Roxen/Pike support
configure:8154: checking for Servlet support
configure:8672: checking for thttpd
configure:8898: checking for TUX
configure:9132: checking for webjames
configure:9553: checking for chosen SAPI module
configure:10458: checking for missing declarations of reentrant functions
configure:10467: gcc -c -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_REENTRANT
 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  confte
st.c 1>&5
configure:10492: gcc -c -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_REENTRANT
 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  confte
st.c 1>&5
configure:10517: gcc -c -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_REENTRANT
 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  confte
st.c 1>&5
configure:10542: gcc -c -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_REENTRANT
 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  confte
st.c 1>&5
configure:10567: gcc -c -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_REENTRANT
 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  confte
st.c 1>&5
configure:10591: checking for sendmail
configure:10632: checking whether system uses EBCDIC
configure:10724: checking for socket
configure:10752: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
configure:10981: checking for htonl
configure:11009: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
configure:11238: checking for gethostname
configure:11266: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
configure:11495: checking for gethostbyaddr
configure:11523: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
configure:11752: checking for yp_get_default_domain
configure:11780: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/ccSCZOzL.o(.text+0x9): In function `main'
:
: undefined reference to `yp_get_default_domain'
collect2: ld returned 1 exit status
configure: failed program was:
#line 11757 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char yp_get_default_domain(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char yp_get_default_domain();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_yp_get_default_domain) || defined (__stub___yp_get_default_d
omain)
choke me
#else
yp_get_default_domain();
#endif

; return 0; }
configure:11798: checking for __yp_get_default_domain
configure:11826: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/cc6ssUTX.o(.text+0x9): In function `main'
:
: undefined reference to `__yp_get_default_domain'
collect2: ld returned 1 exit status
configure: failed program was:
#line 11803 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __yp_get_default_domain(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __yp_get_default_domain();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___yp_get_default_domain) || defined (__stub_____yp_get_defau
lt_domain)
choke me
#else
__yp_get_default_domain();
#endif

; return 0; }
configure:11864: checking for yp_get_default_domain in -lnsl
configure:11883: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c -lnsl   -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
configure:12010: checking for dlopen
configure:12038: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
configure:12268: checking for sin in -lm
configure:12287: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c -lm   -lxmlparse -lxmltok 1>&5
configure:12280: warning: conflicting types for built-in function `sin'
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
configure:12321: checking for res_search
configure:12349: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/cc0cyWp3.o(.text+0x9): In function `main'
:
: undefined reference to `res_search'
collect2: ld returned 1 exit status
configure: failed program was:
#line 12326 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char res_search(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char res_search();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_res_search) || defined (__stub___res_search)
choke me
#else
res_search();
#endif

; return 0; }
configure:12367: checking for __res_search
configure:12395: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/ccOGWQGT.o(.text+0x9): In function `main'
:
: undefined reference to `__res_search'
collect2: ld returned 1 exit status
configure: failed program was:
#line 12372 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __res_search(); below.  *//* We use char
because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __res_search();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___res_search) || defined (__stub_____res_search)
choke me
#else
__res_search();
#endif

; return 0; }
configure:12433: checking for res_search in -lresolv
configure:12452: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c -lresolv  -lm  -lxmlparse -lxmltok 1>
&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
configure:12569: checking for res_search in -lbind
configure:12588: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c -lbind  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: c
annot find -lbind
collect2: ld returned 1 exit status
configure: failed program was:
#line 12577 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char res_search();

int main() {
res_search()
; return 0; }
configure:12608: checking for __res_search in -lbind
configure:12627: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c -lbind  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: c
annot find -lbind
collect2: ld returned 1 exit status
configure: failed program was:
#line 12616 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __res_search();

int main() {
__res_search()
; return 0; }
configure:12705: checking for res_search in -lsocket
configure:12724: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c -lsocket  -lm  -lxmlparse -lxmltok 1>
&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: c
annot find -lsocket
collect2: ld returned 1 exit status
configure: failed program was:
#line 12713 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char res_search();

int main() {
res_search()
; return 0; }
configure:12744: checking for __res_search in -lsocket
configure:12763: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c -lsocket  -lm  -lxmlparse -lxmltok 1>
&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: c
annot find -lsocket
collect2: ld returned 1 exit status
configure: failed program was:
#line 12752 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __res_search();

int main() {
__res_search()
; return 0; }
configure:12857: checking for inet_aton
configure:12885: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
configure:13253: checking for dn_skipname
configure:13281: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/cchtLXEk.o(.text+0x9): In function `main'
:
: undefined reference to `dn_skipname'
collect2: ld returned 1 exit status
configure: failed program was:
#line 13258 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char dn_skipname(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dn_skipname();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_dn_skipname) || defined (__stub___dn_skipname)
choke me
#else
dn_skipname();
#endif

; return 0; }
configure:13299: checking for __dn_skipname
configure:13327: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/ccEI8zin.o(.text+0x9): In function `main'
:
: undefined reference to `__dn_skipname'
collect2: ld returned 1 exit status
configure: failed program was:
#line 13304 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __dn_skipname(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __dn_skipname();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___dn_skipname) || defined (__stub_____dn_skipname)
choke me
#else
__dn_skipname();
#endif

; return 0; }
configure:13365: checking for dn_skipname in -lresolv
configure:13384: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c -lresolv  -lm  -lxmlparse -lxmltok 1>
&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/cc4caRVi.o(.text+0x9): In function `main'
:
: undefined reference to `dn_skipname'
collect2: ld returned 1 exit status
configure: failed program was:
#line 13373 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dn_skipname();

int main() {
dn_skipname()
; return 0; }
configure:13404: checking for __dn_skipname in -lresolv
configure:13423: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c -lresolv  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
configure:13501: checking for dn_skipname in -lbind
configure:13520: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c -lbind  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: c
annot find -lbind
collect2: ld returned 1 exit status
configure: failed program was:
#line 13509 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dn_skipname();

int main() {
dn_skipname()
; return 0; }
configure:13540: checking for __dn_skipname in -lbind
configure:13559: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c -lbind  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: c
annot find -lbind
collect2: ld returned 1 exit status
configure: failed program was:
#line 13548 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __dn_skipname();

int main() {
__dn_skipname()
; return 0; }
configure:13647: checking for ANSI C header files
configure:13660: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13755: checking for dirent.h that defines DIR
configure:13768: gcc -c -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_REENTRANT
 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  confte
st.c 1>&5
configure:13793: checking for opendir in -ldir
configure:13812: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c -ldir  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: c
annot find -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 13801 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char opendir();

int main() {
opendir()
; return 0; }
configure:13878: checking for fclose declaration
configure:13887: gcc -c -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_REENTRANT
 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  confte
st.c 1>&5
configure:13964: checking for inttypes.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for stdint.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for dirent.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for ApplicationServices/ApplicationServices.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13970:53: ApplicationServices/ApplicationServices.h: No such file or d
irectory
configure: failed program was:
#line 13969 "configure"
#include "confdefs.h"
#include <ApplicationServices/ApplicationServices.h>
configure:13964: checking for sys/param.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/types.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/time.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for netinet/in.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for alloca.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for arpa/inet.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for arpa/nameser.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for assert.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for crypt.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for fcntl.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for grp.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for ieeefp.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13970:20: ieeefp.h: No such file or directory
configure: failed program was:
#line 13969 "configure"
#include "confdefs.h"
#include <ieeefp.h>
configure:13964: checking for langinfo.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for limits.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for locale.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for monetary.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for mach-o/dyld.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13970:25: mach-o/dyld.h: No such file or directory
configure: failed program was:
#line 13969 "configure"
#include "confdefs.h"
#include <mach-o/dyld.h>
configure:13964: checking for netdb.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for pwd.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for resolv.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for signal.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for stdarg.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for stdlib.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for string.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for syslog.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sysexits.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/file.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/mman.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/mount.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/poll.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/resource.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/select.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/socket.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/statfs.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/statvfs.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/vfs.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/sysexits.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13970:26: sys/sysexits.h: No such file or directory
configure: failed program was:
#line 13969 "configure"
#include "confdefs.h"
#include <sys/sysexits.h>
configure:13964: checking for sys/varargs.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13970:25: sys/varargs.h: No such file or directory
configure: failed program was:
#line 13969 "configure"
#include "confdefs.h"
#include <sys/varargs.h>
configure:13964: checking for sys/wait.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for unistd.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for unix.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13970:18: unix.h: No such file or directory
configure: failed program was:
#line 13969 "configure"
#include "confdefs.h"
#include <unix.h>
configure:13964: checking for utime.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/utsname.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for sys/ipc.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:13964: checking for dlfcn.h
configure:13974: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:14003: checking for fopencookie
configure:14031: gcc -o conftest -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_
REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthrea
d   -L/usr/X11R6/lib -L/usr/lib conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.6/../../../../i586-pc-linux-gnu/bin/ld: w
arning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found
 (try using -rpath or -rpath-link)
configure:14062: gcc -c -O2 -mcpu=k6 -fomit-frame-pointer -DLINUX=2 -D_REENTRANT
 -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  confte
st.c 1>&5
configure:14054:1: warning: "_GNU_SOURCE" redefined
<command line>:10:1: warning: this is the location of the previous definition

#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
Comment 1 Steve Egbert 2005-10-29 08:22:07 UTC
It is probably related to my platform being AMD K5 (which is x86-related),
probably due to recent AMD 64 patches.


Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-10-29 11:00:33 UTC
> warning: libmysqlclient.so.12, needed by /usr/X11R6/lib/libxmlparse.so, not found

Please, search...

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