From: Frederic B. <fre...@fr...> - 2006-07-28 15:25:19
|
Selon jaime adolfo nieto : > On 7/26/06, Frederic Bouvier wrote: > Thanks Fred for your reply. > > I have unistalled fltk 1.1.6-4 and compiled fltk 1.1.7 with ./configure > --disable-largefile --enable-thread options, I did not find a dev packa= ge, > and everything was ok. > > But now get the following error at make command (I have translated some= text > from Spanish to English): > > g++ -g -O2 -L/usr/X11R6/lib -o fgrun wizard.o wizard_funcs.o > advanced.oadvanced_funcs.o Ai > rportBrowser.o AirportTable.o Fl_Table.o Fl_Table_Row.o Fl_Plib.o > Fl_Heading_Dial.o main.o io.o fgfsrc.o logwin.o settings.o > util.o run_posix.o fgrun_pty.o -lsgprops -lsgxml -lsgmisc -lsgstr > ucture -lsgdebug -lplibssg -lplibsg -lplibul -lfltk_gl -lpthread -lflt= k > -lXft -lGL -lXmu -lXt -lSM -lICE -lXi -lXext -lX11 -lm -lz > -lutil > main.o: In function `main': > /home/jaime/fgrun/trunk/fgrun/src/main.cxx:93: referencia a `Fl::lock()= ' > withtout define > run_posix.o: In function `Wizard::run_fgfs(std::basic_string<char, > std::char_traits<char>, st d::allocator<char> > const&)': > /home/jaime/fgrun/trunk/fgrun/src/run_posix.cxx:82: reference to > `Fl::lock()' without define > /home/jaime/fgrun/trunk/fgrun/src/run_posix.cxx:87: reference to > `Fl::unlock( )' without define > collect2: ld returned 1 exit status > make[2]: *** [fgrun] Error 1 fgrun requires a thread aware fltk, and it seems you enabled it when you configured fltk 1.1.7, so maybe the old installation was not removed tota= lly, or the right switch was not used at configure time. Check with ./configur= e --help that you configured fltk the right way. -Fred -- Fr=E9d=E9ric Bouvier http://frfoto.free.fr Photo gallery - album photo http://www.fotolia.fr/p/2278 Other photo gallery http://fgsd.sourceforge.net/ FlightGear Scenery Designer |