RE: afterburner build errror "disable macro expansion for binutils"

Jan Stoess <[email protected]> Thu, 28 Apr 2011 10:21:59 +0000
Newsgroups gmane.comp.micro-kernel.l4.l4ka.general
Message-ID <[email protected]>
Hi Gerd,

I've just pushed some updates to the afterburner to make it run again with =
the current pistachio version. Can you have a try?

Thanks,
-Jan=20

--
Dr. Jan Stoess, KIT System Architecture Group
Phone: +49 (721) 6084 4056


> -----Original Message-----
> From: [email protected] [mailto:[email protected]
> karlsruhe.de] On Behalf Of Gerd Wittchen
> Sent: Wednesday, April 20, 2011 12:07 PM
> To: [email protected]
> Subject: afterburner build errror "disable macro expansion for binutils"
>=20
> Hi,
>=20
> I 'm trying to compile the afterburner framework but i can't get any debu=
g or
> wedge module working.
>=20
>=20
> 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 binutil=
s 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-chai=
n 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 wedg=
es
> 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?
>=20
>=20
> If i configure any wedges or debug option i get error like this.
>=20
> /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 functio=
n 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)
>=20
> Any suggestions which will point me in the right direction are welcome.
>=20
> Thanks
> Gerd
>=20