VirtualBox

Ticket #10739 (closed defect: fixed)

Opened 22 months ago

Last modified 20 months ago

Failed build of OSE on Ubuntu Server 12.04 with latest updates => Fixed in SVN

Reported by: kihjin Owned by:
Priority: minor Component: other
Version: VirtualBox 4.1.18 Keywords:
Cc: Guest type: all
Host type: Linux

Description

  1. Run configure

./configure --disable-alsa --disable-opengl --disable-pulse --build-headless --disable-hardening --disable-java --enable-vnc --disable-docs

  1. source env.sh
  2. 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

Change History

comment:1 Changed 22 months ago by frank

  • Summary changed from Failed build of OSE on Ubuntu Server 12.04 with latest updates to Failed build of OSE on Ubuntu Server 12.04 with latest updates => Fixed in SVN

Yes, please see here for a solution. The fix will be included in the next maintenance release.

comment:2 Changed 20 months ago by frank

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use