Compiling driver fails, missing system headers.

quiztli at lavabit.com quiztli at lavabit.com
Fri May 24 15:10:31 UTC 2013


Hello

I have a computer running 12.04 LTS where I have to build the NIC
(=network) driver. This is the information lspci reports about the
hardware:

03:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57788 Gigabit
Ethernet PCIe (rev 01)
	Subsystem: Dell XPS 8300
	Flags: bus master, fast devsel, latency 0, IRQ 19
	Memory at fb100000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: tg3
	Kernel modules: tg3

The driver I'm trying to compile is found here:
http://www.broadcom.com/support/license.php?file=570x/linux-3.124c.zip

I get an error message about a missing 'asm/system.h' file when I try to
compile. The kernel currently in use is 3.5.0-30 and I have the packages
linux-headers-3.5.0-30 and linux-headers-3.5.0-30-generic installed.

It seems as if ubuntu has markedly changed the way these files are
located. I don't even have a asm folder, only asm-generic in /usr/include.

How can I compile the driver and get a much sought internet connection? :)






More information about the ubuntu-users mailing list