afterburner build errror "disable macro expansion for binutils"

Gerd Wittchen <[email protected]> Wed, 20 Apr 2011 10:07:19 +0000 (UTC)
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Message-ID <[email protected]>
Hi,

I 'm trying to compile the afterburner framework but i can't get any debug or
wedge module working.


I did use the automatic build path truth "make world" on my Ubuntu 9.10 with an
older tool-chain (gcc 3.4.6 ) but i couldn't even get the binutils build.
So i move on a older Ubuntu 7.10 version and tried the "make world" build script
again.
The Build did not complete entirely but i was able to build the tool-chain with
an gcc 3.4.4.
So i copied the tool-chain, witch was build by the "make world" target,  to my
newer Ubuntu 9.10 system.
The "make world" script did now complete but only if I opted out all wedges or
debug options.
According to the documentation in the afterburner-wedge directory the binutils
need to be patched/extend to "disable macro expansion".
But i could not find any binutils patch.
What am i missing?


If i configure any wedges or debug option i get error like this.

/l4ka-resourcemon/print.cc: 
In function `int trace_printf(debug_id_t, const char*, ...)':
/l4ka-resourcemon/print.cc:565: 
error: `__L4_TBUF_GET_NEXT_RECORD' undeclared (first use this function)
/l4ka-resourcemon/print.cc:565: 
error: (Each undeclared identifier is reported 
only once for each function it appears in.)
/l4ka-resourcemon/print.cc:572: 
error: `__L4_TBUF_STORE_STR' undeclared (first use this function)
/l4ka-resourcemon/print.cc:580: 
error: `__L4_TBUF_STORE_DATA' undeclared (first use this function)

Any suggestions which will point me in the right direction are welcome.

Thanks
Gerd