compilation make

compilation make - C++ - Programmation

Marsh Posté le 04-12-2012 à 18:27:03    

Débutant en c++, je veux compiler un programme nomme tata_toto, le ficheir makefile.am marche tres bien avec autre programme qui s'appelle tata,  par mimetisme j'ai essaye.
 

Citation :

plugindata_LTLIBRARIES  = tata_toto.la
tata_toto_la_SOURCES    = $(sources) factory.cpp $(includes)
tata_toto_la_CPPFLAGS   = $(PLUGIN_CPPFLAGS)
tata_toto_la_LDFLAGS   = -module $(PLUGIN_LDFLAGS)
tata_toto_la_LIBADD = $(top_builddir)/src/t/lib/libmachine.la \
                      $(top_builddir)/src/M/v/libidoule.la


j'obtiens

Citation :

No rule to make target `tata_toto.c', needed by `tata_toto.lo'.  Stop


 
J'ai essayé aussi

Citation :

plugindata_LTLIBRARIES  = tata_toto.la
tata_toto_la_SOURCES    = $(sources) factory.cpp $(includes)
tata_toto_la_CPPFLAGS   = $(PLUGIN_CPPFLAGS)
tata_la_LDFLAGS   = -module $(PLUGIN_LDFLAGS)
tata_toto_la_LIBADD = $(top_builddir)/src/t/lib/libmachine.la \
                      $(top_builddir)/src/M/v/libidoule.la


j'obtiens

Citation :

tata_toto.la' is not a standard libtool library name
did you mean `libtata_toto.la'?
variable `tata_la_LDFLAGS' is defined but no program or
library has `tata_la' as canonic name (possible typo)


 
Merci de votre aide
 

Reply

Marsh Posté le 04-12-2012 à 18:27:03   

Reply

Marsh Posté le 05-12-2012 à 09:29:08    

resolu probleme de nommage ailleurs desole

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed