List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:September 8 1999 4:41pm
Subject:Re: sparc linux, rh6.0
View as plain text  
>>>>> "Jeff" == Jeff Garvas <jeff@stripped> writes:

Jeff> This might shed some light.  Any ideas?

Jeff> -jeff

Jeff> -snip-  (config.log)

Jeff> configure:4749: checking need of special linking flags
Jeff> configure:4759: checking for working const
Jeff> configure:4813: gcc -c -O6   -DDBUG_OFF  conftest.c 1>&5
Jeff> configure:4834: checking for inline
Jeff> configure:4848: gcc -c -O6   -DDBUG_OFF  conftest.c 1>&5
Jeff> configure:4874: checking for off_t
Jeff> configure:4907: checking for size_t
Jeff> configure:4940: checking for st_rdev in struct stat
Jeff> configure:4953: gcc -c -O6   -DDBUG_OFF  conftest.c 1>&5
Jeff> configure:4974: checking whether time.h and sys/time.h may both be
Jeff> included
Jeff> configure:4988: gcc -c -O6   -DDBUG_OFF  conftest.c 1>&5
Jeff> configure:5009: checking whether struct tm is in sys/time.h or time.h
Jeff> configure:5022: gcc -c -O6   -DDBUG_OFF  conftest.c 1>&5
Jeff> configure:5045: checking size of char
Jeff> configure:5064: gcc -o conftest -O6   -DDBUG_OFF   -rdynamic conftest.c
Jeff> -lnsl -l
Jeff> m   -lcrypt  -lpthread 1>&5
Jeff> /usr/lib/libpthread.so: undefined reference to `__libc_rewinddir'
Jeff> /usr/lib/libpthread.so: undefined reference to `__libc_readdir_r'
Jeff> /usr/lib/libpthread.so: undefined reference to `__sigjmp_save'
Jeff> /usr/lib/libpthread.so: undefined reference to `__setjmp'
Jeff> /usr/lib/libpthread.so: undefined reference to `__libc_opendir'
Jeff> /usr/lib/libpthread.so: undefined reference to `__nanosleep'
Jeff> /usr/lib/libpthread.so: undefined reference to `__libc_seekdir'
Jeff> /usr/lib/libpthread.so: undefined reference to `__libc_readdir'
Jeff> /usr/lib/libpthread.so: undefined reference to `_IO_getdelim'
Jeff> /usr/lib/libpthread.so: undefined reference to `__libc_telldir'
Jeff> /usr/lib/libpthread.so: undefined reference to `_IO_perror'
Jeff> collect2: ld returned 1 exit status
Jeff> configure: failed program was:
Jeff> #line 5053 "configure"
Jeff> #include "confdefs.h"
Jeff> #include <stdio.h>
Jeff> main()
Jeff> {
Jeff>   FILE *f=fopen("conftestval", "w");
Jeff>   if (!f) exit(1);
Jeff>   fprintf(f, "%d\n", sizeof(char));
Jeff>   exit(0);
Jeff> }

This looks like your linuxthread library is not from the same
distribution as your libc ?

Have you installed linuxthreads on a system with glibc 2.1 ?
You should use the linuxthread that comes with glibc !

In other words:

(/usr/local/mysql) rpm -q -f /usr/lib/libpthread.a
glibc-devel-2.0.7-29

What do you get for output from the above command?

Regards,
Monty
Thread
sparc linux, rh6.0Jeff Garvas7 Sep
Re: sparc linux, rh6.0Jeff Garvas8 Sep
  • Re: sparc linux, rh6.0Michael Widenius8 Sep
    • Re: sparc linux, rh6.0Jeff Garvas8 Sep
      • Re: sparc linux, rh6.0Michael Widenius8 Sep
        • Re: sparc linux, rh6.0Jeff Garvas8 Sep
      • Re: sparc linux, rh6.0sinisa9 Sep
Re: sparc linux, rh6.0Jeff Garvas8 Sep