Hi all,

I'm trying to build the cvs tree but a get error with the linker ...
when I run make in the directory lyx-devel/src/mathed, objectfiles are 
created with the suffix .o and moved to .lo
Example :

#####################################################
[ibook]:/src/utils/lyx/lyx-devel/src/mathed
[0]19:11:32> make
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../src 
-I./../ -I../.. -I../.. -I../../boost  -isystem /usr/X11R6/include  -g -O 
-fno-exceptions -W -Wall -c textpainter.C
g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../.. -I../.. -I../../boost 
-isystem /usr/X11R6/include -g -O -fno-exceptions -W -Wall 
-Wp,-MD,.deps/textpainter.pp -c textpainter.C    -fPIC -DPIC
mv -f textpainter.o textpainter.lo
#####################################################

For me, there is no problem until now. But when all the .lo files are 
created, the linkage fail :

########################################################
/bin/sh ../../libtool --mode=link g++  -g -O -fno-exceptions -W -Wall  -o 
libmathed.o textpainter.lo formulabase.lo formula.lo formulamacro.lo 
math_amsarrayinset.lo math_arrayinset.lo math_atom.lo math_biginset.lo 
math_binominset.lo math_boxinset.lo math_braceinset.lo math_casesinset.lo 
math_charinset.lo math_cursor.lo math_data.lo math_decorationinset.lo 
math_deliminset.lo math_diffinset.lo math_diminset.lo math_dotsinset.lo 
math_extern.lo math_exfuncinset.lo math_exintinset.lo math_factory.lo
math_fracinset.lo math_fracbase.lo math_funcinset.lo math_funcliminset.lo 
math_gridinset.lo math_hash.lo math_hullinset.lo math_inset.lo 
math_iterator.lo math_kerninset.lo math_lefteqninset.lo math_limitopinset.lo 
math_macro.lo math_macroarg.lo math_macrotemplate.lo math_macrotable.lo 
math_mathmlstream.lo math_matrixinset.lo math_metricsinfo.lo 
math_nestinset.lo math_notinset.lo math_parser.lo math_pos.lo 
math_rootinset.lo math_scriptinset.lo math_sizeinset.lo math_spaceinset.lo 
math_specialcharinset.lo math_splitinset.lo math_sqrtinset.lo 
math_stackrelinset.lo math_streamstr.lo math_stringinset.lo 
math_substackinset.lo math_support.lo math_symbolinset.lo 
math_unknowninset.lo math_undersetinset.lo math_xarrowinset.lo math_xdata.lo 
math_xyarrowinset.lo math_xymatrixinset.lo
/usr/bin/ld -r -o libmathed.o  textpainter.o formulabase.o formula.o 
formulamacro.o math_amsarrayinset.o math_arrayinset.o math_atom.o 
math_biginset.o math_binominset.o math_boxinset.o math_braceinset.o 
math_casesinset.o math_charinset.o math_cursor.o math_data.o 
math_decorationinset.o math_deliminset.o math_diffinset.o math_diminset.o 
math_dotsinset.o math_extern.o math_exfuncinset.o math_exintinset.o 
math_factory.o math_fracinset.o math_fracbase.o math_funcinset.o 
math_funcliminset.o math_gridinset.o math_hash.o math_hullinset.o 
math_inset.o math_iterator.o math_kerninset.o math_lefteqninset.o 
math_limitopinset.o math_macro.o math_macroarg.o math_macrotemplate.o 
math_macrotable.o math_mathmlstream.o math_matrixinset.o math_metricsinfo.o 
math_nestinset.o math_notinset.o math_parser.o math_pos.o math_rootinset.o 
math_scriptinset.o math_sizeinset.o math_spaceinset.o math_specialcharinset.o 
math_splitinset.o math_sqrtinset.o math_stackrelinset.o math_streamstr.o 
math_stringinset.o math_substackinset.o math_support.o math_symbolinset.o 
math_unknowninset.o math_undersetinset.o math_xarrowinset.o math_xdata.o 
math_xyarrowinset.o math_xymatrixinset.o
/usr/bin/ld: cannot open textpainter.o: No such file or directory
make: *** [libmathed.o] Error 1
######################################################

So why the ld program expect to find .o objectfiles ? As the output shows~:
/usr/bin/ld -r -o libmathed.o  textpainter.o formulabase.o formula.o ... etc

Thank to cc me the answer since I've not subscribe to this mailing list,

                Geof
-- 
    ~
   'v'    mailto:[EMAIL PROTECTED]
  // \\   Powered by GNU/Linux-ppc
 /(   )\  http://lfs.linux-provider.net/  #112
   ^'^

Reply via email to