Re: Access Violation

2003-12-24 Thread Roy Clemmons
> When I compile and link the following program, I get a > segmentation fault. What am I doing wrong...could expat > be installed incorrectly? I configured and made expat according to the instructions in its distribution and now it works! I wonder why the cygwin version did not? Roy -- Unsubscr

Access Violation

2003-12-23 Thread Roy Clemmons
Greetings, I have installed expat-1.95.7 into Cygwin 1.5.5-1 using the Cygwin setup utility. In /usr/lib I have: libexpat.a libexpat.dll.a libexpat.la and in /usr/bin, I have cygexpat-0.dll. When I compile and link the following program, I get a segmentation fault. What am I doing wrong...cou

Re: Why 2 DLL names?

2003-12-22 Thread Roy Clemmons
libxx.dll.a is the import library cygxx-1.dll is the dll Read http://cygwin.com/cygwin-ug-net/dll.html for a more complete explanation.Thanks for the reply. Unless I missed it, I still don't understand why the shared lib was created a "cyg" prefix and a -1 suffix. But, be that as it may, c

Why 2 DLL names?

2003-12-22 Thread Roy Clemmons
Greetings, Using Cygwin 1.5.5-1, I am porting a Unix shared library to Windows. After making and linking the library with libtool, two DLLs were created: libxx.dll.a cygxx-1.dll I guess I was only expecting: libxx.dll. Why were the 2 names generated and why the "cyg" prefix on one o

Re: Undefined References using libtool

2003-12-19 Thread Roy Clemmons
I was able to resolve this problem by linking the stdc++ library in the makefile ( -lstdc++) and changing libtool.m4. Roy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html

Undefined References using libtool

2003-12-19 Thread Roy Clemmons
Greetings, I am porting a Linux app to Windows using cygwin 1.5.5-1 and libtool 1.5 (1.1220.2.1 2003/04/14 22:48:00). I have successfully compiled the app but when I attempt to link it using libtool I receive many unreferenced errors. A sampling of the errors: undefined reference to `std::ios_b

Re: Undefined reference to _WinMain@16

2003-12-17 Thread Roy Clemmons
ssage - From: "Roy Clemmons" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 17, 2003 3:22 PM Subject: Undefined reference to [EMAIL PROTECTED] > Greetings, > > After downloading expat-1.95.7.tar.gz from SourceForge and executing > ./confi

Undefined reference to _WinMain@16

2003-12-17 Thread Roy Clemmons
PROTECTED]' The same error reported to the cygwin email list resulted in a reply that suggested that this error might be caused because of a missing main() in the source code. My OS is Windows 2000 SP 4 What can I do to resolve this issue? Thank you, Roy Cle