Opened 11 years ago

Closed 11 years ago

#1843 closed bug (fixed)

building Haiku with the cross compiler tools (GCC 2.95) on a debian system fails.

Reported by: kaoutsis Owned by: bonefish
Priority: normal Milestone: R1
Component: Build System Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

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

Attachments (1)

fix_linux_gcc2.53_build.diff (2.6 KB) - added by kaoutsis 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by kaoutsis

comment:1 Changed 11 years ago by bonefish

Resolution: fixed
Status: newclosed

Thanks! Applied in hrev24109.

Note: See TracTickets for help on using tickets.