opensubscriber
   Find in this group all groups
 
Unknown more information…

x : xalan-c-users@xml.apache.org 16 December 2008 • 5:35AM -0500

Re: Xalan and Mingw error : ld.exe: cannot find -lxalan-c
by David Bertoni

REPLY TO AUTHOR
 
REPLY TO GROUP




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

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.