delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/11/08:15:22

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <20000411130801.18158.qmail@web125.yahoomail.com>
Date: Tue, 11 Apr 2000 06:08:01 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: linking OBJ files
To: vandana yesoda <vandana DOT yesoda AT wipro DOT com>,
cygwin <cygwin AT sourceware DOT cygnus DOT com>
MIME-Version: 1.0

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 DOT yesoda AT wipro DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019