Making all in libmysql
make[2]: Entering directory `/usr/local/src/mysql-4.0.27/libmysql'
if /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=compile gcc -DDEFAULT_CHARSET_HOME="\"/usr/local/mysql\"" -DDATADIR="\"/dbs/data\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DUNDEF_THREADS_HACK -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -MT libmysql.lo -MD -MP -MF ".deps/libmysql.Tpo" -c -o libmysql.lo libmysql.c; \
then mv -f ".deps/libmysql.Tpo" ".deps/libmysql.Plo"; else rm -f ".deps/libmysql.Tpo"; exit 1; fi
mkdir .libs
gcc -DDEFAULT_CHARSET_HOME=\"/usr/local/mysql\" -DDATADIR=\"/dbs/data\" -DSHAREDIR=\"/usr/local/mysql/share/mysql\" -DUNDEF_THREADS_HACK -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -MT libmysql.lo -MD -MP -MF .deps/libmysql.Tpo -c libmysql.c -fPIC -DPIC -o .libs/libmysql.o
libmysql.c: In function 'mysql_real_connect':
libmysql.c:1862: warning: passing argument 5 of 'gethostbyname_r' from incompatible pointer type
libmysql.c:1862: error: too few arguments to function 'gethostbyname_r'
make[2]: *** [libmysql.lo] Error 1
make[2]: Leaving directory `/usr/local/src/mysql-4.0.27/libmysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mysql-4.0.27'
make: *** [all] Error 2
make[2]: Entering directory `/usr/local/src/mysql-4.0.27/libmysql'
if /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=compile gcc -DDEFAULT_CHARSET_HOME="\"/usr/local/mysql\"" -DDATADIR="\"/dbs/data\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DUNDEF_THREADS_HACK -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -MT libmysql.lo -MD -MP -MF ".deps/libmysql.Tpo" -c -o libmysql.lo libmysql.c; \
then mv -f ".deps/libmysql.Tpo" ".deps/libmysql.Plo"; else rm -f ".deps/libmysql.Tpo"; exit 1; fi
mkdir .libs
gcc -DDEFAULT_CHARSET_HOME=\"/usr/local/mysql\" -DDATADIR=\"/dbs/data\" -DSHAREDIR=\"/usr/local/mysql/share/mysql\" -DUNDEF_THREADS_HACK -DDONT_USE_RAID -DMYSQL_CLIENT -I. -I. -I.. -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -MT libmysql.lo -MD -MP -MF .deps/libmysql.Tpo -c libmysql.c -fPIC -DPIC -o .libs/libmysql.o
libmysql.c: In function 'mysql_real_connect':
libmysql.c:1862: warning: passing argument 5 of 'gethostbyname_r' from incompatible pointer type
libmysql.c:1862: error: too few arguments to function 'gethostbyname_r'
make[2]: *** [libmysql.lo] Error 1
make[2]: Leaving directory `/usr/local/src/mysql-4.0.27/libmysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mysql-4.0.27'
make: *** [all] Error 2
要不我分段贴下好了
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/local/mysql --localstatedir=/dbs/data --enable-assembler --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --with-extra-charsets=complex --enable-thread-safe-client --enable-local-infile --disable-shared --with-pthread --with-named-thread-lib=-lpthread --with-charset=latin1## --------- ##
## Platform. ##
## --------- ##hostname = linuxas5136130
uname -m = x86_64
uname -r = 2.6.18-92.el5
uname -s = Linux
uname -v = #1 SMP Tue Apr 29 13:16:15 EDT 2008/usr/bin/uname -p = unknown
/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 = unknownPATH: /usr/lib64/qt-3.3/bin
PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin
## ----------- ##
## Core tests. ##
## ----------- ##configure:1626: checking build system type
configure:1644: result: x86_64-unknown-linux-gnu
configure:1652: checking host system type
configure:1666: result: x86_64-unknown-linux-gnu
configure:1674: checking target system type
configure:1688: result: x86_64-unknown-linux-gnu
configure:1717: checking for a BSD-compatible install
configure:1772: result: /usr/bin/install -c
configure:1783: checking whether build environment is sane
configure:1801: result: yes
configure:1866: checking for gawk
configure:1882: found /bin/gawk
configure:1892: result: gawk
configure:1902: checking whether make sets $(MAKE)
configure:1922: result: yes
configure:2194: checking whether to enable maintainer-specific portions of Makefiles
configure:2203: result: no
configure:2219: checking whether build environment is sane
configure:2237: result: yes
configure:2240: checking whether make sets $(MAKE)
configure:2260: result: yes
configure:2313: checking for gawk
configure:2339: result: gawk
configure:2395: checking for gcc
configure:2411: found /usr/bin/gcc
configure:2421: result: gcc
configure:2665: checking for C compiler version
configure:2668: gcc --version </dev/null >&5
gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
Copyright (C) 2006 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:2671: $? = 0
configure:2673: gcc -v </dev/null >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
configure:2676: $? = 0
configure:2678: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2681: $? = 1
configure:2704: checking for C compiler default output file name
configure:2707: gcc conftest.c >&5
configure:2710: $? = 0
configure:2756: result: a.out
configure:2761: checking whether the C compiler works
configure:2767: ./a.out
configure:2770: $? = 0
configure:2787: result: yes
configure:2794: checking whether we are cross compiling
configure:2796: result: no
configure:2799: checking for suffix of executables
configure:2801: gcc -o conftest conftest.c >&5
configure:2804: $? = 0
configure:2829: result:
configure:2835: checking for suffix of object files
configure:2856: gcc -c conftest.c >&5
configure:2859: $? = 0
configure:2881: result: o
configure:2885: checking whether we are using the GNU C compiler
configure:2909: gcc -c conftest.c >&5
configure:2915: $? = 0
configure:2919: test -z
|| test ! -s conftest.err
configure:2922: $? = 0
configure:2925: test -s conftest.o
configure:2928: $? = 0
configure:2941: result: yes
configure:2947: checking whether gcc accepts -g
configure:2968: gcc -c -g conftest.c >&5
configure:2974: $? = 0
configure:2978: test -z
|| test ! -s conftest.err
configure:2981: $? = 0
configure:2984: test -s conftest.o
configure:2987: $? = 0
configure:2998: result: yes
configure:3015: checking for gcc option to accept ANSI C
configure:3085: gcc -c conftest.c >&5
configure:3091: $? = 0
configure:3095: test -z
|| test ! -s conftest.err
configure:3098: $? = 0
configure:3101: test -s conftest.o
configure:3104: $? = 0
configure:3122: result: none needed
configure:3140: gcc -c conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:3146: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3291: checking for style of include used by make
configure:3319: result: GNU
configure:3347: checking dependency style of gcc
configure:3437: result: gcc3
configure:3506: checking for g++
configure:3522: found /usr/bin/g++
configure:3532: result: g++
configure:3548: checking for C++ compiler version
configure:3551: g++ --version </dev/null >&5
g++ (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
Copyright (C) 2006 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:3554: $? = 0
configure:3556: g++ -v </dev/null >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)
configure:3559: $? = 0
configure:3561: g++ -V </dev/null >&5
g++: '-V' option must have argument
configure:3564: $? = 1
configure:3567: checking whether we are using the GNU C++ compiler
configure:3591: g++ -c conftest.cc >&5
configure:3597: $? = 0
configure:3601: test -z
|| test ! -s conftest.err
configure:3604: $? = 0
configure:3607: test -s conftest.o
configure:3610: $? = 0
configure:3623: result: yes
configure:3629: checking whether g++ accepts -g
configure:3650: g++ -c -g conftest.cc >&5
configure:3656: $? = 0
configure:3660: test -z
|| test ! -s conftest.err
configure:3669: $? = 0
configure:3680: result: yes
configure:3723: g++ -c conftest.cc >&5
configure:3729: $? = 0
configure:3733: test -z
|| test ! -s conftest.err
configure:3736: $? = 0
configure:3739: test -s conftest.o
configure:3742: $? = 0
configure:3768: g++ -c conftest.cc >&5
conftest.cc: In function 'int main()':
conftest.cc:19: error: 'exit' was not declared in this scope
configure:3774: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.0.27"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define SYSTEM_TYPE "unknown-linux-gnu"
| #define MACHINE_TYPE "x86_64"
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:3723: g++ -c conftest.cc >&5
configure:3729: $? = 0
configure:3733: test -z
|| test ! -s conftest.err
configure:3736: $? = 0
configure:3739: test -s conftest.o
configure:3742: $? = 0
configure:3768: g++ -c conftest.cc >&5
configure:3774: $? = 0
configure:3778: test -z
|| test ! -s conftest.err
configure:3781: $? = 0
configure:3784: test -s conftest.o
configure:3787: $? = 0
configure:3812: checking dependency style of g++
configure:3902: result: gcc3
configure:3924: checking how to run the C preprocessor
configure:3959: gcc -E conftest.c
configure:3965: $? = 0
configure:3997: gcc -E conftest.c
conftest.c:18:28: error: ac_nonexistent.h: No such file or directory
configure:4003: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.0.27"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define SYSTEM_TYPE "unknown-linux-gnu"
| #define MACHINE_TYPE "x86_64"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4042: result: gcc -E
configure:4066: gcc -E conftest.c
configure:4072: $? = 0
configure:4104: gcc -E conftest.c
conftest.c:18:28: error: ac_nonexistent.h: No such file or directory
configure:4110: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "mysql"
| #define VERSION "4.0.27"
| #define PROTOCOL_VERSION 10
| #define DOT_FRM_VERSION 6
| #define SYSTEM_TYPE "unknown-linux-gnu"
| #define MACHINE_TYPE "x86_64"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4165: checking "C Compiler version"
configure:4167: result: "gcc gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)"
configure:4182: checking "C++ compiler version"
configure:4184: result: "g++ g++ (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)"
configure:4290: checking for ranlib
configure:4306: found /usr/bin/ranlib
configure:4317: result: ranlib
configure:4403: checking for a sed that does not truncate output
configure:4457: result: /bin/sed
configure:4460: checking for egrep
configure:4470: result: grep -E
configure:4486: checking for ld used by gcc
configure:4553: result: /usr/bin/ld
configure:4562: checking if the linker (/usr/bin/ld) is GNU ld
configure:4577: result: yes
configure:4582: checking for /usr/bin/ld option to reload object files
configure:4589: result: -r
configure:4607: checking for BSD-compatible nm
configure:4656: result: /usr/bin/nm -B
configure:4660: checking whether ln -s works
configure:4664: result: yes
configure:4671: checking how to recognise dependent libraries
configure:4847: result: pass_all
configure:4935: gcc -c conftest.c >&5
configure:4938: $? = 0
configure:5080: checking for ANSI C header files
configure:5105: gcc -c conftest.c >&5
configure:5111: $? = 0
configure:5115: test -z
|| test ! -s conftest.err
configure:5118: $? = 0
configure:5121: test -s conftest.o
configure:5124: $? = 0
configure:5213: gcc -o conftest conftest.c >&5
conftest.c: In function 'main':
conftest.c:35: warning: incompatible implicit declaration of built-in function 'exit'
configure:5216: $? = 0
configure:5218: ./conftest
configure:5221: $? = 0
configure:5236: result: yes
configure:5260: checking for sys/types.h
configure:5276: gcc -c conftest.c >&5
configure:5282: $? = 0
configure:5286: test -z
|| test ! -s conftest.err
configure:5289: $? = 0
configure:5292: test -s conftest.o
configure:5295: $? = 0
configure:5306: result: yes
configure:5260: checking for sys/stat.h
configure:5276: gcc -c conftest.c >&5
configure:5282: $? = 0
configure:5286: test -z
|| test ! -s conftest.err
configure:5289: $? = 0
configure:5292: test -s conftest.o
configure:5295: $? = 0
configure:5306: result: yes
configure:5260: checking for stdlib.h
configure:5276: gcc -c conftest.c >&5
configure:5282: $? = 0
configure:5286: test -z
|| test ! -s conftest.err
configure:5289: $? = 0
configure:5292: test -s conftest.o
configure:5295: $? = 0
configure:5306: result: yes
configure:5260: checking for string.h
configure:5276: gcc -c conftest.c >&5
configure:5282: $? = 0
configure:5286: test -z
|| test ! -s conftest.err
configure:5289: $? = 0
configure:5292: test -s conftest.o
configure:5295: $? = 0
configure:5306: result: yes
configure:5260: checking for memory.h
configure:5276: gcc -c conftest.c >&5
configure:5282: $? = 0
configure:5286: test -z
|| test ! -s conftest.err
configure:5289: $? = 0
configure:5292: test -s conftest.o
configure:5295: $? = 0
configure:5306: result: yes
configure:5260: checking for strings.h
configure:5276: gcc -c conftest.c >&5
configure:5282: $? = 0
configure:5286: test -z
|| test ! -s conftest.err
configure:5289: $? = 0
configure:5292: test -s conftest.o
configure:5295: $? = 0
configure:5306: result: yes
configure:5260: checking for inttypes.h
configure:5276: gcc -c conftest.c >&5
configure:5282: $? = 0
configure:5286: test -z
|| test ! -s conftest.err
configure:5289: $? = 0
configure:5292: test -s conftest.o
configure:5295: $? = 0
configure:5306: result: yes
configure:5260: checking for stdint.h
configure:5276: gcc -c conftest.c >&5
configure:5282: $? = 0
configure:5286: test -z
|| test ! -s conftest.err
configure:5289: $? = 0
configure:5292: test -s conftest.o
configure:5295: $? = 0
configure:5306: result: yes
configure:5260: checking for unistd.h
configure:5276: gcc -c conftest.c >&5
configure:5282: $? = 0
configure:5286: test -z
Looking for ugg boots? you can buy ugg boot online. Many choices, like ugg cardy, ugg classic cardy,ugg classic tall,ugg classic cardy boots, etc. You can certainly find your ideal one there. The ugg boots online mall wins many customs for its unique ugg boots uk and cardy ugg bootsYou can also find cheap ugg cardy boots there.Provide the authentic links of london jewelry, including links of london sweetie bracelet, links of london charms, Necklaces, Chains, Rings, Earrings at the lowest prices possible.Hello, I purchased a foreclosed home early 2009 and I recently have noticed a very strange odor from my sewage pump or sewage lineBuy and sell Screen Printing Machine from credible manufacturers and suppliers,If you are wondering if a biometric fingerprint door lock is worth the price, you may be surprised at how affordable they are becoming.
hi .come here ugg boots is very good .cheap ugg boots is u best choose, u will fined ugg classic tall and ugg classic short,UGG classic mini,UGG classic leopard
ugg boot ,UGG NEW all at my site.ugg women boots,ugg winter boot all ugg boots on sale
come on UGG DISCOUNT, ugg boots sale,we like UGG CLASSI BOOTS,UGG ON SALE