Subject: Re: Build fails with undefined reference to `PT_SLEEPUC'
To: Andreas Gustafsson <gson@gson.org>
From: Matt Thomas <matt@3am-software.com>
List: port-vax
Date: 07/08/2003 21:21:29
At 08:45 PM 7/7/2003, Andreas Gustafsson wrote:
>When I try to cross-build build NetBSD/vax on an i386, I get:
>
> /usr/build60/tools/bin/vax--netbsdelf-gcc -o atexit
> -nostdlib
> -Wl,-rpath-link,/usr/build60/destdir/lib:/usr/build60/destdir/usr/lib
> -L/usr/build60/destdir/lib /usr/build60/destdir/usr/lib/crt0.o
> /usr/build60/destdir/usr/lib/crti.o
> /usr/build60/destdir/usr/lib/crtbegin.o atexit.o -lpthread
> -L/usr/build60/destdir/usr/lib -L/usr/build60/destdir/usr/lib -lgcc -lc
> -lgcc /usr/build60/destdir/usr/lib/crtend.o /usr/build60/destdir/usr/lib/crtn.o
> /usr/build60/destdir/usr/lib/libpthread.so: undefined reference to
> `PT_SLEEPUC'
> /usr/build60/destdir/usr/lib/libpthread.so: undefined reference to
> `pthread__switch_return_point'
> collect2: ld returned 1 exit status
> *** Error code 1
I have fixed (but not yet verified) this so your builds will complete.
--
Matt Thomas Internet: matt@3am-software.com
3am Software Foundry WWW URL: http://www.3am-software.com/bio/matt/
Cupertino, CA Disclaimer: I avow all knowledge of this message