mysql-3.22.16a-gamma
hi,
I'm trying to compile mysql-3.22.16a-gamma but when I run script ./configure
I obtain:
*************************************
checking whether struct tm is in sys/time.h or time.h... time.h checking size of char... 0
configure: error: No size for char type.
A likely cause for this could be that there isn't any
static libraries installed. You can verify this by checking if you have libm.a
in /lib, /usr/lib or some other standard place. If this is the problem, install the static libraries and try again. If this isn't the problem, examine config.log for possible errors. If you want to report this, use 'scripts/mysqlbug' and include at least the last 20 rows from config.log!
****************************************
of course libm.a is in /usr/lib :-(
and in config.log is:
**********************************************
configure:4187: checking for size_t
configure:4220: checking for st_rdev in struct stat
configure:4233: gcc -c -O6 -DDBUG_OFF conftest.c 1>&5
configure:4254: checking whether time.h and sys/time.h may both be included
configure:4268: gcc -c -O6 -DDBUG_OFF conftest.c 1>&5
configure:4289: checking whether struct tm is in sys/time.h or time.h
configure:4302: gcc -c -O6 -DDBUG_OFF conftest.c 1>&5
configure:4325: checking size of char
configure:4344: gcc -o conftest -O6 -DDBUG_OFF -rdynamic conftest.c
-lnsl -lm -lcrypt -lpthread 1>&5/usr/lib/libpthread.so: undefined reference to __libc_accept' /usr/lib/libpthread.so: undefined reference to __libc_send' /usr/lib/libpthread.so: undefined reference to __libc_recvfrom' /usr/lib/libpthread.so: undefined reference to __libc_recvmsg' /usr/lib/libpthread.so: undefined reference to __libc_sendmsg' /usr/lib/libpthread.so: undefined reference to __libc_recv' /usr/lib/libpthread.so: undefined reference to __libc_sendto' /usr/lib/libpthread.so: undefined reference to __libc_connect'
configure: failed program was:
#line 4333 "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);
}
**************************************************
could you help me.
thanks
radim
**************************************************************
Radim Uchac e-mail: [email protected] PVT a.s. tel: +420-2-66198409 Podvinny mlyn 6, Praha 9 fax: +420-2-66198622
Czech Republic
**************************************************************
Quoted 3 lines · Radim Uchac
I'm trying to compile mysql-3.22.16a-gamma but when I run script ./configure
I obtain:
[...]
Quoted 10 lines
configure:4344: gcc -o conftest -O6 -DDBUG_OFF -rdynamic
conftest.c
-lnsl -lm -lcrypt -lpthread 1>&5/usr/lib/libpthread.so: undefined reference to__libc_accept' /usr/lib/libpthread.so: undefined reference to__libc_send'/usr/lib/libpthread.so: undefined reference to__libc_recvfrom' /usr/lib/libpthread.so: undefined reference to__libc_recvmsg'/usr/lib/libpthread.so: undefined reference to__libc_sendmsg' /usr/lib/libpthread.so: undefined reference to__libc_recv'/usr/lib/libpthread.so: undefined reference to__libc_sendto' /usr/lib/libpthread.so: undefined reference to__libc_connect'
This bug is fixed in more recent libc versions as you have installed.
Ralf