building Haiku with the cross compiler tools (GCC 2.95) on a debian system fails.
|Reported by:||kaoutsis||Owned by:||bonefish|
|Has a Patch:||no||Platform:||All|
C++ generated/objects/linux/x86/release/build/libbe/app/MessageAdapter.o src/build/libbe/app/MessageAdapter.cpp: In static member function ‘static status_t BPrivate::MessageAdapter::Flatten(uint32, const BMessage*, BDataIO*, ssize_t*)’: src/build/libbe/app/MessageAdapter.cpp:137: error: ‘malloc’ was not declared in this scope src/build/libbe/app/MessageAdapter.cpp:144: error: ‘free’ was not declared in this scope src/build/libbe/app/MessageAdapter.cpp:150: error: ‘free’ was not declared in this scope src/build/libbe/app/MessageAdapter.cpp:157: error: ‘free’ was not declared in this scope [...] and similar errors from missing headers to some other files
I added the missing headers and the build went fine. I will attach the fix_linux_gcc2.53_build.diff
Change History (2)
Note: See TracTickets for help on using tickets.