Andy Ross writes:
> William Earnest wrote:
>  > js_demo.cxx:21: undefined reference to `jsJoystick::jsJoystick(int)'
>  > js_demo.cxx:84: undefined reference to `jsJoystick::read(int *, float *)'
> 
> Recent plib changes have turned the joystick routines from an inlined
> header file into a real library.  You need to add a -lplibjs to the
> _LDADD lines in src/Input/Makefile.am and src/Main/Makefile.am.

Unfortunately we can't just add -lplibjs to the _LDADD lines, this
will break the build for everyone with a anything earlier than this
week's plib cvs.  Specifically we want to be able to build with the
most recent official plib stable release.

We really need to add a check for libplibjs.a in the configure script
so it only get's added if it exists ... I sense this change might
cause a bit of misery for people ...

Curt.


> 
> Looking at this, by the way, was what got me to add the command line
> YASim compiler to the default build.  Normally I fear
> automake/autoconf. :)
> 
> Responding to a later note:
> 
>  > Stuck that lib in the Makefile, and those 2 errors vanished. The new
>  > one is:
>  >
>  > Progress in small increments...
> 
> The order is important.  The -lplibjs must come before -lplibul to get
> the dependencies correct.  Remember to do the same thing to your
> src/Main/Makefile.am, or else the fgfs binary will get the same error.
> 
> Andy
> 
> -- 
> Andrew J. Ross                NextBus Information Systems
> Senior Software Engineer      Emeryville, CA
> [EMAIL PROTECTED]              http://www.nextbus.com
> "Men go crazy in conflagrations.  They only get better one by one."
>   - Sting (misquoted)
> 
> 
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel

-- 
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