[Top][All Lists]

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

_la_SOURCES Makro does not link all defined sources...

From: Steve
Subject: _la_SOURCES Makro does not link all defined sources...
Date: Tue, 11 Oct 2005 23:49:54 +0200
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050921)

i have the following problem:

I generated a shared library with automake and libtool.

My looks like this:
libnsHTMLValidator_la_SOURCES = nsVector.cpp nsHTMLValidator.cpp
libnsHTMLValidator_la_LIBADD = ./access.o \
 ./alloc.o \
 ./attrs.o \
 ./config.o \
 ./istack.o \
 ./pprint.o \
 ./tidylib.o \
 ./attrask.o \
 ./buffio.o \
 ./entities.o \
 ./lexer.o \
 ./streamio.o \
 ./tmbstr.o \
 ./attrdict.o \
 ./charsets.o \
 ./fileio.o \
 ./localize.o \
 ./tagask.o \
 ./utf8.o \
 ./attrget.o \
 ./clean.o \
 ./iconvtc.o \
 ./parser.o \
 ./tags.o \
INCLUDES = -I$(top_srcdir)/include
The buildet library should be intergrated in mozilla- firefox as a plugin...
Now when i call a method from this library
firefox crashes with the following error message:
/usr/lib/mozilla-firefox/firefox-bin: symbol lookup error: /home/redwing/.mozill
ponents/ undefined symbol: _ZN8nsVectorI8nsCOMPtrI17nsIValida
So everytime when i call a function defined in nsVector.cpp it cannot
find the symbol of this function. So i think the object file of nsVector.cpp is not linked
against this library...
When i defined all Functions in one file (nsHTMLValidator.cpp) it works for me,
but that cannot be the way to rome.

Can anyone help me to figure out why?

Thanks in advance...


reply via email to

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