William Earnest writes:
>       Updated CVS this morning at 8:22 EST, tried compiling a bit later. 
> Got the following error(s):
> 
> g++  -g -O2  -L/usr/X11R6/lib -o js_demo  js_demo.o -lplibsl -lplibsm 
> -lplibul -lm
> js_demo.o: In function `main':
> /home/wde/FG/src/Input/js_demo.cxx:21: undefined reference to 
> `jsJoystick::jsJoystick(int)'
> /home/wde/FG/src/Input/js_demo.cxx:84: undefined reference to 
> `jsJoystick::read(int *, float *)'
> collect2: ld returned 1 exit status
> 
>       Being inexperienced with C++, I got lost trying to trace the cause. 
> The only updates that CVS showed were in FlightGear and plib.
> Tried to disable just that bit, but ties to other files only made the 
> problem worse. Suggestions from the experts? BTW, c++ is gcc version 
> 2.96 20000731 (Red Hat Linux 7.2 2.96-112.7.1).

There were some updates to plib that are probably causing this.  The
JS routines were split out into their own library.  We probably need
to link with -lplibjs if it exists.  I haven't updated to the latest
plib cvs recently so I haven't looked closely at this.

Regards,

Curt.
-- 
Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to