ndiswrapper 1.16 fails compile on 2.6.16.14

Help
2006-05-10
2012-10-06
  • nicholas larson

    nicholas larson - 2006-05-10

    Hello-- I've been using ndiswrapper 1.15 with my 2.6.16 series kernels for some time now with no problems, but the latest release won't compile on my intel32x gentoo system using the 2.6.16.14 kernel. Here's the error:

    localhost ndiswrapper-1.16 # make
    make -C driver
    make[1]: Entering directory /home/nicholas/ndiswrapper-1.16/driver' make -C /lib/modules/2.6.16.14/build SUBDIRS=/home/nicholas/ndiswrapper-1.16/driver \ DRIVER_VERSION=1.16 make[2]: Entering directory/home/nicholas/src/linux-2.6.16.14'
    LD /home/nicholas/ndiswrapper-1.16/driver/built-in.o
    CC [M] /home/nicholas/ndiswrapper-1.16/driver/hal.o
    In file included from /home/nicholas/ndiswrapper-1.16/driver/ntoskernel.h:334,
    from /home/nicholas/ndiswrapper-1.16/driver/hal.c:24:
    /home/nicholas/ndiswrapper-1.16/driver/winnt_types.h:125:2: #error "gcc 3.4 or newer should be used for compiling this module"
    In file included from /home/nicholas/ndiswrapper-1.16/driver/hal.c:24:
    /home/nicholas/ndiswrapper-1.16/driver/ntoskernel.h:698: error: syntax error before "LONG"
    /home/nicholas/ndiswrapper-1.16/driver/ntoskernel.h:699: error: syntax error before "LONG"
    /home/nicholas/ndiswrapper-1.16/driver/ntoskernel.h:700: error: syntax error before "struct"
    /home/nicholas/ndiswrapper-1.16/driver/ntoskernel.h:702: error: syntax error before "struct"
    /home/nicholas/ndiswrapper-1.16/driver/ntoskernel.h:704: error: syntax error before "struct"
    /home/nicholas/ndiswrapper-1.16/driver/ntoskernel.h:730: error: syntax error before "NTSTATUS"
    /home/nicholas/ndiswrapper-1.16/driver/ntoskernel.h:765: error: syntax error before "KIRQL"
    /home/nicholas/ndiswrapper-1.16/driver/ntoskernel.h:766: error: syntax error before "void"
    /home/nicholas/ndiswrapper-1.16/driver/ntoskernel.h:767: error: syntax error before "KIRQL"
    /home/nicholas/ndiswrapper-1.16/driver/ntoskernel.h:768: error: syntax error before "void"
    /home/nicholas/ndiswrapper-1.16/driver/ntoskernel.h:769: error: syntax error before "void"
    /home/nicholas/ndiswrapper-1.16/driver/ntoskernel.h:770: error: syntax error before "void"
    /home/nicholas/ndiswrapper-1.16/driver/ntoskernel.h:822: error: syntax error before "LONG"
    /home/nicholas/ndiswrapper-1.16/driver/ntoskernel.h:823: error: syntax error before "void"
    /home/nicholas/ndiswrapper-1.16/driver/hal.c:122: error: syntax error before "KIRQL"
    /home/nicholas/ndiswrapper-1.16/driver/hal.c:132: error: syntax error before "void"
    /home/nicholas/ndiswrapper-1.16/driver/hal.c:140: error: syntax error before "KIRQL"
    /home/nicholas/ndiswrapper-1.16/driver/hal.c:147: error: syntax error before "void"
    /home/nicholas/ndiswrapper-1.16/driver/hal.c:154: error: syntax error before "void"
    /home/nicholas/ndiswrapper-1.16/driver/hal.c:166: error: syntax error before "void"
    make[3]: [/home/nicholas/ndiswrapper-1.16/driver/hal.o] Error 1
    make[2]:
    [module/home/nicholas/ndiswrapper-1.16/driver] Error 2
    make[2]: Leaving directory /home/nicholas/src/linux-2.6.16.14' make[1]: *** [default] Error 2 make[1]: Leaving directory/home/nicholas/ndiswrapper-1.16/driver'
    make: *** [all] Error 2
    localhost ndiswrapper-1.16 #

    I'm using gcc-3.3.5

    Thanks in advance
    N

     
    • nicholas larson

      nicholas larson - 2006-05-12

      thanks. missed that part. looks like it's time to upgrade my system, since the whole thing is basically built from scratch on gcc 3.3.5.

      N

       
    • Giridhar Pemmasani

      From the messages above:

      /home/nicholas/ndiswrapper-1.16/driver/winnt_types.h:125:2: #error "gcc 3.4 or newer should be used for compiling this module"

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks