Giter Club home page Giter Club logo

aquantia's Introduction

  • 👋 Hello, my name is @paul-chambers
  • 🏢 My professional background can be found at https://linkedin.com/in/paulchambers
  • 👀 I’m interested in ...
  • 🌱 I’m currently learning ...
  • 💞️ I’m looking to collaborate on ...
  • 📫 How to reach me ...

aquantia's People

Contributors

paul-chambers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

smremde

aquantia's Issues

Unable to build/make driver

Hi there,

So I'm a bit useless at all this stuff, but I don't think this is my fault, but maybe it is.
I've tried to install both your driver and the Aquantia one and I can't make it work.
I have a Debian 8 install (Kernel 3.16.51) and it doesn't seem to matter which directory I'm in or if I use your version or the Aquantia one, running make results in errors as per below and I have no idea how to fix it. Hopefully you can give me some pointers?

make -j4 CC=gcc -C /lib/modules/3.16.0-5-amd64/build M=/home/master/Linux-200 modules
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-5-amd64'
make[1]: Entering directory `/usr/src/linux-headers-3.16.0-5-amd64'
CC [M] /home/master/Linux-200/aq_ethtool.o
CC [M] /home/master/Linux-200/hw_atl/hw_atl_b0.o
CC [M] /home/master/Linux-200/hw_atl/hw_atl_utils.o
CC [M] /home/master/Linux-200/hw_atl/hw_atl_utils_fw2x.o
/home/master/Linux-200/aq_ethtool.c: In function ‘aq_ethtool_get_rss’:
/home/master/Linux-200/aq_ethtool.c:219:12: error: ‘ETH_RSS_HASH_TOP’ undeclared (first use in this function)
hfunc = ETH_RSS_HASH_TOP; / Toeplitz */
^
/home/master/Linux-200/aq_ethtool.c:219:12: note: each undeclared identifier is reported only once for each function it appears in
/home/master/Linux-200/aq_ethtool.c: At top level:
/home/master/Linux-200/aq_ethtool.c:324:2: warning: initialization from incompatible pointer type
.get_rxfh = aq_ethtool_get_rss,
^
/home/master/Linux-200/aq_ethtool.c:324:2: warning: (near initialization for ‘aq_ethtool_ops.get_rxfh’)
/usr/src/linux-headers-3.16.0-5-common/scripts/Makefile.build:262: recipe for target '/home/master/Linux-200/aq_ethtool.o' failed
make[4]: *** [/home/master/Linux-200/aq_ethtool.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/usr/src/linux-headers-3.16.0-5-common/Makefile:1355: recipe for target 'module/home/master/Linux-200' failed
make[3]: *** [module/home/master/Linux-200] Error 2
Makefile:181: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-5-amd64'
Makefile:62: recipe for target 'all' failed
make: *** [all] Error 2

Issues compiling the code

Hi,
I am having issues compiling the code. It is weird, the "hw_features" is clearly in the struct...
any help?

[aquantia-master]$ make
make -j4 CC=gcc -C /lib/modules/2.6.32-754.el6.x86_64/build M=/.../Downloads/aquantia-master modules
make[1]: Entering directory /usr/src/kernels/2.6.32-754.el6.x86_64' CC [M] /.../Downloads/aquantia-master/aq_main.o CC [M] /.../Downloads/aquantia-master/aq_nic.o CC [M] /.../Downloads/aquantia-master/aq_pci_func.o CC [M] /.../Downloads/aquantia-master/aq_vec.o /.../Downloads/aquantia-master/aq_nic.c: In function ‘aq_nic_ndev_init’: /.../Downloads/aquantia-master/aq_nic.c:288: error: ‘struct net_device’ has no member named ‘hw_features’ /.../Downloads/aquantia-master/aq_nic.c: In function ‘aq_nic_start’: /.../Downloads/aquantia-master/aq_nic.c:464: error: void value not ignored as it ought to be /.../Downloads/aquantia-master/aq_nic.c: In function ‘aq_nic_set_multicast_list’: /.../Downloads/aquantia-master/aq_nic.c:701: warning: assignment from incompatible pointer type /.../Downloads/aquantia-master/aq_nic.c:701: error: ‘struct netdev_hw_addr’ has no member named ‘next’ make[2]: *** [/.../Downloads/aquantia-master/aq_nic.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [_module_/.../Downloads/aquantia-master] Error 2 make[1]: Leaving directory /usr/src/kernels/2.6.32-754.el6.x86_64'
make: *** [all] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.