[orbitcpp-list] [ orbitcpp-Bugs-475580 ] Compilation fail
Status: Beta
Brought to you by:
philipd
From: <no...@so...> - 2002-01-21 11:03:33
|
Bugs item #475580, was opened at 2001-10-27 09:24 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=100646&aid=475580&group_id=646 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Francesco Lamonica (franci) Assigned to: Sam Couter (eddiesam) Summary: Compilation fail Initial Comment: Compilation fails on the test suite (at least in slackware 7.x and 8). This is due to the static linking against the glib.a libraray... maybe the compiler (gcc 2.95.3) should be explicitly told that is a static lib (static linking has always been a little annoying). Btw adding the -lglib flags made the compilation go smoothlessly ---------------------------------------------------------------------- >Comment By: Sam Couter (eddiesam) Date: 2002-01-21 03:03 Message: Logged In: YES user_id=14486 Braden has changed the build and removed the -static compiler option. ---------------------------------------------------------------------- Comment By: Sam Couter (eddiesam) Date: 2001-12-09 15:10 Message: Logged In: YES user_id=14486 I think this bug is just a symptom, and the real problem is that the tests are linking statically. If the tests are modified to link dynamically instead, this bug should go away. ---------------------------------------------------------------------- Comment By: Francesco Lamonica (franci) Date: 2001-12-08 04:44 Message: Logged In: YES user_id=1349 in the test suite the command line tell compiler to just use the glib.a file that would cos the linker to got nut and do not work properly.... instead of using the glib.a file using the shared library causes no problem at all. So i think that the linker is always checking for the shared library and that should be taold explicitly to usa static linking.... maybe with the -Wl,static flag but i am not sure about the correct syntax.... ---------------------------------------------------------------------- Comment By: Sam Couter (eddiesam) Date: 2001-12-07 22:49 Message: Logged In: YES user_id=14486 Francesco: Can you provide more information on this? Can you explain how the static linking causes problems? I don't have any problems, using gcc 2.95.4 20011006. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=100646&aid=475580&group_id=646 |