undefined reference to `__imp___iob'

2007-06-26 Thread Frederich, Eric P21322
Hello, I keep getting a lot of these errors when I try linking to a library built with msys and mingw "undefined reference to `__imp___iob'" I did a google search on this and I found others having the same problem but no solutions. Are there any tips to compile compatible libr

Re: undefined reference to `__imp___iob'

2007-06-26 Thread Brian Dessent
"Frederich, Eric P21322" wrote: > Are there any tips to compile compatible libraries with msys / cygwin? > Is it even possible? > Am I missing a gcc option? No, it's not possible. Cygwin libraries use the Cygwin runtime. MinGW/MSYS libraries use the Microsoft (MSVCRT) runtime. These are two in

RE: undefined reference to `__imp___iob'

2007-06-26 Thread Frederich, Eric P21322
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Brian Dessent > Sent: Tuesday, June 26, 2007 12:22 PM > To: cygwin@cygwin.com > Subject: Re: undefined reference to `__imp___iob' > > "Frederich, Eric P21322" wrote: > > > Are there

Re: undefined reference to `__imp___iob'

2007-06-26 Thread Brian Dessent
"Frederich, Eric P21322" wrote: > Apparently I'm confused. I thought that when I compile with -mno-cygwin > it was the same as using msys/mingw. It is. You were just lucky that it happened to link successfully and not crash. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-si

RE: undefined reference to `__imp___iob'

2007-06-26 Thread Igor Peshansky
On Tue, 26 Jun 2007, Frederich, Eric P21322 wrote: > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Brian Dessent > > Sent: Tuesday, June 26, 2007 12:22 PM > > To: [EMAIL PROTECTED] <http://cygwin.com/acronyms/#PCYMTNQREAIYR>. Thanks. > &

RE: undefined reference to `__imp___iob'

2007-06-26 Thread Frederich, Eric P21322
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Brian Dessent > Sent: Tuesday, June 26, 2007 1:25 PM > To: cygwin@cygwin.com > Subject: Re: undefined reference to `__imp___iob' > > "Frederich, Eric P21322" wr

Re: undefined reference to `__imp___iob'

2007-06-26 Thread Brian Dessent
"Frederich, Eric P21322" wrote: > Wow, now I'm more confused. > If using -mno-cygwin is the same as using msys/mingw, then why would I > need luck to link against a msys/mingw library? Me too. If you're indeed using -mno-cygwin then there should be no problem linking with a native library. I th

RE: undefined reference to `__imp___iob'

2007-06-26 Thread Frederich, Eric P21322
> From: Igor Peshansky [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 26, 2007 1:31 PM > To: Frederich, Eric P21322 > Cc: cygwin@cygwin.com > Subject: RE: undefined reference to `__imp___iob' > > > Does everything you say hold true even if I compile with > &g

RE: undefined reference to `__imp___iob'

2007-06-26 Thread Igor Peshansky
obody wants more spam. Thanks. > > Subject: RE: undefined reference to `__imp___iob' > > > > > Does everything you say hold true even if I compile with > > > the -mno-cygwin option? > > > > Not everything, but how were we to know you were using -mno-cygwin? >

Re: undefined reference to `__imp___iob'

2007-06-26 Thread Brian Dessent
objects are compiled without -mno-cygwin, so they are Cygwin objects. > /mylibraries/libraries/lib/libhdg_win.a(hdg_win.o):hdg_win.c:(.text+0x13 > ): undefined reference to `__imp___iob' This library is a MinGW library, so this link is doomed to failure. Brian -- Unsubscribe info:

RE: undefined reference to `__imp___iob'

2007-06-26 Thread Dave Korn
On 26 June 2007 19:05, Igor Peshansky wrote: >> /mylibraries/libraries/lib/libhdg_win.a(hdg_win.o):hdg_win.c:(.text+0x1d8): >> more undefined references to `__imp___iob' follow >> collect2: ld returned 1 exit status >> make: *** [someProgram.exe] Error 1 > > Where exactly are you us

Re: undefined reference to `__imp___iob'

2007-06-26 Thread Christopher Faylor
On Tue, Jun 26, 2007 at 01:52:01PM -0400, Frederich, Eric P21322 wrote: >> From: Igor Peshansky >> Sent: Tuesday, June 26, 2007 1:31 PM >> To: Frederich, Eric P21322 >> Subject: RE: undefined reference to `__imp___iob' >> >> > Does everything you say hol

RE: undefined reference to `__imp___iob'

2007-06-26 Thread Frederich, Eric P21322
> From: Igor Peshansky > Sent: Tuesday, June 26, 2007 2:05 PM > To: Frederich, Eric P21322 > Cc: cygwin@cygwin.com > Subject: RE: undefined reference to `__imp___iob' > > Where exactly are you using -mno-cygwin in the above? > Igor Whoops, I gave you the out