bug-gnuzilla
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Odd linking problem


From: Giuseppe Scrivano
Subject: Re: Odd linking problem
Date: Sat, 06 Sep 2008 19:12:19 +0200
User-agent: Mozilla-Thunderbird 2.0.0.16 (X11/20080724)

Hi Nigel,

It seems you are missing the libX11.a file.  Can you try to find and
install the package where it is contained?
In order to complete the build you will need to run the configure script
again.

Giuseppe

Nigel Rumens wrote:
> Hi,
> 
> I finally got around to trying out icecat 3.0.1 (late I know but I got
> there!)
> 
> Compile failed right at the end with this error:-
> 
> c++ -o icecat-bin  -fno-rtti -fno-exceptions -Wall -Wconversion
> -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
> -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -pedantic
> -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED
> -Os -freorder-blocks -fno-reorder-functions   nsBrowserApp.o
> nsStaticComponents.o    -lpthread   -Wl,-rpath-link,../../dist/bin 
> -L../../dist/bin -L../../dist/lib -ljemalloc
> ../../toolkit/xre/libxulapp_s.a -L../../staticlib  -L../../dist/bin
> -lmozjs -L../../dist/bin -lxpcom -lxpcom_core  -L../../dist/lib -lplds4
> -lplc4 -lnspr4 -lpthread -ldl -lgtk-x11-2.0 -latk-1.0 -lgdk-x11-2.0
> -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -ldl
> -lgobject-2.0 -lglib-2.0     -L/usr/lib64 -lX11  -lz  -ldl -lm 
> ../../staticlib/components/libpref.a
> ../../staticlib/components/libuconv.a
> ../../staticlib/components/libucvmath.a
> ../../staticlib/components/libi18n.a
> ../../staticlib/components/libnecko.a
> ../../staticlib/components/libxpconnect.a
> ../../staticlib/components/libchardet.a
> ../../staticlib/components/libzipwriter.a
> ../../staticlib/components/libjar50.a
> ../../staticlib/components/libcookie.a
> ../../staticlib/components/libpermissions.a
> ../../staticlib/components/libstoragecomps.a
> ../../staticlib/components/librdf.a ../../staticlib/components/libcaps.a
> ../../staticlib/components/libhtmlpars.a
> ../../staticlib/components/libgkgfxthebes.a
> ../../staticlib/components/libimglib2.a
> ../../staticlib/components/libgkplugin.a
> ../../staticlib/components/libwidget_gtk2.a
> ../../staticlib/components/libtxmgr.a
> ../../staticlib/components/libcomposer.a
> ../../staticlib/components/libgklayout.a
> ../../staticlib/components/libdocshell.a
> ../../staticlib/components/libembedcomponents.a
> ../../staticlib/components/libwebbrwsr.a
> ../../staticlib/components/libnsappshell.a
> ../../staticlib/components/libxmlextras.a
> ../../staticlib/components/libuniversalchardet.a
> ../../staticlib/components/liboji.a
> ../../staticlib/components/libchrome.a
> ../../staticlib/components/libmozfind.a
> ../../staticlib/components/libfileview.a
> ../../staticlib/components/libintlapp.a
> ../../staticlib/components/libwindowds.a
> ../../staticlib/components/libappcomps.a
> ../../staticlib/components/libremoteservice.a
> ../../staticlib/components/libplaces.a
> ../../staticlib/components/libtkautocomplete.a
> ../../staticlib/components/libsatchel.a
> ../../staticlib/components/libcommandlines.a
> ../../staticlib/components/libtoolkitcomps.a
> ../../staticlib/components/libspellchecker.a
> ../../staticlib/components/libunixproxy.a
> ../../staticlib/components/libpipboot.a
> ../../staticlib/components/libpipnss.a
> ../../staticlib/components/libpippki.a
> ../../staticlib/components/libautoconfig.a
> ../../staticlib/components/libsystem-pref.a
> ../../staticlib/libmozreg_s.a ../../staticlib/libunicharutil_s.a
> ../../staticlib/libucvutil_s.a ../../staticlib/libgtkxtbin.a
> ../../staticlib/libmorkreader_s.a ../../staticlib/libthebes.a
> ../../staticlib/libgfxshared_s.a ../../staticlib/libgfxpsshar.a
> ../../staticlib/libgkgfx.a ../../staticlib/libjsj.a 
> -L../../modules/libimg/png -lmozpng -ljpeg  -lz  -L../../dist/bin
> -lmozlcms  -L../../dist/bin -L../../dist/lib -lcrmf -lsmime3 -lssl3
> -lnss3 -lnssutil3 -lsoftokn3  -lcairo -lfreetype -lfontconfig   
> -L/usr/lib64 -lXrender -lcairo -lX11   -L/usr/lib64 -lXt -lgthread-2.0
> -lXft -lXrender -lfontconfig -lfreetype -lX11   -lpangocairo-1.0 -lcairo
> -lpangoft2-1.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0
> -lgmodule-2.0 -ldl -lglib-2.0   -L../../dist/lib -lsqlite3  
> ../../staticlib/components/libembedcomponents.a(nsWindowWatcher.o): In
> function `AppendXRDBGeometryFeatures(char const*, int, nsCAutoString*)':
> nsWindowWatcher.cpp:(.text+0x2b71): undefined reference to
> `XrmGetStringDatabase'
> nsWindowWatcher.cpp:(.text+0x2ba0): undefined reference to `XrmGetResource'
> nsWindowWatcher.cpp:(.text+0x2be0): undefined reference to
> `XrmDestroyDatabase'
> /usr/bin/ld: icecat-bin: hidden symbol `XrmGetResource' isn't defined
> /usr/bin/ld: final link failed: Nonrepresentable section on output
> collect2: ld returned 1 exit status
> gmake[4]: *** [icecat-bin] Error 1
> gmake[4]: Leaving directory
> `/home/wooky/src/jjj/icecat-3.0.1-g1/browser/app'
> gmake[3]: *** [libs] Error 2
> gmake[3]: Leaving directory `/home/wooky/src/jjj/icecat-3.0.1-g1/browser'
> gmake[2]: *** [libs_tier_app] Error 2
> gmake[2]: Leaving directory `/home/wooky/src/jjj/icecat-3.0.1-g1'
> gmake[1]: *** [tier_app] Error 2
> gmake[1]: Leaving directory `/home/wooky/src/jjj/icecat-3.0.1-g1'
> make: *** [default] Error 2
> 
> I checked the previous thread on linking problems and tried out the
> fixes in it but none of them helped then (after a little googling about)
> I came across this:-
> 
> http://benjamin.smedbergs.us/blog/2005-10-27/gcc-40-workaround/
> 
> Old I know but I tried it. Just adding:-
> 
> ac_cv_visibility_pragma=no
> 
> to .mozconfig
> and it compiled fine
> 
> I am using Fedora 9 (gcc 4.3.0) on AMD 64
> 
> Just thought you should know
> 
> Thanks and keep up the good work with icecat
> wooky
> 
> 
> 
> 
> -- 
> http://gnuzilla.gnu.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]