Ticket #1843 (closed bug: fixed)

Opened 9 months ago

Last modified 9 months ago

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 development
Cc: Blocked By:
Platform: All Blocking:

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

fix_linux_gcc2.53_build.diff (2.6 kB) - added by kaoutsis 9 months ago.

Change History

Changed 9 months ago by kaoutsis

Changed 9 months ago by bonefish

  • status changed from new to closed
  • resolution set to fixed

Thanks! Applied in r24109.

Note: See TracTickets for help on using tickets.