[xsd-users] Problem compiling the xsd-3.2.0+dep package
Steve
ongs_1999 at yahoo.com
Sun Jul 5 13:08:26 EDT 2009
Hi,
I am trying to compile the xsd-3.2.0+dep package and running into problems. I am compiling it on cygwin which I compiled boost and xerces-c++ successfully.
Here is the problem
First of all, I made the following modifications to the "build.sh" script:
CPPFLAGS=" -I/opt/boost/include/boost-1_39 -I/opt/xerces/include/xercesc $CPPFLAGS"
LDFLAGS="-L/opt/boost/lib -L/opt/xerces/lib $LDFLAGS"
MAKEFLAGS="install_prefix=/opt verbose=1"
MAKEFLAGS="-I$pwd/install/include $MAKEFLAGS"
...When I ran the "build.sh", I got the following errors:
$ ./build.sh
make: Entering directory `/cygdrive/c/projects/XML/xsd-3.2.0+dep/libcult-1.4.4/c
ult'
g++ -I/cygdrive/c/projects/XML/xsd-3.2.0+dep/libcult-1.4.4/cult/arch/i386/i486/
i586/i686 -I/cygdrive/c/projects/XML/xsd-3.2.0+dep/libcult-1.4.4/cult/arch/i386/
i486/i586 -I/cygdrive/c/projects/XML/xsd-3.2.0+dep/libcult-1.4.4/cult/arch/i386/
i486 -I/cygdrive/c/projects/XML/xsd-3.2.0+dep/libcult-1.4.4/cult/arch/i386 -I/cy
gdrive/c/projects/XML/xsd-3.2.0+dep/libcult-1.4.4/cult/arch/generic -I/cygdrive/
c/projects/XML/xsd-3.2.0+dep/libcult-1.4.4 -I/cygdrive/c/projects/XML/xsd-3.2.0+
dep/libcult-1.4.4 -I/cygdrive/c/projects/XML/xsd-3.2.0+dep/libcult-1.4.4/../ins
tall/include -o /cygdrive/c/projects/XML/xsd-3.2.0+dep/libcult-1.4.4/cult/rt
ti/type-info.o -c /cygdrive/c/projects/XML/xsd-3.2.0+dep/libcult-1.4.4/cult/rtti
/type-info.cxx
In file included from /cygdrive/c/projects/XML/xsd-3.2.0+dep/libcult-1.4.4/cult/
types.hxx:10,
from /cygdrive/c/projects/XML/xsd-3.2.0+dep/libcult-1.4.4/cult/
containers/vector.hxx:9,
from /cygdrive/c/projects/XML/xsd-3.2.0+dep/libcult-1.4.4/cult/
rtti/type-info.hxx:13,
from /cygdrive/c/projects/XML/xsd-3.2.0+dep/libcult-1.4.4/cult/
rtti/type-info.cxx:6:
/cygdrive/c/projects/XML/xsd-3.2.0+dep/libcult-1.4.4/cult/types/string.hxx: In m
ember function `Cult::Types::StringTemplate<NarrowerChar, typename Cult::Types::
Bits::NarrowerChar<NarrowerChar>::Type> Cult::Types::StringTemplate<C, NarrowerC
har>::to_narrow() const [with C = Cult::Types::Fundamental::WideChar, NarrowerCh
ar = Cult::Types::Fundamental::Char]':
/cygdrive/c/projects/XML/xsd-3.2.0+dep/libcult-1.4.4/cult/types/string.hxx:373:
error: `wcstombs' is not a member of `std'
/cygdrive/c/projects/XML/xsd-3.2.0+dep/libcult-1.4.4/cult/types/string.hxx:385:
error: `wcstombs' is not a member of `std'
make: *** [/cygdrive/c/projects/XML/xsd-3.2.0+dep/libcult-1.4.4/cult/rtti/type-i
nfo.o] Error 1
make: Leaving directory `/cygdrive/c/projects/XML/xsd-3.2.0+dep/libcult-1.4.4/cu
lt'
... Please help me out.
Thanks,
Steve
More information about the xsd-users
mailing list