Subject: Re: Building nathanw_sa branch?
To: Nathan J. Williams <nathanw@MIT.EDU>
From: Michael K. Sanders <msanders@confusion.net>
List: current-users
Date: 02/03/2002 13:49:03
Nathan J. Williams writes:
>I forgot to commit the latest rev of src/include/lwp.h. Update and
>make includes again.

Okay, I've got all the important bits built and installed now, thanks.

Can something like Apache 2.0 be expected to work with libpthread at
this point?  

I was going to build it from pkgsrc just to see, but ran into this in
one of the dependencies:

gmake[1]: Entering directory `/usr/pkgsrc/textproc/expat/work/expat-1.95.2/examples'
cc -o elements elements.o -Wl,-R/usr/pkg/lib -static -L../lib/.libs -lexpat 
/usr/lib/crt0.o: In function `_rtld_setup':
/usr/lib/crt0.o(.text+0x122): undefined reference to `__syscall'
/usr/lib/crt0.o(.text+0x133): undefined reference to `__syscall'
/usr/lib/crt0.o(.text+0x155): undefined reference to `__syscall'
/usr/lib/crt0.o(.text+0x166): undefined reference to `__syscall'
/usr/lib/libc.a(exit.o): In function `exit':
exit.o(.text+0x60): undefined reference to `_exit'
/usr/lib/libc.a(makebuf.o): In function `__swhatbuf':
makebuf.o(.text+0xb2): undefined reference to `__fstat13'
/usr/lib/libc.a(tcgetattr.o): In function `tcgetattr':
tcgetattr.o(.text+0x15): undefined reference to `ioctl'
/usr/lib/libc.a(malloc.o)(.text+0x31): undefined reference to `write'
/usr/lib/libc.a(malloc.o)(.text+0x54): undefined reference to `write'
/usr/lib/libc.a(malloc.o)(.text+0x74): undefined reference to `write'
/usr/lib/libc.a(malloc.o)(.text+0x91): undefined reference to `write'
/usr/lib/libc.a(malloc.o)(.text+0xe9): undefined reference to `write'
/usr/lib/libc.a(malloc.o)(.text+0x10c): more undefined references to `write' follow
/usr/lib/libc.a(malloc.o)(.text+0x191): undefined reference to `_sbrk'
/usr/lib/libc.a(malloc.o)(.text+0x1b8): undefined reference to `_sbrk'
/usr/lib/libc.a(malloc.o)(.text+0x1c9): undefined reference to `_brk'
/usr/lib/libc.a(malloc.o)(.text+0x23f): undefined reference to `_brk'
/usr/lib/libc.a(malloc.o)(.text+0x2f0): undefined reference to `munmap'
/usr/lib/libc.a(malloc.o)(.text+0x388): undefined reference to `readlink'
/usr/lib/libc.a(malloc.o)(.text+0x66b): undefined reference to `utrace'
/usr/lib/libc.a(malloc.o)(.text+0x6d8): undefined reference to `_sbrk'
/usr/lib/libc.a(malloc.o)(.text+0xe57): undefined reference to `madvise'
/usr/lib/libc.a(malloc.o)(.text+0xfa3): undefined reference to `_sbrk'
/usr/lib/libc.a(malloc.o)(.text+0xfc8): undefined reference to `_brk'
/usr/lib/libc.a(malloc.o): In function `malloc':
malloc.o(.text+0x1203): undefined reference to `utrace'
/usr/lib/libc.a(malloc.o): In function `free':
malloc.o(.text+0x1321): undefined reference to `utrace'
/usr/lib/libc.a(malloc.o): In function `realloc':
malloc.o(.text+0x143c): undefined reference to `utrace'
/usr/lib/libc.a(abort.o): In function `abort':
abort.o(.text+0x2f): undefined reference to `__sigprocmask14'
abort.o(.text+0x5a): undefined reference to `getpid'
abort.o(.text+0x60): undefined reference to `kill'
abort.o(.text+0x7c): undefined reference to `__sigprocmask14'
abort.o(.text+0x86): undefined reference to `getpid'
abort.o(.text+0x8c): undefined reference to `kill'
abort.o(.text+0x99): undefined reference to `_exit'
/usr/lib/libc.a(stdio.o): In function `__sread':
stdio.o(.text+0x19): undefined reference to `read'
/usr/lib/libc.a(stdio.o): In function `__swrite':
stdio.o(.text+0x74): undefined reference to `write'
/usr/lib/libc.a(stdio.o): In function `__sclose':
stdio.o(.text+0xd6): undefined reference to `close'
/usr/lib/libc.a(sysconf.o): In function `__sysconf':
sysconf.o(.text+0xce): undefined reference to `getrlimit'
/usr/lib/libc.a(signal.o): In function `_signal':
signal.o(.text+0x74): undefined reference to `__sigaction14'
/usr/lib/libc.a(mmap.o): In function `_mmap':
mmap.o(.text+0x2a): undefined reference to `__syscall'
/usr/lib/libc.a(lseek.o): In function `_lseek':
lseek.o(.text+0x21): undefined reference to `__syscall'
/usr/lib/libc.a(sysctl.o): In function `_sysctl':
sysctl.o(.text+0x28): undefined reference to `__sysctl'
gmake[1]: *** [elements] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/textproc/expat/work/expat-1.95.2/examples'
gmake: *** [examples] Error 2
*** Error code 2

:: Mike ::