This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problems with Libraries?


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]