bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linuxthreads problem introduced between 2.2.1 and 2.2.2


From: Andreas Jaeger
Subject: Re: linuxthreads problem introduced between 2.2.1 and 2.2.2
Date: 06 Mar 2001 15:34:26 +0100
User-agent: Gnus/5.090001 (Oort Gnus v0.01) XEmacs/21.1 (Channel Islands)

"Gabor Z. Papp" <address@hidden> writes:

> * Andreas Jaeger <address@hidden>:
> 
> | Send a small, self-contained program - I'm not going to debug mozilla
> | configure tests.
> 
> I don't want send huge attachments to the list, but I send
> it to you by private.
> 
> Anyway, who have mozilla libs, can try this:
> 
> [ Begin test.c ]
> int main() {
> gdk_superwin_get_type()
> ; return 0; }
> [ End test.c ]
> 
> gcc -o ./test.elf -L./ ./test.c -lnspr4 -lgtksuperwin
> /lib/libpthread.so.0: undefined reference to `atexit'
> collect2: ld returned 1 exit status

If libnspr4 or libgtksuperwin is linked against libpthread, you need
to add libpthread again on the command line.  AFAIK HJ has done a fix
for binutils, you might want to try to update to 2.10.91 or whatever
the latest version is.

> Witch gcc -o ./test.elf -L./ ./test.c -lnspr4 -lgtksuperwin -lpthread
> it is fine, and I don't know it is normal or isn't, since
> Gnome developers won't fix this, and I'm not a programmer.

It's normal,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs address@hidden
   private address@hidden
    http://www.suse.de/~aj



reply via email to

[Prev in Thread] Current Thread [Next in Thread]