Hello,
I'm trying to build a static library. I can make a shared library and I
can use this library with
g77 -o example example.o -lrpl
without any trouble. But, if I try to use the generated static library with
g77 -o example example.o /usr/local/lib/example
some symbols are unresolved. How can I include all symbols in my static
library.
My Makefile.am is :
bin_PROGRAMS = rpl
lib_LTLIBRARIES = librpl.la
...
rpl_SOURCES = $(SRCC) $(SRCH) $(SRCF) $(INIT_EXE)
rpl_LDFLAGS = -rdynamic
librpl_la_SOURCES = $(SRCC) $(SRCH) $(SRCF) $(INIT_LIB)
librpl_la_LDFLAGS = -rdynamic -all-static -version-info 0:0:0
librpl_la_LIBADD = $(top_builddir)/lapack-3.0/lapack/liblapack.a \
$(top_builddir)/lapack-3.0/blas/libblas.a \
$(ldadd_libreadline) $(ldadd_libncurses)
include_HEADERS = rplargs.h rpltypes.h librpl.h
INCLUDES = -I$(srcdir) -I$(top_builddir) \
$(include_libreadline) $(include_libtermcap)
DEFS = -DHAVE_CONFIG_H -Dd_version_rpl=\"@VERSION@\" \
@POSTSCRIPT_SUPPORT@ @GNUPLOT_SUPPORT@ @EXPERIMENTAL_CODE@ $(date)
LDADD = $(top_builddir)/lapack-3.0/lapack/liblapack.a \
$(top_builddir)/lapack-3.0/blas/libblas.a \
$(ldadd_libreadline) $(ldadd_libncurses)
rpl.o: rpl.c always
always:
How can I fixe this trouble ?
Thanks in advance,
JKB
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool