This has been discussed to death, 

DO NOT RUN GCC 2.96 TO COMPILE MySQL IT IS FAR TO BUGGY

Please check the mailing list archives _BEFORE_ posting




Lyman Neuschaefer wrote:
> 
> Greetings,
> 
> The configure process fails on attempting to compile and link the executable
> 
> conftest. Below is some of the output generated by configdebug.
> 
> Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
> 
> GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
> 
> gcc version 2.96 20000731 (Red Hat Linux 7.0)
> 
> Compilation info: CC='gcc' CFLAGS='' CXX='gcc' CXXFLAGS='' LDFLAGS=''
> 
> LIBC:
> 
> lrwxrwxrwx 1 root root 11 Jan 13 06:01 /lib/libc.so.6 -> libc-2.2.so
> 
> -rwxr-xr-x 1 root root 4825002 Nov 19 07:53 /lib/libc-2.2.so
> 
> -rw-r--r-- 1 root root 22806158 Nov 19 07:22 /usr/lib/libc.a
> 
> -rw-r--r-- 1 root root 178 Nov 19 07:22 /usr/lib/libc.so
> 
> Configure command: ./configure --with-unix-socket-path=/var/tmp/mysql.sock 
>--with-low-memory --with-mit-threads=yes --without-perl --enable-thread-safe-client 
>--without-berkeley-db
> 
> The following is the last 20 lines from config.log:
> 
> int main() {
> 
> } __inline foo() {
> 
> ; return 0; }
> 
> configure:6306: checking for off_t
> 
> configure:6339: checking for st_rdev in struct stat
> 
> configure:6352: g++ -c -O6 -DDBUG_OFF -g2 -DLINUX -DINVENTOR conftest.c 1>&5
> 
> configure:6373: checking whether time.h and sys/time.h may both be included
> 
> configure:6387: g++ -c -O6 -DDBUG_OFF -g2 -DLINUX -DINVENTOR conftest.c 1>&5
> 
> configure:6408: checking whether struct tm is in sys/time.h or time.h
> 
> configure:6421: g++ -c -O6 -DDBUG_OFF -g2 -DLINUX -DINVENTOR conftest.c 1>&5
> 
> configure:6444: checking size of char
> 
> configure:6463: g++ -o conftest -O6 -DDBUG_OFF -g2 -DLINUX -DINVENTOR 
>-L/usr/local/LessTif/Motif2.0/lib -L/usr/X11R6/lib -rdynamic conftest.c -lInventorXt 
>-lInventor -lXm -lXt -lSM -lICE -lX11 -lm -lpthread 1>&5
> 
> configure: In function `int main ()':
> 
> configure:6457: `exit' undeclared (first use this function)
> 
> configure:6457: (Each undeclared identifier is reported only once for
> 
> each function it appears in.)
> 
> configure: failed program was:
> 
> #line 6452 "configure"
> 
> #include "confdefs.h"
> 
> #include <stdio.h>
> 
> main()
> 
> {
> 
> FILE *f=fopen("conftestval", "w");
> 
> if (!f) exit(1);
> 
> fprintf(f, "%d\n", sizeof(char));
> 
> exit(0);
> 
> }
> 
> Thanks with whatever help you can provide.
> 
> Regards,
> 
> Lyman Neuschaefer
> 
> [EMAIL PROTECTED]

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to