Subject: libIDL broken?
To: None <tech-pkg@netbsd.org>
From: adam morley <adam-netbsd-techpkg@gmi.com>
List: tech-pkg
Date: 07/10/2003 13:51:56
So I've been postponing my work on pkgsrc on solaris 8 while futsing with it on Solaris 9.  Using the binary kit, its going along very nicely things are working just peachy.  Then I ran into:

gcc -O -I/usr/pkgsrc/net/libIDL/work/.buildlink/include -Wl,-R/usr/pkg/lib -o .libs/tstidl tstidl.o -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/lib  -L/usr/pkgsrc/net/libIDL/work/.buildlink/lib ./.libs/libIDL-2.so -L/usr/pkg/lib /usr/pkg/lib/libglib-2.0.so -liconv /usr/pkg/lib/libintl.so -lc /usr/pkg/lib/libiconv.so -R/usr/pkg/lib
Undefined                       first referenced
 symbol                             in file
__IDL_lex_cleanup                   ./.libs/libIDL-2.so
__IDL_prev_token_line               ./.libs/libIDL-2.so
__IDL_in                            ./.libs/libIDL-2.so
__IDL_lex_init                      ./.libs/libIDL-2.so
__IDL_cur_token_line                ./.libs/libIDL-2.so
__IDL_lex                           ./.libs/libIDL-2.so
ld: fatal: Symbol referencing errors. No output written to .libs/tstidl
collect2: ld returned 1 exit status

while doing bmake in meta-pkg/gnome2.  note that this is while compiling libIDL (one of the dependancies.)  It looks to me like -lIDL is missing.  I didn't see it listed as a bug here: http://www.netbsd.org/Gnats/category/pkg.html, so I thought I might be missing something obvious.  I unloopback mounted the current pkgsrc tree I'm using and checked one out with CVS (which reminds me, I didn't see a good explanation of how to do that in the pkgsrc docs, but I found one in the list archives), and the same problem with libIDL continued.

So am I doing something totally wrong here or is this really a bug I should file?

thanks!

-- 
adam