Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [216.40.209.69] X-Originating-Email: [roy_clemmons AT hotmail DOT com] X-Sender: roy_clemmons AT hotmail DOT com From: "Roy Clemmons" To: Subject: Access Violation Date: Tue, 23 Dec 2003 21:57:35 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-ID: X-OriginalArrivalTime: 24 Dec 2003 03:56:42.0336 (UTC) FILETIME=[F0E47E00:01C3C9D1] 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...could expat be installed incorrectly? Note: I did not make expat. I simply installed it from the Cygwin setup utility. gcc -o test test.cc -lexpat #include #include int main() { XML_ParserCreate(NULL); return 0; } Exception: STATUS_ACCESS_VIOLATION at eip=00000000 eax=00000000 ebx=00000004 ecx=610CB16C edx=00000002 esi=00000000 edi=00000000 ebp=0022FE98 esp=0022FE7C program=C:\cygwin\expat\test.exe cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023 Stack trace: Frame Function Args End of stack trace Thank you, Royc -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/