Skip to content

Instantly share code, notes, and snippets.

@atiq-cs
Created December 20, 2016 00:07
Show Gist options
  • Save atiq-cs/3198cf1f57e0714ceb17351ee7a5d61c to your computer and use it in GitHub Desktop.
Save atiq-cs/3198cf1f57e0714ceb17351ee7a5d61c to your computer and use it in GitHub Desktop.
Build log of TF 3200 Driver build which fails on sundance
make -C /lib/modules/2.6.32-220.el6.i686/build SUBDIRS=/root/LinuxDriver modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-220.el6.i686'
CC [M] /root/LinuxDriver/sundance_main.o
/root/LinuxDriver/sundance_main.c: In function ‘sundance_probe1’:
/root/LinuxDriver/sundance_main.c:712: error: implicit declaration of function ‘SET_MODULE_OWNER’
/root/LinuxDriver/sundance_main.c:735: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c:762: error: ‘struct net_device’ has no member named ‘open’
/root/LinuxDriver/sundance_main.c:763: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/root/LinuxDriver/sundance_main.c:764: error: ‘struct net_device’ has no member named ‘stop’
/root/LinuxDriver/sundance_main.c:765: error: ‘struct net_device’ has no member named ‘get_stats’
/root/LinuxDriver/sundance_main.c:766: error: ‘struct net_device’ has no member named ‘set_multicast_list’
/root/LinuxDriver/sundance_main.c:767: error: ‘struct net_device’ has no member named ‘set_mac_address’
/root/LinuxDriver/sundance_main.c:768: error: ‘struct net_device’ has no member named ‘do_ioctl’
/root/LinuxDriver/sundance_main.c:769: error: ‘struct net_device’ has no member named ‘tx_timeout’
/root/LinuxDriver/sundance_main.c:771: error: ‘struct net_device’ has no member named ‘change_mtu’
/root/LinuxDriver/sundance_main.c: In function ‘mdio_read’:
/root/LinuxDriver/sundance_main.c:1029: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c: In function ‘mdio_write’:
/root/LinuxDriver/sundance_main.c:1059: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c: In function ‘netdev_open’:
/root/LinuxDriver/sundance_main.c:1088: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c:1094: error: ‘SA_SHIRQ’ undeclared (first use in this function)
/root/LinuxDriver/sundance_main.c:1094: error: (Each undeclared identifier is reported only once
/root/LinuxDriver/sundance_main.c:1094: error: for each function it appears in.)
/root/LinuxDriver/sundance_main.c: In function ‘check_speed’:
/root/LinuxDriver/sundance_main.c:1195: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c: In function ‘netdev_timer’:
/root/LinuxDriver/sundance_main.c:1242: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c: In function ‘tx_timeout’:
/root/LinuxDriver/sundance_main.c:1258: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c: In function ‘init_ring’:
/root/LinuxDriver/sundance_main.c:1311: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c: In function ‘tx_poll’:
/root/LinuxDriver/sundance_main.c:1354: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c: In function ‘start_tx’:
/root/LinuxDriver/sundance_main.c:1381: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c: In function ‘reset_tx’:
/root/LinuxDriver/sundance_main.c:1423: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c: In function ‘intr_handler’:
/root/LinuxDriver/sundance_main.c:1487: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c: In function ‘rx_poll’:
/root/LinuxDriver/sundance_main.c:1621: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c:1677: error: implicit declaration of function ‘eth_copy_and_sum’
/root/LinuxDriver/sundance_main.c: In function ‘refill_rx’:
/root/LinuxDriver/sundance_main.c:1718: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c: In function ‘netdev_error’:
/root/LinuxDriver/sundance_main.c:1749: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c: In function ‘get_stats’:
/root/LinuxDriver/sundance_main.c:1772: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c: In function ‘set_rx_mode’:
/root/LinuxDriver/sundance_main.c:1801: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c: In function ‘netdev_ethtool_ioctl’:
/root/LinuxDriver/sundance_main.c:1869: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c: In function ‘netdev_ioctl’:
/root/LinuxDriver/sundance_main.c:1953: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c: In function ‘netdev_close’:
/root/LinuxDriver/sundance_main.c:2001: error: ‘struct net_device’ has no member named ‘priv’
/root/LinuxDriver/sundance_main.c: In function ‘sundance_remove1’:
/root/LinuxDriver/sundance_main.c:2118: error: ‘struct net_device’ has no member named ‘priv’
make[2]: *** [/root/LinuxDriver/sundance_main.o] Error 1
make[1]: *** [_module_/root/LinuxDriver] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.32-220.el6.i686'
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment