l4-hurd
[Top][All Lists]
Advanced

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

undefined reference to `_pthread_self' / `__pthread_spin_lock'


From: R. Koot
Subject: undefined reference to `_pthread_self' / `__pthread_spin_lock'
Date: Tue, 08 Feb 2005 00:01:36 +0100
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

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




reply via email to

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