I forgot to say that I am using : automake 1.9.6-4 autoconf 2.60-1 libtool 1.5.22-4
Cheers, Sylvestre > Hello, > > I am designing the compilation system of Scilab using the autotools. > It was using a system of included Makefile to perform the compile. I > migrated everything using auto* & libtools. > > I build all the libs without problems. > > Now, I am stucking with the linkage of the binary with the built libs. > > In my root Makefile.am I have : > bin_PROGRAMS = scilex > > scilex_SOURCES = \ > routines/default/mainsci.f \ > routines/default/FTables.c \ > [...] > > scilex_LDADD = $(top_builddir)/routines/libscilab.la > > After an autoreconf, configure and make, it stops with the error : > make[1]: *** No rule to make target `routines/libscilab.la ', needed by > `scilex'. Stop. > I have the same issue with scilex_LDADD = routines/libscilab.la > (but I have better result with CFLAGS = -lscilab but I prefer not using > this solution). > > Despite the fact that the compilation worked : > scilab4/routines$ ls -al libscilab.la .libs/libscilab.* > ... 3205 2006-07-27 17:56 libscilab.la > ... 8 2006-07-27 17:56 .libs/libscilab.a > ... 15 2006-07-27 17:56 .libs/libscilab.la -> ../libscilab.la > ... 1654 2006-07-27 17:56 .libs/libscilab.lai > ... 18 2006-07-27 17:56 .libs/libscilab.so -> libscilab.so.0.0.0 > ... 18 2006-07-27 17:56 .libs/libscilab.so.0 -> libscilab.so.0.0.0 > ... 7339 2006-07-27 17:56 .libs/libscilab.so.0.0.0 > (it is normal if those files are small). > > I used some Makefile.am from gimp, freeciv and a few other programs as > example... Is there something that I missed somewhere ? > > > Otherwise, an other question, I would like to know if libtool is able to > compile "everything" using the libtool _DEPENDENCIES ? > > Thank you very much, > Cheers > Sylvestre > >
