Subject: Re: libIDL broken?
To: adam morley <adam-netbsd-techpkg@gmi.com>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: tech-pkg
Date: 07/11/2003 12:31:21
--ZJcv+A0YCCLh2VIg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
hi,
On Thu, Jul 10, 2003 at 01:51:56PM -0700, adam morley wrote:
> 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:
>=20
> 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
>=20
> 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:
see "./.libs/libIDL-2.so" above. the error itself says that the symbols
are first referenced _in_ libIDL-2.so.
> 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.
>=20
> So am I doing something totally wrong here or is this really a bug I
> should file?
i just tried to build it on Solaris 9 and had no problems. i am using
the native compiler, though.
regards,
--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org> --
-- <salo@silcnet.org> --
--ZJcv+A0YCCLh2VIg
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (NetBSD)
iD8DBQE/DpH5iwjDDlS8cmMRAjEOAJwPHs5q/1ifwROgWUkfPLHbZEEJogCeNyVP
V67wtgZi07zDV1D3i/3SFSI=
=qWWs
-----END PGP SIGNATURE-----
--ZJcv+A0YCCLh2VIg--