[xml] LIBXML MINGW GCC compilation errors

2014-04-09 Thread Maz Saeed


Dear LibXml community,
I'm having issues compiling the LIBXML (libxml2-2.7.8.win32) with GCC compiler. 
I've linked 
libxml2_a_dll.lib library and the appropriate header files in my project but 
getting these errors:

###
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" 
/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" 
/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" 
/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" 
/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
||Warning: .drectve `/DEFAULTLIB:"MSVCRT" /DEFAULTLIB:"OLDNAMES" ' unrecognized|
..\..\IBM_Laptop\Borland\XML\LIBXML2\libxml2-2.7.8.win32\libxml2-2.7.8.win32\lib\libxml2_a_dll.lib(int.a.dll.msvc\valid.obj):..\valid.c:
(.text[_xmlValidBuildContentModel]+0x6)||undefined reference to `_chkstk'|
..\..\IBM_Laptop\Borland\XML\LIBXML2\libxml2-2.7.8.win32\libxml2-2.7.8.win32\lib\libxml2_a_dll.lib(int.a.dll.msvc\valid.obj):..\valid.c:
(.text[_xmlValidateElementContent]+0x6)||undefined reference to `_chkstk'|
..\..\IBM_Laptop\Borland\XML\LIBXML2\libxml2-2.7.8.win32\libxml2-2.7.8.win32\lib\libxml2_a_dll.lib(int.a.dll.msvc\xmlIO.obj):..\xmlIO.c:(.data+0xec)||undefined
 reference to 
`gzopen'|
..\..\IBM_Laptop\Borland\XML\LIBXML2\libxml2-2.7.8.win32\libxml2-2.7.8.win32\lib\libxml2_a_dll.lib(int.a.dll.msvc\xmlIO.obj):..\xmlIO.c:
(.text[_xmlWrapGzOpenUtf8]+0xf)||undefined reference to `gzopen'|
..\..\IBM_Laptop\Borland\XML\LIBXML2\libxml2-2.7.8.win32\libxml2-2.7.8.win32\lib\libxml2_a_dll.lib(int.a.dll.msvc\xmlIO.obj):..\xmlIO.c:
(.text[_xmlWrapGzOpenUtf8]+0x6b)||undefined reference to `gzdopen'|
..\..\IBM_Laptop\Borland\XML\LIBXML2\libxml2-2.7.8.win32\libxml2-2.7.8.win32\lib\libxml2_a_dll.lib(int.a.dll.msvc\xmlIO.obj):..\xmlIO.c:
(.text[_xmlInitPlatformSpecificIo]+0x75)||undefined reference to `gzopen'|
..\..\IBM_Laptop\Borland\XML\LIBXML2\libxml2-2.7.8.win32\libxml2-2.7.8.win32\lib\libxml2_a_dll.lib(int.a.dll.msvc\xmlIO.obj):..\xmlIO.c:
(.text[_xmlGzfileOpen_real]+0x25)||undefined reference to `gzdopen'|
..\..\IBM_Laptop\Borland\XML\LIBXML2\libxml2-2.7.8.win32\libxml2-2.7.8.win32\lib\libxml2_a_dll.lib(int.a.dll.msvc\xmlIO.obj):..\xmlIO.c:
(.text[_xmlGzfi

[xml] LIBXML MINGW GCC compilation errors

2014-04-09 Thread Maz Saeed
Dear all,
Guess I was linking to the libxml2_a.lib files. This is G++ on Linux. Since I'm 
compiling on Windows 7 professional, I changed the linking of my project to 
libxml2.lib in 
Code Blocks. Now the project will compile but it won't run. When I run the EXE 
I get this error:

"The application was unable to start correctly. Click ok to close the 
application"
Since I'm running the exe from within Code Blocks, I get one more message after 
the application terminates:

Process terminated with status -1073741634 (1 minutes, 44 seconds)

Please let me know how to get past this error. 

Thanks in advance!

--Maz



___
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml