I'm using Msys 1.0.10 (I installed the .exe file) and the version of gcc I got is 3.4.2 this is what I get when I do gcc -v: Reading specs from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/specs Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug Thread model: win32 gcc version 3.4.2 (mingw-special)
ah just one thing when I do make in the xalan source directory it shows me an error I had to set the CPLUS_INCLUDE_PATH variable to /local/include so make can find the xerces headers thanx a lot guy ;) David Bertoni wrote: > > wathek wrote: >> Hello >> Thanx a lot David it's ok for the error with xalanMsg symlinks solved >> that >> prob but I get this new error : >> >> Info: resolving xalanc_1_11::XalanDOMString::s_empty by linking to >> __imp___ZN11xalanc_1_1114XalanDOMString7s_emptyE (auto-import) >> Info: resolving vtable for xalanc_1_11::XSLTInputSourceby linking to >> __imp___ZTVN11xalanc_1_1115XSLTInputSourceE (auto-import) >> ../../obj/process.o(.text+0x2c01):process.cpp: variable 'vtable for >> xalanc_1_11::XSLTInputSource' can't be auto-imported. Please read the >> documentation for ld's --enable-auto-import for details. >> ../../obj/process.o(.text+0x2c2a):process.cpp: variable 'vtable for >> xalanc_1_11::XSLTInputSource' can't be auto-imported. Please read the >> documentation for ld's --enable-auto-import for details. >> ../../obj/process.o(.text+0x3077):process.cpp: variable 'vtable for >> xalanc_1_11::XSLTInputSource' can't be auto-imported. Please read the >> documentation for ld's --enable-auto-import for details. >> ../../obj/process.o(.text+0x332c):process.cpp: variable 'vtable for >> xalanc_1_11::XSLTInputSource' can't be auto-imported. Please read the >> documentation for ld's --enable-auto-import for details. >> collect2: ld returned 1 exit status >> make[1]: *** [../../bin/testXSLT] Error 1 >> make: *** [all] Error 2 >> >> I use the CPLUS_INCLUDE_PATH variable set to /local/include and >> LIBRARY_PATH >> variable set to /local/lib >> coz when I unset LIBRARY_PATH I get this error : >> c:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: >> cannot >> find -lxerces-c >> collect2: ld returned 1 exit status >> make[1]: *** [../../bin/testXSLT] Error 1 >> make: *** [all] Error 2 >> >> so any idea to solve that problem ? > I was able to build all of the binaries and run the conformance tests to > verify a good build. Perhaps this is a problem with the version of > Mingw or gcc you're using. > > Can you verify what versions of Mingw and Msys you have installed? > Also, what is the output from running "gcc -v"? > > Dave > > -- View this message in context: http://www.nabble.com/Xalan-and-Mingw-error-%3A-ld.exe%3A-cannot-find--lxalan-c-tp20999046p21102571.html Sent from the Xalan - C - Users mailing list archive at Nabble.com.