This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Problems with Libraries?
- To: gcc at gcc dot gnu dot org
- Subject: Problems with Libraries?
- From: Pascal Francq <pfrancq at ulb dot ac dot be>
- Date: Fri, 1 Dec 2000 10:16:24 +0100
- Organization: Université Libre de Bruxelles
Hi,
I have something that compiles yesterday, but today, after some modifcations,
I have problems with linking.
I have two separate directories lib1 and lib2. The classes of lib2 use code
from lib1.
What I have done today is split some files from lib1 : now each class of lib1
is declare in a single pair of h/cpp files.
Since, I have linking problems: the compiler says "undefined reference" for
all the call of lib1 in lib2.
Has someone an idea?
Thanks in advance!
--
Ir. Pascal Francq
Researcher
Université Libre de Bruxelles
CAD/CAM Department
Avenue F.D. Roosevelt, 50
CP 165/14
B-1050 Brussels
BELGIUM
Tel. +32-2-650 47 65
Fax +32-2-650 47 24
ICQ: 91206668