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: Why won't my files link?


Nick Miller wrote:
> Then, I already have...
> 
> io_functions.o

Where does this come from?

> Then, I am using this command below to do the linking...
> 
> gcc -o main fun.o io_functions.o main.o
> 
> When I do this in Cygwin, I am getting
> errors along the lines of "reference to undefined *thing*"...  I
> would include the exact error messages right now, but I am not at my
> home computer and do not have a copy of Cygwin on this public machine

Then you should have waited until you could post the exact error messages.
Without them, the problem could be any number of different things.

Post them, and we can *probably* understand what is going wrong.

Max.


--
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]