Skip to contentSkip to conversation

build failure, missing libvdeplug.h?

DISCUSSION [email protected] 2 participants 2 messages Nov 2, 2007

lore
Share & tools
lore
#0 lore raw

Hello!

I tried 2.6.24-rc1-git11 with "allmodconfig ARCH=um" today.

this gave at least two errors - i needed to set CONFIG_SMP=n and CONFIG_UML_NET_VDE=n to make it compile.

not sure if options should be set to "n" automatically or being fixed differently, but if there is something broken or some header file missing, from an "end-user`s" point of view errors like this may be hard to get around.

its nothing against UML, its just the fact that i would expect "allmodconfig" or "allyesconfig" to work out of the box. one should be able to compile a kernel without the need to use google, imho.

many automated cross-compile tests i have seen till now mostly show more broken than successful builds, as you can see at http://l4x.org/k , and issues like this don`t help making this better.

minor issue, though......

regards
roland

Quoted 11 lines · Roel Kluin

CC arch/um/drivers/vde_user.o
/home/roel/dnld/src/kernel/git/linux-2.6/arch/um/drivers/vde_user.c:8:24: error: \
libvdeplug.h: No such file or directory

/home/roel/dnld/src/kernel/git/linux-2.6/arch/um/drivers/vde_user.c: In function \
                'vde_user_init':

/home/roel/dnld/src/kernel/git/linux-2.6/arch/um/drivers/vde_user.c:18: error: \
'VDECONN' undeclared (first use in this function)
...

the file libvdeplug.h is missing and I can't find it neither in the tree or on the net. 'git-grep VDECONN' shows that VDECONN isn't defined anywhere.

This is an option which requires support on the host (in the form of vde being installed - pcap is another example of this).

Jeff

Quoted 8 lines
Quoted 6 lines · Roel Kluin

the file libvdeplug.h is missing

There is a reference to http://wiki.virtualsquare.org/index.php/Main_Page in the Kconfig (also added by this commit).
After reverting this commit the build continues. possibly the header libvdeplug.h was forgotten?

Quoted 6 lines

Sorry for answering myself, but apparently it can be found here:

http://vde.sourceforge.net/

I think, however that there is a 'depends on' missing in kconfig - to prevent build failure?

______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club! Jetzt testen! http://produkte.web.de/club/?mc=021130

#1 lore raw
Quoted 3 lines · On Fri, Nov 02, 2007 at 01:05:59PM +0100, [email protected] wrote:

I tried 2.6.24-rc1-git11 with "allmodconfig ARCH=um" today.

this gave at least two errors - i needed to set CONFIG_SMP=n

SMP should depend on BROKEN for now, and I thought it did.

Quoted 1 line

and CONFIG_UML_NET_VDE=n to make it compile.

For this, my immediate reaction is that if you're going to build something, the dependencies should be there. However, I guess we should have some sympathy for the automatic allyesconfig builders. I'm wondering whether, instead of failing the build if headers or libraries aren't available, compile in some sort of stub which will produce a run-time error instead.

The violates my preference to have error detected as early as possible, but maybe it's preferable to the current situation.

Jeff

Signature · 1 line
Work email - jdike at linux dot intel dot com