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 ?

Thanx a lot ;)

David Bertoni wrote:
> 
> wathek wrote:
>> I tried to built that using mingw-msys xerces 2.8.0 is built with no
>> problem
>> but xalan the svn trunk caused some trouble I get this error :
>> 
>> c:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe:
>> cannot
>> find -lxalanMsg
>> collect2: ld returned 1 exit status
>> c:\MinGW\bin\dllwrap.exe: no export definition file provided.
>> Creating one, but that may not be what you want
>> c:\MinGW\bin\dllwrap.exe: c++ exited with status 1
>> make[1]: *** [../../lib/libxalan-c1_11_0.dll] Error 1
>> make: *** [all] Error 2
> Interesting.  On my machine, Mingw-msys fails due to a problem making 
> the symlinks.
> 
> I'm working on a solution, but for the time being, you can make the 
> symlinks yourself, and re-start the build.  So, in the lib directory for 
> the build:
> 
> ln -fs libxalanMsg1_11_0.dll libxalanMsg.dll
> 
> When you re-start the build, it will fail again, so you can create the 
> "symlink" for the main DLL:
> 
> ln -fs libxalan-c1_11_0.dll libxalan-c.dll
> 
> When you re-start the build, it should finish at this point.
> 
> Dave
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Xalan-and-Mingw-error-%3A-ld.exe%3A-cannot-find--lxalan-c-tp20999046p21043915.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.

Reply via email to