Subject: Re: Build fails with undefined reference to `PT_SLEEPUC'
To: Andreas Gustafsson <gson@gson.org>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: port-vax
Date: 07/08/2003 06:39:43
On Monday, July 7, 2003, at 08:45 PM, 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
The VAX port needs to be updated for some libpthread changes that have
already been made to other ports.
-- Jason R. Thorpe <thorpej@wasabisystems.com>