Find the answer to your Linux question:
Results 1 to 2 of 2
I have an existing driver that works on fedora-14 kernel (2.6.35.14). I need to rebuild it to run on the fedora-17 kernel (3.4.0). Driver is named qf9700 and is for ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    1

    Errors when building usb ethernet driver for new kernel


    I have an existing driver that works on fedora-14 kernel (2.6.35.14). I need to rebuild it to run on the fedora-17 kernel (3.4.0). Driver is named qf9700 and is for a USB-NIC 10/100BT. When I build, I receive this error:

    Building QF9700 USB2NET chip driver...
    make[1]: Entering directory `/usr/src/kernels/3.3.7-1.fc17.i686'
    make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
    CC [M] /home/yossi/rpmbuild/BUILD/qf9700-kmod-1.0.0/qf9700.o
    /home/yossi/rpmbuild/BUILD/qf9700-kmod-1.0.0/qf9700.c:391:2: error: unknown field 'ndo_set_multicast_list' specified in initializer
    /home/yossi/rpmbuild/BUILD/qf9700-kmod-1.0.0/qf9700.c:391:2: warning: initialization from incompatible pointer type [enabled by default]
    /home/yossi/rpmbuild/BUILD/qf9700-kmod-1.0.0/qf9700.c:391:2: warning: (near initialization for 'qf9700_netdev_ops.ndo_set_config') [enabled by default]
    make[2]: *** [/home/yossi/rpmbuild/BUILD/qf9700-kmod-1.0.0/qf9700.o] Error 1
    make[1]: *** [_module_/home/yossi/rpmbuild/BUILD/qf9700-kmod-1.0.0] Error 2
    make[1]: Leaving directory `/usr/src/kernels/3.3.7-1.fc17.i686'
    make: *** [all] Error 2
    error: Bad exit status from /var/tmp/rpm-tmp.s7Hd83 (%build)


    RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.s7Hd83 (%build)


    It seems that something may have changed between the kernel versions that is the cause of this. Anybody know what this might be and how to fix it?

    Thanks,

    Perazim

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,512
    Go to The Linux Kernel Archives - a lot of stuff has changed between 2.6 and 3.x.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •