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]
Other format: [Raw text]

RE: Use +z or +Z to recompile...


Hi all,
I have this problem of linking error using gcc, I have 4 simple files
first.c (where main function is defined), and myfunc1, myfunc2 and
incl.h (which defines another function called basefunc). When I compile,
I get fatal error saying that multiply defined "basefunc". How to get
rid of this? 
Thanks
Best
nagu


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