* mysql-3.22.16a-gamma
@ 1999-02-10 8:06 Radim Uchac
1999-02-10 11:17 ` mysql-3.22.16a-gamma ralf
0 siblings, 1 reply; 3+ messages in thread
From: Radim Uchac @ 1999-02-10 8:06 UTC (permalink / raw)
To: linux
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
**************************************************************
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mysql-3.22.16a-gamma
1999-02-10 8:06 mysql-3.22.16a-gamma Radim Uchac
@ 1999-02-10 11:17 ` ralf
0 siblings, 0 replies; 3+ messages in thread
From: ralf @ 1999-02-10 11:17 UTC (permalink / raw)
To: Radim Uchac, linux
On Wed, Feb 10, 1999 at 09:06:11AM +0100, Radim Uchac wrote:
> I'm trying to compile mysql-3.22.16a-gamma but when I run script
> ./configure
> I obtain:
[...]
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: mysql-3.22.16a-gamma
[not found] <199902101948.LAA73975@oz.engr.sgi.com>
@ 1999-02-15 15:06 ` Radim Uchac
0 siblings, 0 replies; 3+ messages in thread
From: Radim Uchac @ 1999-02-15 15:06 UTC (permalink / raw)
To: Ariel Faigon; +Cc: linux
Ariel Faigon wrote:
>
> What version of gcc are you using?
>
> gcc 2.8.x and later doesn't support o32 (i.e. need linking
> with libs in /usr/lib32/...)
>
> gcc 2.7.x support only o32 (need linking with /usr/lib/...)
>
> Also:
> _never_ build on IRIX with '-lnsl'
>
> See:
> http://freeware.sgi.com/
> (Click on "Hints for building your own freeware")
>
> All these are bugs in GNU autoconf as described in the above page.
hi
now is everything ok, but when I try to run mysqld I receive
"Can't create interrupt-thread (error 11, errno: -1)"
do you have some idea?
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
**************************************************************
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-02-15 15:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-10 8:06 mysql-3.22.16a-gamma Radim Uchac
1999-02-10 11:17 ` mysql-3.22.16a-gamma ralf
[not found] <199902101948.LAA73975@oz.engr.sgi.com>
1999-02-15 15:06 ` mysql-3.22.16a-gamma Radim Uchac
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.