delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | "Robert McNulty Junior" <bmj2004 AT bellsouth DOT net> |
To: | "Roy Clemmons" <roy_clemmons AT hotmail DOT com>, <cygwin AT cygwin DOT com> |
Subject: | RE: Access Violation |
Date: | Tue, 23 Dec 2003 22:37:14 -0600 |
Message-ID: | <NHEHKOIJIHJBGPHFBHNMIEHCCAAA.bmj2004@bellsouth.net> |
MIME-Version: | 1.0 |
In-Reply-To: | <Law12-OE53L2DhoKFKB00011b97@hotmail.com> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
All I get is undefined errors. -----Original Message----- From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf Of Roy Clemmons Sent: Tuesday, December 23, 2003 9:58 PM To: cygwin AT cygwin DOT com Subject: Access Violation 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 <stdio.h> #include <expat.h> 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/ -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |