Subject: Re: pilot-link.0.9.5 compile failure
To: Eric Jacoboni <jaco@teaser.fr>
From: Johnny Lam <jlam@jgrind.org>
List: tech-pkg
Date: 10/23/2001 13:37:21
On Tue, Oct 23, 2001 at 08:40:24PM +0200, Eric Jacoboni wrote:
> # uname -a
> NetBSD titine.fr.eu.org 1.5Y NetBSD 1.5Y (TITINE-Current-20010918) \
> #2: Tue Oct 23 09:16:59 CEST 2001 \
> root@titine.fr.eu.org:/usr/src/sys/arch/i386/compile/TITINE i386 i386
> 
> # cd /usr/pkgsrc/comms/pilot-link
> # make 
> [...]
> mkdir .libs
> cc -Wl,-R/usr/local/lib -Wl,-R/usr/local/lib -I/usr/pkgsrc/comms/pilot-link/work.i386/.buildlink/include -I/usr/pkgsrc/comms/pilot-link/work.i386/.buildlink/include -O2 -I./include -I./include -DREADLINE_2_1 -DLIBDIR=\"/usr/local/lib\" -DTCL -DTK -I/usr/X11R6/include addresses.o getopt.o getopt1.o -o addresses  -L/usr/pkgsrc/comms/pilot-link/work.i386/.buildlink/lib /usr/pkg/lib/libpisock.so /usr/local/lib/libiconv.so -lm -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/local/lib
> addresses.o: In function `main':
> addresses.o(.text+0x74): undefined reference to `PalmHeader'
> *** Error code 1

The above line is confusing.  It appears you have some packages installed
into /usr/pkg, and some into /usr/local.  This is not supported by pkgsrc.
You will need to fix your packages to install into either one hierarchy or
the other.

	Cheers,

	-- Johnny Lam <jlam@jgrind.org>