Skip to contentSkip to conversation

tools build error in xen-unstable tip (c/s 19515)?

DISCUSSION Dan Magenheimer 2 participants 3 messages Apr 9, 2009

lore
Share & tools
lore
#0 lore raw

I'm unable to build tools in xen-unstable tip (19515). Failure occurs in tools/xenpmd. The long list of messages refer to undefined errno values, but the make output also looks a bit strange, particularly:

gcc ... -lxenstore xenpmd.c ../../tools/include/xen/io/xs_wire.h -o xenpmd

(don't think I understand why that include file is there...)

#1 lore raw
Quoted 8 lines · Dan Magenheimer

I'm unable to build tools in xen-unstable tip (19515). Failure occurs in tools/xenpmd. The long list of messages refer to undefined errno values, but the make output also looks a bit strange, particularly:

gcc ... -lxenstore xenpmd.c ../../tools/include/xen/io/xs_wire.h -o xenpmd

(don't think I understand why that include file is there...)

Perhaps some implicit build rule is tripping you up? We should have an explicit target-from-.c rule in that Makefile I think.

-- Keir

#2 lore raw
Quoted 9 lines
Quoted 6 lines · Dan Magenheimer

I'm unable to build tools in xen-unstable tip (19515). Failure occurs in tools/xenpmd. The long list of messages refer to undefined errno values, but the make output also looks a bit strange, particularly:

gcc ... -lxenstore xenpmd.c

Quoted 8 lines

../../tools/include/xen/io/xs_wire.h -o xenpmd

Quoted 2 lines

(don't think I understand why that include file is there...)

Perhaps some implicit build rule is tripping you up? We should have an explicit target-from-.c rule in that Makefile I think.

-- Keir

Well a fresh clone seems to build tools fine, so must be something I accidentally changed or didn't properly revert.

Thanks and sorry for the noise.