Subject: trying to compile firefox with pkgsrc and xorg
To: None <netbsd-help@netbsd.org>
From: Luc DESFOSSES <desfosses.luc@wanadoo.fr>
List: netbsd-help
Date: 04/05/2006 01:36:20
Hie everybody,  
 
I'm trying to compile firefox via pkgsrc,  
I'm in /usr/pkgsrc/www/firefox and i type make. 
 
I got this return after some compilation. 
 
: undefined reference to `__extendsfdf2' 
make[6]: *** [xpt_dump] Error 1 
make[6]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla/xpcom/typelib/xpt/tools' 
make[5]: *** [export] Error 2 
make[5]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla/xpcom/typelib/xpt/tools' 
make[4]: *** [export] Error 2 
make[4]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla/xpcom/typelib/xpt' 
make[3]: *** [export] Error 2 
make[3]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla/xpcom/typelib' 
make[2]: *** [export] Error 2 
make[2]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla/xpcom' 
make[1]: *** [tier_2] Error 2 
make[1]: Leaving directory `/usr/pkgsrc/www/firefox/work/mozilla' 
gmake: *** [default] Error 2 
*** Error code 2 
 
Stop. 
make: stopped in /usr/pkgsrc/www/firefox 
===> 
===> There was an error during the ``build'' phase. 
===> Please investigate the following for more information: 
===>      * log of the build 
===>      * /usr/pkgsrc/www/firefox/work/.work.log 
===> 
*** Error code 1 
 
Stop. 
make: stopped in /usr/pkgsrc/www/firefox 
# 
# 
 
This is the /etc/mk.conf I use. 
 
CFLAGS+=-O2 -march=i686 -mcpu=i386 
CXXFLAGS=-O2 -march=i686 -mcpu=i386 
COPTS+=-O2 -march=i686 -fexpensive-optimizations -ffast-math -msoft-float -fthread-jumps -fomit-frame-pointer -finline-functions 
X11_TYPE?=xorg 
MOZILLA_USE_LINUX=set 
 
I don't know what is the problem, i've compile all my packages like that... 
 
thank's for your time to read this.