[Flightgear-devel] missing libraries for MIDGsmooth

2005-09-24 Thread Martin Spott
Hello,
I'm happy to realize that almost everything in the Sim-/FlightGear
source tree compiles cleanly on IRIX (thanks Erik !!). There's just a
small utility left that doesn't build:

make[2]: Entering directory `/usr/local/src/FlightGear/utils/GPSsmooth'
CC  [...] -c99
  -I/opt/FlightGear/include/simgear/compatibility -D_REENTRANT
  -exceptions -L/opt/lib32 -L/usr/freeware/lib32 -Wl,-rpath
  -Wl,/usr/freeware/lib32 -s -L/opt/FlightGear/lib -L/usr/local//lib -o
  MIDGsmooth MIDG-II.o MIDG_main.o -lsgio -lsgtiming -lsgmath -lsgmisc
  -lsgdebug -lsgbucket -lplibnet -lplibul -lm -lz
ld32: ERROR   33 : Unresolved text symbol "SGPath::SGPath(const 
std::basic_string,std::allocator >&)" -- 1st 
referenced by /opt/FlightGear/lib/libsgbucket.a(newbucket.o).
ld32: ERROR   33 : Unresolved text symbol "SGPath::~SGPath(void)" -- 1st 
referenced by /opt/FlightGear/lib/libsgbucket.a(newbucket.o).


In a first step I added -lsgbucket to the linker command in order to
resolve another missing symbol but I can't tell which library this call
from libsgbucket depends on,

Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] missing libraries for MIDGsmooth

2005-09-24 Thread Curtis L. Olson

Martin Spott wrote:


Hello,
I'm happy to realize that almost everything in the Sim-/FlightGear
source tree compiles cleanly on IRIX (thanks Erik !!). There's just a
small utility left that doesn't build:

make[2]: Entering directory `/usr/local/src/FlightGear/utils/GPSsmooth'
CC  [...] -c99
 -I/opt/FlightGear/include/simgear/compatibility -D_REENTRANT
 -exceptions -L/opt/lib32 -L/usr/freeware/lib32 -Wl,-rpath
 -Wl,/usr/freeware/lib32 -s -L/opt/FlightGear/lib -L/usr/local//lib -o
 MIDGsmooth MIDG-II.o MIDG_main.o -lsgio -lsgtiming -lsgmath -lsgmisc
 -lsgdebug -lsgbucket -lplibnet -lplibul -lm -lz
ld32: ERROR   33 : Unresolved text symbol "SGPath::SGPath(const 
std::basic_string,std::allocator >&)" -- 1st 
referenced by /opt/FlightGear/lib/libsgbucket.a(newbucket.o).
ld32: ERROR   33 : Unresolved text symbol "SGPath::~SGPath(void)" -- 1st 
referenced by /opt/FlightGear/lib/libsgbucket.a(newbucket.o).


In a first step I added -lsgbucket to the linker command in order to
resolve another missing symbol but I can't tell which library this call
from libsgbucket depends on,

Martin.
 



Try adding -lsgmisc (I think that is where SGPath resides.)  If that 
works we can add it for everyone.  Most systems don't care about library 
dependencies for calls that aren't used, but irix seems to need to 
resolve all the dependencies in a library, even for functions that are 
never called or used.


Curt.

--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] missing libraries for MIDGsmooth

2005-09-24 Thread Martin Spott
"Curtis L. Olson" wrote:

> Try adding -lsgmisc (I think that is where SGPath resides.)

It does. Thank you,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] missing libraries for MIDGsmooth

2005-09-24 Thread Curtis L. Olson

Martin Spott wrote:


"Curtis L. Olson" wrote:

 


Try adding -lsgmisc (I think that is where SGPath resides.)
   



It does. Thank you,
Martin.
 



I notice that -lsgmisc is already there.  Did you have to move it to a 
differerent relative place in the link command?


Curt.

--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] missing libraries for MIDGsmooth

2005-09-25 Thread Martin Spott
"Curtis L. Olson" wrote:

> I notice that -lsgmisc is already there.  Did you have to move it to a 
> differerent relative place in the link command?

It's sufficient to move '-lsgmisc' behind '-lsgbucket' in the linker
command. Apparently libsgmisc didn't get used before:


make[2]: Entering directory `/usr/local/src/FlightGear/utils/GPSsmooth'

CC  -O2 -use_readonly_const -rdata_shared  -woff
[...]
ld32: WARNING 84 : /opt/FlightGear/lib/libsgmisc.a is not used for resolving 
any symbol.
   ^^^

Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] missing libraries for MIDGsmooth

2005-09-25 Thread Martin Spott
"Curtis L. Olson" wrote:

> I notice that -lsgmisc is already there.  Did you have to move it to a 
> differerent relative place in the link command?

--- utils/GPSsmooth/Makefile.am~Sat Sep 24 19:14:33 2005
+++ utils/GPSsmooth/Makefile.am Sun Sep 25 18:51:06 2005
@@ -13,7 +13,7 @@
MIDG_main.cxx
 
 MIDGsmooth_LDADD = \
-   -lsgio -lsgtiming -lsgmath -lsgmisc -lsgdebug -lplibnet -lplibul \
+   -lsgio -lsgtiming -lsgmath -lsgbucket -lsgmisc -lsgdebug -lplibnet 
-lplibul \
$(joystick_LIBS) $(network_LIBS) $(base_LIBS) -lz
 
 INCLUDES = -I$(top_srcdir)/src


Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d