Re: [Plib-users] Undefined reference to ...
Brought to you by:
sjbaker
From: Ibrahim M. <ib...@ya...> - 2004-03-09 12:53:24
|
--- Steve Baker <sjb...@ai...> wrote: > > Well, it sounds to me like you have two versions of PLIB installed somehow. > > May I suggest (as 'root'): > > find / -name js.h -print > find / -name libplibjs\* -print > Hi, Thx for the fast response. Here are the results: > find / -name js.h -print /usr/include/plib/js.h > find / -name libplibjs\* -print /usr/lib/libplibjs.a So I do have only one installed. I made a make clean, then a make in the examples' directory and I am getting a little more output than what I included in my first message. I am not sure if it will help any, but here it is: Making all in js make[1]: Entering directory `/.../plib-doc/src/js' c++ -DPACKAGE=\"plib_examples\" -DVERSION=\"1.6.1\" -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DGLUT_IS_PRESENT=1 -I. -I. -g -O2 -Wall -c js_demo.cxx c++ -g -O2 -Wall -L/usr/X11R6/lib -o js_demo js_demo.o -lplibjs -lplibul -ldl js_demo.o: In function `jsJoystick::rawRead(int *, float *)': /usr/include/plib/js.h:557: undefined reference to `jsInit(void)' /usr/include/plib/js.h:702: undefined reference to `ulSetError(ulSeverity, char const *,...)' collect2: ld returned 1 exit status make[1]: *** [js_demo] Error 1 make[1]: Leaving directory `/.../plib-doc/src/js' make: *** [all-recursive] Error 1 Thanks, Ib __________________________________ Do you Yahoo!? Yahoo! Search - Find what youre looking for faster http://search.yahoo.com |