﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
10739,Failed build of OSE on Ubuntu Server 12.04 with latest updates => Fixed in SVN,kihjin,,"1. Run configure

./configure --disable-alsa --disable-opengl --disable-pulse   --build-headless --disable-hardening --disable-java --enable-vnc --disable-docs

2. source env.sh
3. kmk -s

(output reduced)


{{{
kBuild: xsltproc Python constants - /home/frozen/VirtualBox-4.1.18/src/VBox/Main/glue/constants-python.xsl
In file included from /home/frozen/VirtualBox-4.1.18/src/VBox/HostDrivers/VBoxNetAdp/linux/VBoxNetAdp-linux.c:24:0:
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1150:15: error: missing binary operator before token ""(""
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h: In function ‘netdev_uses_dsa_tags’:
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1416:9: error: ‘struct net_device’ has no member named ‘dsa_ptr’
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1417:31: error: ‘struct net_device’ has no member named ‘dsa_ptr’
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h: In function ‘netdev_uses_trailer_tags’:
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1435:9: error: ‘struct net_device’ has no member named ‘dsa_ptr’
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1436:35: error: ‘struct net_device’ has no member named ‘dsa_ptr’
In file included from /home/frozen/VirtualBox-4.1.18/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c:26:0:
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1150:15: error: missing binary operator before token ""(""
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h: In function ‘netdev_uses_dsa_tags’:
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1416:9: error: ‘struct net_device’ has no member named ‘dsa_ptr’
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1417:31: error: ‘struct net_device’ has no member named ‘dsa_ptr’
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h: In function ‘netdev_uses_trailer_tags’:
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1435:9: error: ‘struct net_device’ has no member named ‘dsa_ptr’
/lib/modules/3.2.0-26-generic/build/include/linux/netdevice.h:1436:35: error: ‘struct net_device’ has no member named ‘dsa_ptr’
kBuild: Installing /home/frozen/VirtualBox-4.1.18/out/linux.amd64/release/bin/sdk/bindings/glue/java/TestVBox.java
}}}


Line 1150 on netdevice.h refers to

#if IS_ENABLED(CONFIG_NET_DSA)

""IS_ENABLED"" is defined in <linux/kconfig.h>.

I was able to work around this issue by adding an include to <linux/kconfig.h> to netdevice.h",defect,closed,other,VirtualBox 4.1.18,fixed,,,all,Linux
