Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2007 10:15:32 +0200
From:      Frank Bonnet <f.bonnet@esiee.fr>
To:        freebsd-questions@freebsd.org
Subject:   cannot compile thunderbird 2 and firefox 2 from ports
Message-ID:  <462C6B24.9080500@esiee.fr>

next in thread | raw e-mail | index | archive | help
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


FIREFOX

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,libgtkxtbin.so -o 
libgtkxtbin.so  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'
gtk2xtbin.o(.text+0x35): In function `xt_event_prepare':
: undefined reference to `gdk_threads_unlock'
gtk2xtbin.o(.text+0x5f): In function `xt_event_check':
: undefined reference to `gdk_threads_lock'
gtk2xtbin.o(.text+0x8a): In function `xt_event_check':
: undefined reference to `gdk_threads_unlock'
gtk2xtbin.o(.text+0x9e): In function `xt_event_check':
: undefined reference to `gdk_threads_unlock'
gtk2xtbin.o(.text+0xdf): In function `xt_event_dispatch':
: undefined reference to `gdk_threads_lock'
gtk2xtbin.o(.text+0x11f): In function `xt_event_dispatch':
: undefined reference to `gdk_threads_unlock'
gtk2xtbin.o(.text+0x219): In function `gtk_xtbin_class_init':
: undefined reference to `g_type_check_class_cast'
gtk2xtbin.o(.text+0x23a): In function `gtk_xtbin_class_init':
: undefined reference to `g_type_check_class_cast'
gtk2xtbin.o(.text+0x2d6): In function `gtk_xtbin_realize':
: undefined reference to `g_type_check_instance_is_a'
gtk2xtbin.o(.text+0x2f7): In function `gtk_xtbin_realize':
: undefined reference to `g_return_if_fail_warning'
gtk2xtbin.o(.text+0x314): In function `gtk_xtbin_realize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x335): In function `gtk_xtbin_realize':
: undefined reference to `gdk_window_get_geometry'
gtk2xtbin.o(.text+0x376): In function `gtk_xtbin_realize':
: undefined reference to `g_type_check_class_cast'
gtk2xtbin.o(.text+0x399): In function `gtk_xtbin_realize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x3c5): In function `gtk_xtbin_realize':
: undefined reference to `gdk_flush'
gtk2xtbin.o(.text+0x3df): In function `gtk_xtbin_realize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x440): In function `gtk_xtbin_new':
: undefined reference to `gdk_drawable_get_visual'
gtk2xtbin.o(.text+0x451): In function `gtk_xtbin_new':
: undefined reference to `gdk_drawable_get_colormap'
gtk2xtbin.o(.text+0x459): In function `gtk_xtbin_new':
: undefined reference to `gdk_x11_colormap_get_xcolormap'
gtk2xtbin.o(.text+0x468): In function `gtk_xtbin_new':
: undefined reference to `gdk_drawable_get_visual'
gtk2xtbin.o(.text+0x470): In function `gtk_xtbin_new':
: undefined reference to `gdk_x11_visual_get_xvisual'
gtk2xtbin.o(.text+0x48f): In function `gtk_xtbin_new':
: undefined reference to `g_free'
gtk2xtbin.o(.text+0x4ba): In function `gtk_xtbin_new':
: undefined reference to `g_source_new'
gtk2xtbin.o(.text+0x4d7): In function `gtk_xtbin_new':
: undefined reference to `g_source_set_priority'
gtk2xtbin.o(.text+0x4e2): In function `gtk_xtbin_new':
: undefined reference to `g_source_set_can_recurse'
gtk2xtbin.o(.text+0x4ed): In function `gtk_xtbin_new':
: undefined reference to `g_source_attach'
gtk2xtbin.o(.text+0x52a): In function `gtk_xtbin_new':
: undefined reference to `g_main_context_add_poll'
gtk2xtbin.o(.text+0x570): In function `gtk_xtbin_new':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x588): In function `gtk_xtbin_new':
: undefined reference to `gdk_window_get_user_data'
gtk2xtbin.o(.text+0x5a3): In function `gtk_xtbin_new':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x5bb): In function `gtk_xtbin_new':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x5da): In function `gtk_xtbin_new':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x617): In function `gtk_xtbin_set_position':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x639): In function `gtk_xtbin_set_position':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x644): In function `gtk_xtbin_set_position':
: undefined reference to `gdk_window_move'
gtk2xtbin.o(.text+0x679): In function `gtk_xtbin_resize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x713): In function `gtk_xtbin_unrealize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x725): In function `gtk_xtbin_unrealize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x738): In function `gtk_xtbin_unrealize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x74e): In function `gtk_xtbin_unrealize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x783): In function `gtk_xtbin_unrealize':
: undefined reference to `g_type_check_class_cast'
gtk2xtbin.o(.text+0x7c8): In function `gtk_xtbin_destroy':
: undefined reference to `g_return_if_fail_warning'
gtk2xtbin.o(.text+0x7f7): In function `gtk_xtbin_destroy':
: undefined reference to `g_type_check_instance_is_a'
gtk2xtbin.o(.text+0x818): In function `gtk_xtbin_destroy':
: undefined reference to `g_return_if_fail_warning'
gtk2xtbin.o(.text+0x832): In function `gtk_xtbin_destroy':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x873): In function `gtk_xtbin_destroy':
: undefined reference to `g_main_context_remove_poll'
gtk2xtbin.o(.text+0x881): In function `gtk_xtbin_destroy':
: undefined reference to `g_source_remove'
gtk2xtbin.o(.text+0x8b3): In function `gtk_xtbin_destroy':
: undefined reference to `g_type_check_class_cast'
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]: *** [libgtkxtbin.so] Error 1
gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/widget/src/gtkxtbin'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2


THUNDERBIRD

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 -I/usr/X11R6/include 
-fshort-wchar -pipe  -DNDEBUG -DTRIMMED -O -fPIC -shared -Wl,-z,defs -Wl,-h,libgtkxtbin.so 
-o libgtkxtbin.so  gtk2xtbin.o    -L/usr/X11R6/lib -L/usr/local/lib/nss 
-Wl,-rpath,/usr/local/lib/thunderbird   -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'
gtk2xtbin.o(.text+0x35): In function `xt_event_prepare':
: undefined reference to `gdk_threads_unlock'
gtk2xtbin.o(.text+0x5f): In function `xt_event_check':
: undefined reference to `gdk_threads_lock'
gtk2xtbin.o(.text+0x8a): In function `xt_event_check':
: undefined reference to `gdk_threads_unlock'
gtk2xtbin.o(.text+0x9e): In function `xt_event_check':
: undefined reference to `gdk_threads_unlock'
gtk2xtbin.o(.text+0xdf): In function `xt_event_dispatch':
: undefined reference to `gdk_threads_lock'
gtk2xtbin.o(.text+0x11f): In function `xt_event_dispatch':
: undefined reference to `gdk_threads_unlock'
gtk2xtbin.o(.text+0x219): In function `gtk_xtbin_class_init':
: undefined reference to `g_type_check_class_cast'
gtk2xtbin.o(.text+0x23a): In function `gtk_xtbin_class_init':
: undefined reference to `g_type_check_class_cast'
gtk2xtbin.o(.text+0x2d6): In function `gtk_xtbin_realize':
: undefined reference to `g_type_check_instance_is_a'
gtk2xtbin.o(.text+0x2f7): In function `gtk_xtbin_realize':
: undefined reference to `g_return_if_fail_warning'
gtk2xtbin.o(.text+0x314): In function `gtk_xtbin_realize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x335): In function `gtk_xtbin_realize':
: undefined reference to `gdk_window_get_geometry'
gtk2xtbin.o(.text+0x376): In function `gtk_xtbin_realize':
: undefined reference to `g_type_check_class_cast'
gtk2xtbin.o(.text+0x399): In function `gtk_xtbin_realize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x3c5): In function `gtk_xtbin_realize':
: undefined reference to `gdk_flush'
gtk2xtbin.o(.text+0x3df): In function `gtk_xtbin_realize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x440): In function `gtk_xtbin_new':
: undefined reference to `gdk_drawable_get_visual'
gtk2xtbin.o(.text+0x451): In function `gtk_xtbin_new':
: undefined reference to `gdk_drawable_get_colormap'
gtk2xtbin.o(.text+0x459): In function `gtk_xtbin_new':
: undefined reference to `gdk_x11_colormap_get_xcolormap'
gtk2xtbin.o(.text+0x468): In function `gtk_xtbin_new':
: undefined reference to `gdk_drawable_get_visual'
gtk2xtbin.o(.text+0x470): In function `gtk_xtbin_new':
: undefined reference to `gdk_x11_visual_get_xvisual'
gtk2xtbin.o(.text+0x48f): In function `gtk_xtbin_new':
: undefined reference to `g_free'
gtk2xtbin.o(.text+0x4ba): In function `gtk_xtbin_new':
: undefined reference to `g_source_new'
gtk2xtbin.o(.text+0x4d7): In function `gtk_xtbin_new':
: undefined reference to `g_source_set_priority'
gtk2xtbin.o(.text+0x4e2): In function `gtk_xtbin_new':
: undefined reference to `g_source_set_can_recurse'
gtk2xtbin.o(.text+0x4ed): In function `gtk_xtbin_new':
: undefined reference to `g_source_attach'
gtk2xtbin.o(.text+0x52a): In function `gtk_xtbin_new':
: undefined reference to `g_main_context_add_poll'
gtk2xtbin.o(.text+0x570): In function `gtk_xtbin_new':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x588): In function `gtk_xtbin_new':
: undefined reference to `gdk_window_get_user_data'
gtk2xtbin.o(.text+0x5a3): In function `gtk_xtbin_new':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x5bb): In function `gtk_xtbin_new':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x5da): In function `gtk_xtbin_new':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x617): In function `gtk_xtbin_set_position':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x639): In function `gtk_xtbin_set_position':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x644): In function `gtk_xtbin_set_position':
: undefined reference to `gdk_window_move'
gtk2xtbin.o(.text+0x679): In function `gtk_xtbin_resize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x713): In function `gtk_xtbin_unrealize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x725): In function `gtk_xtbin_unrealize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x738): In function `gtk_xtbin_unrealize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x74e): In function `gtk_xtbin_unrealize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x783): In function `gtk_xtbin_unrealize':
: undefined reference to `g_type_check_class_cast'
gtk2xtbin.o(.text+0x7c8): In function `gtk_xtbin_destroy':
: undefined reference to `g_return_if_fail_warning'
gtk2xtbin.o(.text+0x7f7): In function `gtk_xtbin_destroy':
: undefined reference to `g_type_check_instance_is_a'
gtk2xtbin.o(.text+0x818): In function `gtk_xtbin_destroy':
: undefined reference to `g_return_if_fail_warning'
gtk2xtbin.o(.text+0x832): In function `gtk_xtbin_destroy':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x873): In function `gtk_xtbin_destroy':
: undefined reference to `g_main_context_remove_poll'
gtk2xtbin.o(.text+0x881): In function `gtk_xtbin_destroy':
: undefined reference to `g_source_remove'
gtk2xtbin.o(.text+0x8b3): In function `gtk_xtbin_destroy':
: undefined reference to `g_type_check_class_cast'
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]: *** [libgtkxtbin.so] 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


-- 
Cordialement
Frank Bonnet
// Machines MUST help //



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?462C6B24.9080500>