Now this is my cgixx/cgi++/jsutil/Makefile.am 1. INCLUDES = -I$(top_srcdir)/cgi++ 2. METASOURCES = AUTO 3. noinst_HEADERS = NOT-METIONED 4. lib_LIBRARIES = libcgixx-jsutil.la 5. libcgixx_jsutil_la_SOURCES = NOT-MENTIONED 6. libcgixx_jsutil_la_LIBADD = $(top_builddir)/cgi++/libcgixx.la 7. libcgixx_jsutil_la_LDFLAGS = -static
and these are the errors shown cgi++/jsutil/Makefile.am:4: `libcgixx-jsutil.la' is not a standard library name cgi++/jsutil/Makefile.am:4: did you mean `libcgixx-jsutil.a'? cgi++/jsutil/Makefile.am:7: variable `libcgixx_jsutil_la_LDFLAGS' is defined but no program or cgi++/jsutil/Makefile.am:7: library has `libcgixx_jsutil_la' as canonic name (possible typo) I did make clean and then tested it gave me same result. On Sunday 26 Oct 2008 9:49:46 am Ralf Wildenhues wrote: > Hello Neel, > > please don't top-post, thanks. > > * Neel Basu wrote on Sat, Oct 25, 2008 at 07:17:51PM CEST: > > When I compile/make I see this error. > > > > make[2]: *** No rule to make target `../cgi++/jsutil/libcgixx-jsutil.la', > > needed by `cgixx'. > > That's because this: > > cgixx/cgi++/jusutil/Makefile.am > > INCLUDES = -I$(top_srcdir)/cgi++ > > METASOURCES = AUTO > > noinst_HEADERS = NOT-MENTIONED > > lib_LIBRARIES = libcgixx-jsutil.a > > libcgixx_jsutil_a_SOURCES = NOT-MENTIONED > > libcgixx_jsutil_a_LIBADD = $(top_builddir)/cgi++/libcgixx.la > > only builds libcgixx-jsutil.a, not libcgixx-jsutil.la. > If you want a static library here, then drop the .a and use > > lib_LIBRARIES = libcgixx-jsutil.la > libcgixx_jsutil_la_SOURCES = NOT-MENTIONED > libcgixx_jsutil_la_LDFLAGS = -static > libcgixx_jsutil_la_LIBADD = $(top_builddir)/cgi++/libcgixx.la > > instead; and here: > > cgixx/src/MakeFile.am > > [...] > > > cgixx_LDADD = $(top_builddir)/cgi++/jsutil/libcgixx-jsutil.a \ > > $(top_builddir)/cgi++/libcgixx.la > > $(top_builddir)/cgi++/jsutil/libcgixx-jsutil.la > > please drop the .a entry. > > Cheers, > Ralf -- Zigmoyd PHP Framework http://zigmoyd.net