VirtualBox

Opened 12 years ago

Closed 12 years ago

#10739 closed defect (fixed)

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

Reported by: kihjin Owned by:
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 (2)

comment:1 by Frank Mehnert, 12 years ago

Summary: Failed build of OSE on Ubuntu Server 12.04 with latest updatesFailed 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 by Frank Mehnert, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use