[Aboriginal] Aboriginal post from dahalls at gmail.com requires approval
rob at landley.net
Mon Oct 27 18:57:12 PDT 2014
On 10/27/14 19:02, David Halls wrote:
> Thanks Rob- I've added that.
> I've got a (probably) unrelated problem now:
> In file included from ../include/linux/netdevice.h:30,
> from ll_types.c:24:
> /usr/bin/../include/linux/if_packet.h:194: error: expected
> specifier-qualifier-list before '__aligned_u64'
> distcc ERROR: compile ll_types.c on localhost failed
> make: *** [ll_types.o] Error 1
> make: Leaving directory `/home/iproute2/lib'
> This seems strange as it built fine a couple of days ago and I just
> started over fresh.
> I guess __aligned_u64 is undefined for some reason (probably an ifdef
gcc -E is your friend. :)
But so is sticking "#warning aardvark" into various headers to see
whether or not an #ifdef case is triggering (copy 'em to writeable space
and --bind mount the file back, yes bind mount works on individual
files), and of course the ever-popular:
gcc -E -dM - < /dev/null
Which shows all the builtin #defines for your current compiler. (Works
on cross compilers too!)
More information about the Aboriginal