Subject: Libtool problem with devel/popt?
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <geos@epost.de>
List: tech-pkg
Date: 09/05/2004 23:15:47
When compiling devel/popt on IRIX 5.3 I end up with

...
cc -O2 -Xcpluscomm
-I/usr/people/schwarz/pkgsrc/devel/popt/work/.buildlink/include
-Wl,-rpath -Wl,/usr/local/pkg/lib -o test1 -non_shared test1.o
./.libs/libpopt.a
-L/usr/people/schwarz/pkgsrc/devel/popt/work/.buildlink/lib
/usr/people/schwarz/pkgsrc/devel/popt/work/.buildlink/lib/libintl.a
/usr/people/schwarz/pkgsrc/devel/popt/work/.buildlink/lib/libiconv.a -lc
ld:
Object file format error in: test1.o: shared Elf object "test1.o" cannot
be linked non-shared.
gmake[2]: *** [test1] Error 1
gmake[2]: Leaving directory
`/usr/people/schwarz/pkgsrc/devel/popt/work/popt-1.7

I think this is a libtool issue. What does the respective line look like
on other platforms? Is test1.o a shared object there as well?

Georg

-- 
Georg Schwarz    http://home.pages.de/~schwarz/
 geos@epost.de     +49 177 8811442