Hello,
        I am trying to build a static library using convenience libraries .
My directory structure is as follows

        /home/users/bkaradak/autotools/lmp/custom/
        /home/users/bkaradak/autotools/lmp/mylib/rhat/
        /home/users/bkaradak/autotools/lmp/mylib/base/

        I can build convenience libraries in each of the above sub
directories.  When I try to build the static library called libnbase.la in
/home/users/bkaradak/autotools/lmp  from the convenience libraries in
sub-directories  I get the following error message

Making all in .
gmake[1]: Entering directory `/home/users/bkaradak/autotools/lmp'
static  ./custom/libnb_cust_obj.la
./mylib/portable/libnbase_portable_objs.la ./mylib/base/libnbase_base.la 
gmake[1]: execvp: static: Permission denied
gmake[1]: [libnbase.la] Error 127 (ignored)
gmake[1]: Leaving directory `/home/users/bkaradak/autotools/lmp'



My Makefile.am in /home/users/bkaradak/autotools/lmp looks like this:-

SUBDIRS = custom mylib .
noinst_LTLIBRARIES = libnbase.la
libnbase_la_SOURCES =
libnbase_la_LDFLAGS = -static
libnbase_la_LIBADD = $(top_builddir)/custom/libnb_cust_obj.la \
$(top_builddir)/mylib/portable/libnbase_portable_objs.la \
$(top_builddir)/mylib/base/libnbase_base.la


Any suggestions will be of great help. Thanks in advance.

Basavaraj

Reply via email to