[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Problems compiling luaexpat
- From: Jan Schütze <JanS@...>
- Date: Thu, 22 Mar 2007 20:29:48 +0100
Hello,
Since I am using Lua 5.1.1 most time, I tried to compile luaexpat for
5.1.1. I already did lfs.dll and other libraries but got problems on
windows (using minwg) with this one. I put all dll and .h/.c files into
the directory, which I got from expat.sf.net.
After (which works fine): gcc -O2 -c -o lxplib.o lxplib.c
I call: gcc.exe -O -shared -o lxplib.dll lxplib.o -Llua_dir -llua5.1
I get this output:
lxplib.o:lxplib.c:(.text+0xc4): undefined reference to `XML_ParserFree'
lxplib.o:lxplib.c:(.text+0x521): undefined reference to
`XML_GetSpecifiedAttributeCount'
lxplib.o:lxplib.c:(.text+0x6cb): undefined reference to
`XML_ExternalEntityParserCreate'
lxplib.o:lxplib.c:(.text+0xbad): undefined reference to `XML_ParserCreate'
lxplib.o:lxplib.c:(.text+0xc19): undefined reference to `XML_SetUserData'
Anybody got an idea, how I can solve this?
Kind regards,
Jan (DracoBlue)
----------------------------------
http://dracoblue.net