public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: linking OBJ files
@ 2000-04-11  6:08 Earnie Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Earnie Boyd @ 2000-04-11  6:08 UTC (permalink / raw)
  To: vandana yesoda, cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* linking OBJ files
@ 2000-04-10 19:42 vandana  yesoda
  0 siblings, 0 replies; 2+ messages in thread
From: vandana  yesoda @ 2000-04-10 19:42 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-04-11  6:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-11  6:08 linking OBJ files Earnie Boyd
  -- strict thread matches above, loose matches on Subject: below --
2000-04-10 19:42 vandana  yesoda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).