Share

Tundra Universe II PCI2VME bridge driver

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

missing include in 2.4 driver?

You are viewing a single message from this topic. View all messages.

  1. 2005-05-17 15:47:58 UTC
    Hi,

    When trying to build the 2.4 kernel module (for a 2.4.19 kernel) I was getting parsing errors:

    gcc -I/lib/modules/2.4.19-4a/build/include -I../defs -O2 -Wall -D__KERNEL__ -c universeII.c
    universeII.c:1539: parse error before `uni_cleanup_module'
    universeII.c:1540: warning: return type defaults to `int'
    universeII.c: In function `uni_cleanup_module':
    universeII.c:1589: warning: control reaches end of non-void function
    universeII.c: At top level:
    ...

    Adding the following include fixed things (at least so that it compiles):

    #include <linux/init.h>
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.