Re: Darwin install: GConf-2.10.0/backends/libgconfbackend-oldxml.so



Hey all you smart guys and gals.

I'm really stuck here. Does anyone have any suggestions how to get past the

*** Warning: Linking the executable xml-test against the loadable module
*** libgconfbackend-oldxml.so is not portable!
** Warning, lib libgconfbackend-oldxml.so is a module, not a shared library

… issues? Am I so clueless that I am not asking the right question, or a ridiculously stupid question? Or is Darwin, Mac OS X so far off the beaten path? I was looking at gcc-3.3 documentation and saw that there was a Darwin specific option:

       -bind_at_load
Causes the output file to be marked such that the dynamic linker
           will bind all undefined references when the file is loaded or
           launched.

… that could be something I need to add.

If there is a better forum for us nubies, could you please point me in the right direction. Thanks so much.

On 22 Mar 2005, at 12:39 PM, Fred Leason wrote:

It appears that both libgconfbackend-oldxml.so and libgconfbackend-xml.so are not "portable" but are compiling as a module, not a shared library.

I tried removing the backend completely, but it is important later in the build.

If I need to change options on the loader, please point me to the right place in the Makefile.

In advance, thank you so much for your help.

I also don't know if I need to worry about the "gcc-3.3: unrecognized option `-pthreads'" issue. Apparently, pthreads are only a Linux/Intel issue, not available on power-pc.

AND I am not sure if I need to worry about the "ld: warning -L: directory name (/sw/lib:/usr/local/lib) does not exist" message. I've looked around and I'm not sure where the ":/usr/local/lib" is being concatenated to my normal Gnome library in /sw/lib.

NOTE to those not familiar with Mac OS X: As the unsuspecting Mac user is sucked into the open source vortex, they quickly become friends of FINK. By default, fink wants to build in the /sw directory instead of /usr/local. So under the advisement of all things GAR, I try to build the garnome in /sw/garnome. This has been a successful strategy up until now. I have Gnome running fine in my X windows environment. I was able to download Planner from CVS and compile it. I decided I didn't want to wait until fink packaged up 2.10. However, downloading this via dial-up and compiling it has gone from distraction to diversion to hobby to obsession. Lovely.

With humility,
Fred Leason

___________________________
/bin/sh ../libtool --mode=link gcc-3.3 -I/sw/include -I/sw/garnome/include -L/sw/garnome/lib -O2 -pipe -I/sw/garnome/include -L/sw/garnome/lib -O2 -pipe -I/sw/garnome/include -L/sw/garnome/lib -O2 -pipe -I/sw/garnome/include -L/sw/garnome/lib -O2 -pipe -I/sw/garnome/include -L/sw/garnome/lib -O2 -pipe -I/sw/garnome/include -L/sw/garnome/lib -O2 -pipe -Wall -DG_DISABLE_CHECKS=1 -DG_DISABLE_ASSERT=1 -L/sw/lib -L/sw/garnome/lib -L/sw/garnome/lib -L/sw/garnome/lib -L/sw/garnome/lib -L/sw/garnome/lib -L/sw/garnome/lib -o xml-test xml-test.o -pthreads -L/sw/garnome/lib -lgobject-2.0 -lORBit-2 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lxml2 -lpthread -lz -liconv -lm ../gconf/libgconf-2.la ../backends/libgconfbackend-oldxml.la

*** Warning: Linking the executable xml-test against the loadable module
*** libgconfbackend-oldxml.so is not portable!
** Warning, lib libgconfbackend-oldxml.so is a module, not a shared library

** And there doesn't seem to be a static archive available
** The link will probably fail, sorry
gcc-3.3 -I/sw/include -I/sw/garnome/include -O2 -pipe -I/sw/garnome/include -O2 -pipe -I/sw/garnome/include -O2 -pipe -I/sw/garnome/include -O2 -pipe -I/sw/garnome/include -O2 -pipe -I/sw/garnome/include -O2 -pipe -Wall -DG_DISABLE_CHECKS=1 -DG_DISABLE_ASSERT=1 -o .libs/xml-test xml-test.o -L/sw/garnome/lib -L/sw/lib -pthreads -L/sw/lib:/usr/local/lib ../gconf/.libs/libgconf-2.dylib ../backends/.libs/libgconfbackend-oldxml.so /sw/garnome/lib/libxml2.dylib -ldl -lpthread -lz /Users/me/Desktop/garnome-2.10.0/platform/GConf/work/main.d/GConf -2.10.0/gconf/.libs/libgconf-2.dylib /sw/garnome/lib/libORBit-2.dylib /sw/lib/libpopt.dylib /sw/garnome/lib/libgobject-2.0.dylib -lresolv -lm /sw/garnome/lib/libgmodule-2.0.dylib /sw/garnome/lib/libgthread-2.0.dylib /sw/garnome/lib/libglib-2.0.dylib /sw/lib/libintl.dylib /sw/lib/libiconv.dylib /sw/garnome/lib/libiconv.dylib
gcc-3.3: unrecognized option `-pthreads'
ld: warning -L: directory name (/sw/lib:/usr/local/lib) does not exist
ld: ../backends/.libs/libgconfbackend-oldxml.so is input for the dynamic link editor, is not relocatable by the static link editor again
make[9]: *** [xml-test] Error 1
make[8]: *** [all-recursive] Error 1
make[7]: *** [all] Error 2
make[6]: *** [build-work/main.d/GConf-2.10.0/Makefile] Error 2
make[5]: *** [../../platform/GConf/cookies/main.d/install] Error 2
make[4]: *** [../../platform/gnome-vfs/cookies/main.d/install] Error 2
make[3]: *** [../../platform/libgnome/cookies/main.d/install] Error 2
make[2]: *** [../../platform/libbonoboui/cookies/main.d/install] Error 2
make[1]: *** [../../platform/libgnomeui/cookies/main.d/install] Error 2
make: *** [paranoid-install] Error 2





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