automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libtool problem with linking .a's


From: Tim Heath
Subject: libtool problem with linking .a's
Date: Fri, 09 Feb 2001 17:08:22 -0700

        I am getting the message:

libtool: link: cannot build libtool library `liboracle.la' from
non-libtool objects: /opt/oracle/XXXXX/product/8.1.6/lib/libcore8.a

My Makefile.am looks like this:

## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = foreign
EXTRA_DIST = README
CLEANFILES = *~

AM_CXXFLAGS = -fPIC

noinst_LTLIBRARIES = liboracle.la

liboracle_la_SOURCES = \
        oracle.C

liboracle_la_LDFLAGS = -static

liboracle_la_LIBADD = /opt/oracle/XXXXX/product/8.1.6/lib/libcore8.a \
                      /opt/oracle/XXXXX/product/8.1.6/lib/libclntsh.sl

INCLUDES = address@hidden@/include address@hidden@/../include
address@hidden@/src/i
nclude -I/opt/oracle/talon/product/8.1.6/precomp/public

Does anyone know how to fix this?

Thanks,

Tim Heath



reply via email to

[Prev in Thread] Current Thread [Next in Thread]