This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin 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: g++ linking probs


> Guys
> I am linking a simple C++ program with an external library using
> g++ -W -Wall -ansi -pedantic -I/usr/local/include -L /usr/local/lib
> -lcppunit prog.cxx
> 
> The linker is giving me a lot of undefined references.
> However when I connect using telnet to RH Linux box the program runs OK.
> I looked up the last post about undefined references but I think I am
> linking
> alright.
> 
> Whattya say??

How about a snippet of the errors from ld?


Regards,

Elfyn McBratney
elfyn at exposure dot org dot uk
www.exposure.org.uk


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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