Hi all -

First post to this list, so please forgive if this isn't appropriate.

I'm trying to port my primary web/mail server from an old dual-P3 to a new AMD-64 3000. The effort is going well, up until my mod_php emerge. That is dying with a "C compiler cannot create executables" error. My config.log is attached. Here is my /etc/make.conf:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-march=athlon64 -o2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-gtk -gnome -kde -alsa -X apache2 -cups dvd dvdr -ssl clearpasswd mysql imap"

Any suggestions most welcome, including better make.conf CFLAGS.

Kevin
From:
[EMAIL PROTECTED] (root)
Date:
Sat, 22 Oct 2005 12:47:45 -0500 (CDT)
To:
[EMAIL PROTECTED]

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 -march=athlon64 -pipe 
-DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE 
-D_GNU_SOURCE -pthread  -ltiff -L/usr/lib64) works
configure:1885: gcc -o conftest -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
configure:1911: checking whether the C compiler (gcc -march=athlon64 -pipe 
-DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE 
-D_GNU_SOURCE -pthread  -ltiff -L/usr/lib64) 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 -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -R /usr/lib  -lxmlparse -lxmltok 1>&5
gcc: unrecognized option `-R'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-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 -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -Wl,-rpath,/usr/lib  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/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 -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -lfl   -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/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 -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c  -lxmlparse -lxmltok -lfl 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
configure:2483: checking for working const
configure:2537: gcc -c -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
conftest.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 
APXS
configure:5340: checking for Apache 2.0 handler-module support via DSO through 
APXS
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 -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
conftest.c 1>&5
configure:10492: gcc -c -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
conftest.c 1>&5
configure:10517: gcc -c -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
conftest.c 1>&5
configure:10542: gcc -c -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
conftest.c 1>&5
configure:10567: gcc -c -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
conftest.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 -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
configure:10981: checking for htonl
configure:11009: gcc -o conftest -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
configure:11238: checking for gethostname
configure:11266: gcc -o conftest -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
configure:11495: checking for gethostbyaddr
configure:11523: gcc -o conftest -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
configure:11752: checking for yp_get_default_domain
configure:11780: gcc -o conftest -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/cckIpbky.o(.text+0xa): 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_domain)
choke me
#else
yp_get_default_domain();
#endif

; return 0; }
configure:11798: checking for __yp_get_default_domain
configure:11826: gcc -o conftest -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/cc1L9itG.o(.text+0xa): 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_default_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 -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -lnsl   -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
configure:12010: checking for dlopen
configure:12038: gcc -o conftest -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
configure:12268: checking for sin in -lm
configure:12287: gcc -o conftest -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -lm   -lxmlparse -lxmltok 1>&5
configure:12280: warning: conflicting types for built-in function 'sin'
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
configure:12321: checking for res_search
configure:12349: gcc -o conftest -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/ccuwQCD2.o(.text+0xa): 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 -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/ccXiNNRa.o(.text+0xa): 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.  */
#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:12433: checking for res_search in -lresolv
configure:12452: gcc -o conftest -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -lresolv  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/ccLUjDIe.o(.text+0xa): In function 
`main':
: undefined reference to `res_search'
collect2: ld returned 1 exit status
configure: failed program was:
#line 12441 "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:12472: checking for __res_search in -lresolv
configure:12491: gcc -o conftest -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -lresolv  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
configure:12569: checking for res_search in -lbind
configure:12588: gcc -o conftest -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -lbind  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot 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 -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -lbind  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot 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 -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -lsocket  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot 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 -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -lsocket  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot 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 -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
configure:13253: checking for dn_skipname
configure:13281: gcc -o conftest -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/ccfNT0aE.o(.text+0xa): 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 -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/ccyv8aGH.o(.text+0xa): 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 -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -lresolv  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
/var/tmp/portage/mod_php-4.4.0-r3/temp/cc2QxsaQ.o(.text+0xa): 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 -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -lresolv  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
configure:13501: checking for dn_skipname in -lbind
configure:13520: gcc -o conftest -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -lbind  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot 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 -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -lbind  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot 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 -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
conftest.c 1>&5
configure:13793: checking for opendir in -ldir
configure:13812: gcc -o conftest -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -ldir  -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
cannot 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 -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
conftest.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 
directory
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 -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread   
-ltiff -L/usr/lib64 conftest.c -lm  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
warning: libmysqlclient.so.12, needed by /usr/lib64/libxmlparse.so, not found 
(try using -rpath or -rpath-link)
configure:14062: gcc -c -march=athlon64 -pipe -DLINUX=2 -D_REENTRANT 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread  
conftest.c 1>&5
configure:14054:1: warning: "_GNU_SOURCE" redefined
<command line>:7:1: warning: this is the location of the previous definition

Reply via email to