This is the mail archive of the gcc-help@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]

error linking library c


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/


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