l4-hurd
[Top][All Lists]
Advanced

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

Re: undefined reference to `_pthread_self' / `__pthread_spin_lock'


From: Bas Wijnen
Subject: Re: undefined reference to `_pthread_self' / `__pthread_spin_lock'
Date: Tue, 08 Feb 2005 01:44:19 +0100
User-agent: Debian Thunderbird 1.0 (X11/20050116)

The whole thing builds fine here.  I once had similar errors though,
they were fixed by a "make clean ; autoreconf".

Thanks,
Bas

R. Koot wrote:
Help! Building fails when I comes to physmem. I don't know what's going
wrong but it seems to have to to something with threading/libc.


make[2]: Entering directory `/home/r.koot/HURD/hurd-l4/physmem'
gcc  -std=gnu99 -Wall -g -O3   -o physmem -u_start -e_start -N -nostdlib
-Ttext=0x400000 ia32-crt0.o physmem-ia32-cmain.o physmem-output.o
physmem-zalloc.o physmem-mmap.o physmem-malloc-wrap.o physmem-physmem.o
physmem-container.o physmem-frame-entry.o physmem-frame.o
../libhurd-cap-server/libhurd-cap-server.a
../libhurd-slab/libhurd-slab.a ../libpthread/libpthread.a
../libhurd-ihash/libhurd-ihash.a ../libhurd-btree/libhurd-btree.a
../libc-parts/libc-parts.a -lgcc
../libpthread/libpthread.a(pt-cond-timedwait.o)(.text+0x10e): In
function `cleanup.3':
sysdeps/generic/pt-cond-timedwait.c:50: undefined reference to
`_pthread_self'
../libpthread/libpthread.a(pt-cond-timedwait.o)(.text+0x11e):sysdeps/generic/pt-cond-timedwait.c:52:
undefined reference to `__pthread_spin_lock'
collect2: ld returned 1 exit status
make[2]: *** [physmem] Error 1
make[2]: Leaving directory `/home/r.koot/HURD/hurd-l4/physmem'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/r.koot/HURD/hurd-l4'
make: *** [all] Error 2

Thanks,


Ruud


_______________________________________________
L4-hurd mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/l4-hurd

--
I encourage people to send encrypted e-mail (see http://www.gnupg.org).
If you have problems reading my e-mail, use a better reader.
Please send the central message of e-mails as plain text
   in the message body, not as HTML and definitely not as MS Word.
Please do not use the MS Word format for attachments either.
For more information, see http://129.125.47.90/e-mail.html

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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