Menu

make failes on sles10.1 x86-64

Help
2007-09-01
2013-04-18
  • Rob Aronson

    Rob Aronson - 2007-09-01

    I'm trying to compile the driver on a machine with SLES10.1 X84_64, I get the following errors. I tried making a clone config and making modules. I think this is something that needs a patch to work, I don't know which one. Thanks

    xenhost1:~/et131x-1.2.3 # uname -a
    Linux xenhost1 2.6.16.46-0.12-smp #1 SMP Thu May 17 14:00:09 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux
    xenhost1:~/et131x-1.2.3 # make
    #@make -C /lib/modules/2.6.16.46-0.12-smp/build M=/root/et131x-1.2.3 modules
    make[1]: Entering directory `/usr/src/linux-2.6.16.46-0.12-obj/x86_64/smp'
    make -C ../../../linux-2.6.16.46-0.12 O=../linux-2.6.16.46-0.12-obj/x86_64/smp modules
      CC [M]  /root/et131x-1.2.3/et131x_initpci.o
    /root/et131x-1.2.3/et131x_initpci.c:1675:51: error: macro "INIT_WORK" requires 3 arguments, but only 2 given
    /root/et131x-1.2.3/et131x_initpci.c: In function ‘et131x_pci_setup’:
    /root/et131x-1.2.3/et131x_initpci.c:1675: error: ‘INIT_WORK’ undeclared (first use in this function)
    /root/et131x-1.2.3/et131x_initpci.c:1675: error: (Each undeclared identifier is reported only once
    /root/et131x-1.2.3/et131x_initpci.c:1675: error: for each function it appears in.)
    make[4]: *** [/root/et131x-1.2.3/et131x_initpci.o] Error 1
    make[3]: *** [_module_/root/et131x-1.2.3] Error 2
    make[2]: *** [modules] Error 2
    make[1]: *** [modules] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.16.46-0.12-obj/x86_64/smp'
    make: *** [modules] Error 2

     
    • hammer

      hammer - 2007-09-18

      I get exactly the same thing with Fedora Core 6???

      2.6.16-1.2115_FC4 #1 Mon Jun 5 14:45:53 EDT 2006 i686 i686 i386 GNU/Linux
      [root@linux et131x-1.2.3]# make
      #@make -C /lib/modules/2.6.16-1.2115_FC4/build M=/home/et131source/et131x-1.2.3 modules
      make[1]: Entering directory `/usr/src/kernels/2.6.16-1.2115_FC4-i686'
        CC [M]  /home/et131source/et131x-1.2.3/et131x_initpci.o
      /home/et131source/et131x-1.2.3/et131x_initpci.c:1675:51: error: macro "INIT_WORK" requires 3 arguments, but only 2 given
      /home/et131source/et131x-1.2.3/et131x_initpci.c: In function ‘et131x_pci_setup’:
      /home/et131source/et131x-1.2.3/et131x_initpci.c:1675: error: ‘INIT_WORK’ undeclared (first use in this function)
      /home/et131source/et131x-1.2.3/et131x_initpci.c:1675: error: (Each undeclared identifier is reported only once
      /home/et131source/et131x-1.2.3/et131x_initpci.c:1675: error: for each function it appears in.)
      make[2]: *** [/home/et131source/et131x-1.2.3/et131x_initpci.o] Error 1
      make[1]: *** [_module_/home/et131source/et131x-1.2.3] Error 2
      make[1]: Leaving directory `/usr/src/kernels/2.6.16-1.2115_FC4-i686'
      make: *** [modules] Error 2
      [root@linux et131x-1.2.3]#

      Any ideas?  I also get the same error when trying to make the older version et131x-1.2.2?

      Thanx in advance

       

Log in to post a comment.