[Expat-discuss] expat access violation
Roy Clemmons
royclem at ev1.net
Tue Dec 23 16:58:39 EST 2003
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,
Roy
More information about the Expat-discuss
mailing list