This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
error linking library c
- To: gcc-help at gcc dot gnu dot org
- Subject: error linking library c
- From: Sérgio Medeiros <tampo_8 at yahoo dot com>
- Date: Sun, 4 Mar 2001 05:16:13 -0800 (PST)
Hi,
I am working with a lib C which I got to compile just
with the compiler gcc and the extension .C
I should link it with the library graphic QT which
need of extension .CPP
I compile the files with gcc, but when I try to link
the program with gcc, including functions from lib C
in file .CPP, i don't get
happen error of undefined reference in the functions
from lib C
I tried some compilation options, but the error don't
change
I use Linux O.S.
my gcc version is egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)
If somebody know to link lib C with files .CPP, weel I
think the problem is this, I thank
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/