• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Cross-compilation problems  (Read 2337 times)
mancool
Newbie
*

Karma: 0
Posts: 4


View Profile
« on: December 01, 2009, 06:53:44 AM »

Hello!

I would like to cross-compile gsoap using the compiler from plugcomputer.org (http://plugcomputer.org/index.php/us/resources/downloads?func=select&id=7)

When I type "./configure --host=arm-none-linux-gnueabi" there is no problem.
But when I type make, errors appear:
"...
/home/_my_login/LinuxHost/gcc/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.1/../../../../arm-none-linux-gnueabi/include/c++/4.2.1/cstdlib:123: error: '::malloc' has not been declared
stdsoap2_cpp.cpp: In function 'long int soap_code_bits(const soap_code_map*, const char*)':
stdsoap2_cpp.cpp:1405: warning: comparison is always true due to limited range of data type
stdsoap2_cpp.cpp: In function 'int soap_dime_forward(soap*, unsigned char**, int*, char**, char**, char**)':
stdsoap2_cpp.cpp:2097: error: 'malloc' was not declared in this scope
stdsoap2_cpp.cpp: In function 'soap_blist* soap_new_block(soap*)':
stdsoap2_cpp.cpp:2151: error: 'malloc' was not declared in this scope
stdsoap2_cpp.cpp: In function 'void* soap_push_block(soap*, soap_blist*, size_t)':
stdsoap2_cpp.cpp:2173: error: 'malloc' was not declared in this scope
stdsoap2_cpp.cpp: In function 'soap_nlist* soap_push_namespace(soap*, const char*, const char*)':
stdsoap2_cpp.cpp:2742: error: 'malloc' was not declared in this scope
stdsoap2_cpp.cpp:2753: error: 'malloc' was not declared in this scope
stdsoap2_cpp.cpp: In function 'soap* soap_new2(soap_mode, soap_mode)':
stdsoap2_cpp.cpp:4859: error: 'malloc' was not declared in this scope
stdsoap2_cpp.cpp: In function 'int soap_pointer_enter(soap*, const void*, const soap_array*, int, int, soap_plist**)':
stdsoap2_cpp.cpp:4967: error: 'malloc' was not declared in this scope
stdsoap2_cpp.cpp: In function 'soap_ilist* soap_enter(soap*, const char*)':
stdsoap2_cpp.cpp:5539: error: 'malloc' was not declared in this scope
stdsoap2_cpp.cpp: In function 'void* soap_malloc(soap*, size_t)':
stdsoap2_cpp.cpp:5561: error: 'malloc' was not declared in this scope
stdsoap2_cpp.cpp:5567: error: 'malloc' was not declared in this scope
stdsoap2_cpp.cpp: In function 'soap_clist* soap_link(soap*, void*, int, int, int (*)(soap_clist*))':
..."

Is there anyone who know how cross-compile gsoap?
How can I fix the errors?
Logged

Pages: [1]
Print
Jump to: