linux-mips
[Top] [All Lists]

mysql-3.22.16a-gamma

To: linux@cthulhu.engr.sgi.com
Subject: mysql-3.22.16a-gamma
From: Radim Uchac <uchac@pvt.net>
Date: Wed, 10 Feb 1999 09:06:11 +0100
Organization: http://www.pvt.net
Sender: owner-linux@cthulhu.engr.sgi.com
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:    uchac@pvt.net
PVT a.s.                              tel:     +420-2-66198409
Podvinny mlyn 6, Praha 9              fax:     +420-2-66198622
Czech Republic
**************************************************************

<Prev in Thread] Current Thread [Next in Thread>