Linux MIPS Architecture development
 help / color / mirror / Atom feed
* glibc problem
@ 1998-04-22 21:19 Dong Liu
  1998-04-22 21:13 ` Alex deVries
  1998-04-23  3:04 ` ralf
  0 siblings, 2 replies; 18+ messages in thread
From: Dong Liu @ 1998-04-22 21:19 UTC (permalink / raw)
  To: linux

Hi,

I want to try some pthread program on sgi-linux, this is what I got

/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'

my glibc is glibc-2.0.6-1, so I went ftp.redhat.com downloaded
glibc-2.0.7, but I can't build it. Where can I found sgi-linux
specific patches for glibc.

Dong.

^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: glibc problem
@ 1998-04-22 23:24 Dong Liu
  0 siblings, 0 replies; 18+ messages in thread
From: Dong Liu @ 1998-04-22 23:24 UTC (permalink / raw)
  To: linux

This what I found out:

The library verion from the root filesystem on ftp.linux.sgi.com

libc 2.0.4  libpthread  0.6

The version og glibc RPM from redhat 4.9.1

libc 2.0.6 libpthread 0.7

If I use libc-2.0.6 and libpthread-0.7, ld complains some missing
symbols, if I use libc-2.0.6 and libpthread-0.6, I get Segmentation
Fault:=(.

Dong.

BTW, is there a X server for sgi-linux?

^ permalink raw reply	[flat|nested] 18+ messages in thread
* Glibc Problem
@ 2000-10-25 15:06 Ian Chilton
  2000-10-25 15:45 ` Keith M Wesolowski
  2000-10-25 15:54 ` Andreas Jaeger
  0 siblings, 2 replies; 18+ messages in thread
From: Ian Chilton @ 2000-10-25 15:06 UTC (permalink / raw)
  To: linux-mips

Hello,

I am having this problem cross-compiling todays CVS glibc:

../sysdeps/generic/dl-cache.c: In function `_dl_load_cache_lookup':
../sysdeps/generic/dl-cache.c:177: warning: large integer implicitly truncated to unsigned type
../sysdeps/generic/dl-cache.c:181: `CACHEMAGIC_VERSION_NEW' undeclared (first use in this function)
../sysdeps/generic/dl-cache.c:181: (Each undeclared identifier is reported only once
../sysdeps/generic/dl-cache.c:181: for each function it appears in.)
make[2]: *** [/crossdev-build/mips-linux/glibc-001025-obj/elf/dl-cache.o] Error 1
make[2]: Leaving directory `/crossdev-build/src/glibc-001025/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/crossdev-build/src/glibc-001025'
make: *** [all] Error 2


It worked the other day  :-)
 

Bye for Now,

Ian


                     \|||/ 
                     (o o)
 /----------------ooO-(_)-Ooo----------------\
 |  Ian Chilton                              |
 |  E-Mail : ian@ichilton.co.uk              |
 \-------------------------------------------/

^ permalink raw reply	[flat|nested] 18+ messages in thread
* glibc problem
@ 2001-07-26  9:09 Andre.Messerschmidt
  2001-07-26 13:46 ` Ralf Baechle
  0 siblings, 1 reply; 18+ messages in thread
From: Andre.Messerschmidt @ 2001-07-26  9:09 UTC (permalink / raw)
  To: linux-mips

Hi.

During compilation of glibc 2.2.3  I get the following error:
Can not represent BFD_RELOC_16_PCREL_S2 relocation in this object file
format

Someone in the archives meant that -D__PIC__ should be included to the
CFLAGS to resolve this problem, but it seams that I am too dumb to do this. 
I tried several locations to set the variable in the Makefiles and used the
configparms file to set it, but nothing worked. Then I tried to define it in
the file where the error occured, just to realize that there are more
locations where this define is needed, so I reckon it would be the best to
define it from the beginning.
Can anybody tell me how to get it right? 

best regards
--
Andre Messerschmidt

Application Engineer
Infineon Technologies AG

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2001-07-26 13:47 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-22 21:19 glibc problem Dong Liu
1998-04-22 21:13 ` Alex deVries
1998-04-22 21:43   ` ralf
1998-04-23  2:23     ` Alex deVries
1998-04-23  3:17       ` ralf
1998-04-23  3:28         ` Alex deVries
1998-04-22 21:48   ` Dong Liu
1998-04-23  3:04 ` ralf
1998-04-24 16:00   ` Dong Liu
1998-04-27 23:37     ` Dong Liu
1998-04-27 23:33       ` ralf
1998-04-28 19:11         ` Dong Liu
  -- strict thread matches above, loose matches on Subject: below --
1998-04-22 23:24 Dong Liu
2000-10-25 15:06 Glibc Problem Ian Chilton
2000-10-25 15:45 ` Keith M Wesolowski
2000-10-25 15:54 ` Andreas Jaeger
2001-07-26  9:09 glibc problem Andre.Messerschmidt
2001-07-26 13:46 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox