Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: earnie_boyd AT yahoo DOT com Subject: Re: linking OBJ files To: vandana yesoda , cygwin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 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