cannot compile thunderbird 2 and firefox 2 from ports

Adam J Richardson at
Mon Apr 23 15:55:33 UTC 2007

Frank Bonnet wrote:
> Hello
> I'm in trouble to compile those two mozilla apps se below
> error messages which seems to come from the same origin
> Thanks for any infos
> Frank
> c++ -I/usr/X11R6/include -I/usr/local/include/nss 
> -I/usr/local/include/nss/nss -I/usr/X11R6/include  -I/usr/X11R6/include 
> -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith 
> -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy 
> -Wno-non-virtual-dtor -Wno-long-long -O2 -fno-strict-aliasing -pipe -O2 
> -fshort-wchar -pipe  -DNDEBUG -DTRIMMED -O -fPIC -shared -Wl,-z,defs 
> -Wl,-h, -o  gtk2xtbin.o    -L/usr/X11R6/lib 
> -L/usr/local/lib/nss -Wl,-rpath,/usr/local/lib/firefox   
> -L/usr/X11R6/lib   -lgtk-x11-2.0   -L/usr/X11R6/lib -lXt -lX11  
> -Wl,-Bsymbolic -lc -lm -pthread -L/usr/local/lib -liconv
> gtk2xtbin.o(.text+0x13): In function `xt_event_prepare':
> : undefined reference to `gdk_threads_lock'
<snip lots of errors>
> gtk2xtbin.o(.text+0x959): In function `xt_client_init':
> : undefined reference to `gdk_get_display'
> gtk2xtbin.o(.data.rel+0xc): undefined reference to `g_free'
> gmake[2]: *** [] Error 1
> gmake[2]: Leaving directory 
> `/usr/ports/mail/thunderbird/work/mozilla/widget/src/gtkxtbin'
> gmake[1]: *** [tier_9] Error 2
> gmake[1]: Leaving directory `/usr/ports/mail/thunderbird/work/mozilla'
> gmake: *** [default] Error 2
> *** Error code 2

Hi Frank.

Just wanted to let you know the two ports, thunderbird- and 
firefox-,1 are not broken because I've installed them myself.

Thunderbird sure takes a long time to compile though. I did a "sudo 
portupgrade thunderbird" yesterday and it took 8 hours on my 750MHz 
laptop. I think my distcc cluster, such as it is, is broken.

Hope you fix your problem. Perhaps gtk2 needs an upgrade?

Adam J Richardson

More information about the freebsd-questions mailing list