Subject: Re: Building sysutils/fam fails
To: Sylvester F <sylvester_f@hotmail.com>
From: grant beattie <grant@NetBSD.org>
List: tech-pkg
Date: 03/28/2004 01:22:24
--QqzFzR/RUlLahzby
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Mar 27, 2004 at 10:52:28AM +0000, Sylvester F wrote:

> g++ -shared -nostdlib /usr/lib/crtbeginS.o  .libs/Client.o .libs/fam.o =
=20
> -L/mnt/uus/pkgsrc/sysutils/fam/work/.buildlink/gcc3/lib/gcc-lib/i386--net=
bsdelf/3.3.3=20
> -L/mnt/uus/pkgsrc/sysutils/fam/work/.buildlink/gcc3/lib=20
> -L/mnt/uus/pkgsrc/sysutils/fam/work/.buildlink/lib=20
> -L/usr/pkg/gcc3/lib/gcc-lib/i386--netbsdelf/3.3.3=20
> -L/usr/pkg/gcc3/lib/gcc-lib/i386--netbsdelf/3.3.3/../../.. -lstdc++ -lm=
=20
> /usr/lib/crtendS.o  -Wl,-R/usr/pkg/gcc3/lib/gcc-lib/i386--netbsdelf/3.3.3=
=20
> -Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libfam.so.0 -Wl,-retain-symbols-file=
=20
> -Wl,fam.sym -o .libs/libfam.so.0.0
> /usr/pkg/bin/ld: .libs/libfam.so.0.0: undefined versioned symbol name=20
> std::time_get_c@@GLIBCPP_3.2
> /usr/pkg/bin/ld: failed to set dynamic section sizes: Bad value
> collect2: ld returned 1 exit status
> gmake[2]: *** [libfam.la] Error 1
> gmake[2]: Leaving directory=20
> `/mnt/uus/pkgsrc/sysutils/fam/work/fam-2.6.10/libfam'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/mnt/uus/pkgsrc/sysutils/fam/work/fam-2.6.10'
> gmake: *** [all] Error 2
> *** Error code 2
>
> I have i386, NetBSD 1.6.2 and i'm using gcc 3.3.3.  Any ideas what might =
be=20
> the problem?

your build seems to be running /usr/pkg/bin/ld as the linker. are you
perhaps using GNU binutils from pkgsrc or is it installed? the build
might be picking it up somehow...

what does "make show-var VARNAME=3DPATH" return?

grant.


--QqzFzR/RUlLahzby
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAZY4gluYOb9yiFXoRAoJ1AKCie7eGjFhpfbF5LJwrMD8jgW4hmQCfT7oM
dV/hfnNE7VuEGuWnsY2qCo4=
=c+Jp
-----END PGP SIGNATURE-----

--QqzFzR/RUlLahzby--