This is the mail archive of the cygwin@sourceware.cygnus.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]

Re: linking OBJ files


Short answer, you can't easily mix objects from different compilers.  You need
to rebuild the object from source using gcc and you need to convert the
otxdrv.lib to a library format that the GNU ld understands.  You should be able
to find what you need in the archives and from pointers at
http://sourceware.cygnus.com/cygwin/.

Earnie.

--- vandana  yesoda <vandana.yesoda@wipro.com> wrote:
> Hi all,
> 
> i got the following linker error:
> /e/project/cygnus/CYGWIN~1/H-I586~1/i586-cygwin32/bin/ld:
> /f/ProjectTools/OtxDrvSdk1_0-P79Win32/Lib/otxdrv.lib(./Release/OtxDrv.obj):
> warning: ignoring duplicate section `.text'
> 
> when i tried to link the otxdrv.obj file which is generated by MSVC
> using gcc, the obj file source code is written in C. And when i ran the
> exe. i got run time error :
> [main] f:\personal\learn\parsertest\seq\file1.exe 1002 (0)
> handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
> [main] file1 1002 (0) handle_exceptions: Dumping stack trace to
> file1.exe.core
> 
> Thanks in advance and sorry if this is been answered earlier.
> 
> vandana
> 

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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