Compiling under Linux 2.6.15.1 fails

Help
2006-01-25
2013-04-02
  • Marcus Rejås

    Marcus Rejås - 2006-01-25

    Hello!

    I've been upgrading two of my routers to Linux 2.6.15.1 from 2.6.9. When compiling CIPE it stops which these error messages.

    make -C /var/usr/src/linux-2.6.15.1 SUBDIRS=/var/usr/src/cipe-1.6.0/2.6.15.1-skas3-v8.2-i386-SMP-cb modules
    make[2]: Entering directory `/var/usr/src/linux-2.6.15.1'
      CC [M]  /var/usr/src/cipe-1.6.0/2.6.15.1-skas3-v8.2-i386-SMP-cb/module.o
    In file included from /var/usr/src/cipe-1.6.0/2.6.15.1-skas3-v8.2-i386-SMP-cb/module.c:15:
    /var/usr/src/cipe-1.6.0/2.6.15.1-skas3-v8.2-i386-SMP-cb/cipe.h:274: warning: `CURRENT_TIME_SEC' redefined
    include/linux/time.h:86: warning: this is the location of the previous definition
      CC [M]  /var/usr/src/cipe-1.6.0/2.6.15.1-skas3-v8.2-i386-SMP-cb/device.o
    In file included from /var/usr/src/cipe-1.6.0/2.6.15.1-skas3-v8.2-i386-SMP-cb/device.c:15:
    /var/usr/src/cipe-1.6.0/2.6.15.1-skas3-v8.2-i386-SMP-cb/cipe.h:274: warning: `CURRENT_TIME_SEC' redefined
    include/linux/time.h:86: warning: this is the location of the previous definition
    /var/usr/src/cipe-1.6.0/2.6.15.1-skas3-v8.2-i386-SMP-cb/device.c: In function `cipe_dev_close':
    /var/usr/src/cipe-1.6.0/2.6.15.1-skas3-v8.2-i386-SMP-cb/device.c:444: structure has no member named `sk_zapped'
    make[3]: *** [/var/usr/src/cipe-1.6.0/2.6.15.1-skas3-v8.2-i386-SMP-cb/device.o] Error 1
    make[2]: *** [_module_/var/usr/src/cipe-1.6.0/2.6.15.1-skas3-v8.2-i386-SMP-cb] Error 2
    make[2]: Leaving directory `/var/usr/src/linux-2.6.15.1'
    make[1]: *** [all25] Error 2
    make[1]: Leaving directory `/var/usr/src/cipe-1.6.0/2.6.15.1-skas3-v8.2-i386-SMP-cb'
    make: *** [all] Error 2
    idefix:/usr/src/cipe-1.6.0#

    Have anyone managed to compile it under 2.6.15.1?

    Ragards,

    Marcus

     
    • Marcus Rejås

      Marcus Rejås - 2006-01-25

      Found the patch among the patches. Sorry for my last post.

      Works great now.

        /Marcus

       
    • R.L.W.

      R.L.W. - 2006-03-17

      I have same problem whit the kernel 2.6.12. I tried to patch it and nothing diferent happend
      Marcus, could you tell me how patch my cipe to build it correctly?
      Thanks
      Guillo

       

Log in to post a comment.