Subject: Re: trying to compile firefox with pkgsrc and xorg
To: Luc DESFOSSES <desfosses.luc@wanadoo.fr>
From: Jonathan A. Kollasch <jakllsch@kollasch.net>
List: netbsd-help
Date: 04/05/2006 02:21:16
--3O1VwFp74L81IIeR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 05, 2006 at 01:36:20AM +0200, Luc DESFOSSES wrote:
> Hie everybody, =20
> =20
> I'm trying to compile firefox via pkgsrc, =20
> I'm in /usr/pkgsrc/www/firefox and i type make.=20
> =20
> I got this return after some compilation.=20
> =20

What command failed ?

> : undefined reference to `__extendsfdf2'=20
> make[6]: *** [xpt_dump] Error 1=20
> make[6]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla/xpcom/ty=
pelib/xpt/tools'=20
> make[5]: *** [export] Error 2=20
> make[5]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla/xpcom/ty=
pelib/xpt/tools'=20
> make[4]: *** [export] Error 2=20
> make[4]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla/xpcom/ty=
pelib/xpt'=20
> make[3]: *** [export] Error 2=20
> make[3]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla/xpcom/ty=
pelib'=20
> make[2]: *** [export] Error 2=20
> make[2]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla/xpcom'=
=20
> make[1]: *** [tier_2] Error 2=20
> make[1]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla'=20
> gmake: *** [default] Error 2=20
> *** Error code 2=20
> =20
> Stop.=20
> make: stopped in /usr/pkgsrc/www/firefox=20
> =3D=3D=3D>=20
> =3D=3D=3D> There was an error during the ``build'' phase.=20
> =3D=3D=3D> Please investigate the following for more information:=20
> =3D=3D=3D>      * log of the build=20
> =3D=3D=3D>      * /usr/pkgsrc/www/firefox/work/.work.log=20
> =3D=3D=3D>=20
> *** Error code 1=20
> =20
> Stop.=20
> make: stopped in /usr/pkgsrc/www/firefox=20
> #=20
> #=20
> =20
> This is the /etc/mk.conf I use.=20
> =20
> CFLAGS+=3D-O2 -march=3Di686 -mcpu=3Di386=20
> CXXFLAGS=3D-O2 -march=3Di686 -mcpu=3Di386=20
> COPTS+=3D-O2 -march=3Di686 -fexpensive-optimizations -ffast-math -msoft-f=
loat -fthread-jumps -fomit-frame-pointer -finline-functions=20

Some of these seem dangerous and one is downright illogical (unless
you plan on running firefox on an actual 80386 w/o a 80387).  Try
again, at least without -msoft-float. If that doesn't work,
drop the -f... flags.

> X11_TYPE?=3Dxorg=20
> MOZILLA_USE_LINUX=3Dset=20
> =20
> I don't know what is the problem, i've compile all my packages like that.=
=2E.=20
> =20
> thank's for your time to read this.=20
> =20
> =20

BTW, NetBSD isn't Gentoo.

	Jonathan Kollasch

--3O1VwFp74L81IIeR
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFEM2/sOjx1ye3hmokRAk62AKCNuH3JccmJO+ygmD5Rw+0Wv/5ajACfWldF
G4WKnMRnMxkKreCjn2004yA=
=oD4h
-----END PGP SIGNATURE-----

--3O1VwFp74L81IIeR--