* [EMAIL PROTECTED] wrote on Thu, Oct 25, 2007 at 10:13:38PM CEST: > > 1. in Makefile.am: > lib_LTLIBRARIES = libSCORECModel.la > libSCORECModel_la_SOURCES = \ > entities/GEdge.cc \ > > Compiling error: > Making all in src > make[1]: Entering directory > `/users/txie/tmp/FMDB_Automake/SCORECModel/SCORECModel/src' > make[1]: *** No rule to make target `GEdge.cc', needed by `GEdge.lo'. Stop.
Hmm, that's weird. Which Automake version are you using? Have you made sure the file entities/GEdge.cc exists, and there is not maybe a typo? You should be able to use the Automake option subdir-objects. See here for how to set it, and what it does: <http://sources.redhat.com/automake/automake.html#Options> Still, if that works, but without it, it doesn't work, then that is a bug hiding somewhere. > 2. after make install, it creates some shared library with the extension > of some digits, like libfoo.so.0, libfoo.so.0.0.0. How to avoid creating > these files? -avoid-version is explained here: <http://www.gnu.org/software/libtool/manual.html#Link-mode> The concept and benefits of versioning are explained here: <http://www.gnu.org/software/libtool/manual.html#Versioning> Cheers, Ralf
