Subject: Re: libtool/sparc 1.4.2
To: Brian A. Seklecki - Stargate Industries, LLC - NOC <lavalist@stargate.net>
From: None <mcmahill@mtl.mit.edu>
List: port-sparc
Date: 10/01/2000 15:51:19
please replace /usr/lib/c++rt0.o with a -fPIC version which can be found
under ftp://ftp.netbsd.org/pub/NetBSD/arch/sparc/c++rt0/

-Dan



On Sun, 1 Oct 2000, Brian A. Seklecki - Stargate Industries, LLC - NOC wrote:

> 
> Trying to compile pkgsrc/devel/libtool from the --current pkgsrc tarball
> from the 1st:
> 
> bash-2.04# pwd
> /usr/src/pkgsrc/devel/libtool
> bash-2.04# make install
> ===> Building for libtool-1.3.5nb5
> Making all in .
> Making all in libltdl
> /bin/sh ./libtool --mode=link cc  -O2 -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
> -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
> -o libltdl.la -rpath /usr/pkg/lib -version-info 1:2:1 ltdl.lo
> rm -fr .libs/libltdl.la .libs/libltdl.* .libs/libltdl.*
> /usr/bin/ld -Bshareable -o .libs/libltdl.so.1.2  ltdl.lo   -R/usr/pkg/lib
> -R/usr/pkg/lib /usr/lib/c++rt0.o
> ld: /usr/lib/c++rt0.o: illegal reloc type mix
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> 
> 
> 
> ---
> 
> Binary package goes on fine:
> 
> bash-2.04# pkg_add -v
> ftp://ftp.netbsd.org/pub/NetBSD/packages/1.4.2/sparc/All/libtool-1.3.5nb4.tgz
> Trying to fetch
> ftp://ftp.netbsd.org/pub/NetBSD/packages/1.4.2/sparc/All/libtool-1.3.5nb4.tgz.
> Spawning FTP coprocess
> [.......]
> Attempting to record package into /var/db/pkg/libtool-1.3.5nb4.
> Package libtool-1.3.5nb4 registered in /var/db/pkg/libtool-1.3.5nb4
> 
> ftp> close
> 
> The only difference is the minor revision change.  Problem is that
> libaudiofile requires:
> 
> "===> libaudiofile-0.1.9 depends on package: libtool>1.3.5nb4"
> 
> Ideas anyone?
> 
> Thanks,
> 
> --Brian
> 
>