axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Háber János <b...@dravanet.hu>
Subject Cross Compiling
Date Sat, 25 Dec 2004 03:19:06 GMT
Hi!

I try to cross compile the axis-c 1.4 (create windows executable in linux with 
mingw) because I have a little problem:

/bin/sh ../../../libtool --mode=compile i386-mingw32msvc-c++ -DHAVE_CONFIG_H 
-I. -I. -I../../.. -I../../../include -Wall -Wshadow -DENABLE_AXISTRACE -Wall 
-Wshadow -DENABLE_AXISTRACE  -g -O2 -c -o Buffer.lo `test -f 'Buffer.cpp' || 
echo './'`Buffer.cpp
 i386-mingw32msvc-c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include 
-Wall -Wshadow -DENABLE_AXISTRACE -Wall -Wshadow -DENABLE_AXISTRACE -g -O2 -c 
Buffer.cpp -MT Buffer.lo -MD -MP -MF .deps/Buffer.TPlo  -DDLL_EXPORT -DPIC 
-o .libs/Buffer.o
In file included from Buffer.hpp:26,
                 from Buffer.cpp:23:
XmlPullParserException.hpp:31:7: warning: no newline at end of file
In file included from Buffer.cpp:23:
Buffer.hpp: In constructor `Buffer<T>::Buffer(int)':
Buffer.hpp:56: error: there are no arguments to `malloc' that depend on a 
template parameter, so a declaration of `malloc' must be available
Buffer.hpp:56: error: (if you use `-fpermissive', G++ will accept your code, 
but allowing the use of an undeclared name is deprecated)
make[4]: *** [Buffer.lo] Error 1
make[4]: Leaving directory 
`/home/mingw/axis/axis-c-src-1-4-linux/src/xml/tspp'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/mingw/axis/axis-c-src-1-4-linux/src/xml'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mingw/axis/axis-c-src-1-4-linux/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mingw/axis/axis-c-src-1-4-linux'
make: *** [all] Error 2

Can anybody tell me about how can I solve this?

Thnx.
Moo Cow
-- 
Háber János             mailto:boci@dravanet.hu
ICQ Uin:73963523        http://boci.eminens.hu

Public Key: http://boci.eminens.hu/boci.asc
Key Identifier: 0x4B9B919B
Key Server: wwwkeys.eu.pgp.net

Mime
View raw message