LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   problems building modules (http://www.linuxquestions.org/questions/linux-hardware-18/problems-building-modules-614309/)

chewbo 01-17-2008 12:09 PM

problems building modules
 
I have some problems building modules

Quote:

/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_rcv_dev_event': ▒
│ /usr/src/modules/madwifi/ath/if_ath.c:9758: error: 'struct net_device' ▒
│ has no member named 'open' ▒
│ /usr/src/modules/madwifi/ath/if_ath.c:9758: warning: comparison of ▒
│ distinct pointer types lacks a cast ▒
│ make[5]: *** [/usr/src/modules/madwifi/ath/if_ath.o] Error 1 ▒
│ make[4]: *** [/usr/src/modules/madwifi/ath] Error 2 ▒
│ make[3]: *** [_module_/usr/src/modules/madwifi] Error 2 ▒
│ make[3]: Leaving directory `/usr/src/linux-source-2.6.18' ▒
│ make[2]: *** [modules] Fehler 2 ▒
│ make[2]: Leaving directory `/usr/src/modules/madwifi' ▒
│ make[1]: *** [binary-modules] Fehler 2 ▒
│ make[1]: Leaving directory `/usr/src/modules/madwifi' ▮
│ make: *** [kdist_build] Fehler 2

With madwifi. And something looking similar with my ati radeon xpress 1100

Quote:

/usr/src/modules/fglrx/firegl_public.c:6183: warning: return makes ▒
│ pointer from integer without a cast ▒
│ /usr/src/modules/fglrx/firegl_public.c: In function ▒
│ ‘KAS_GetTicksPerSecond’: ▒
│ /usr/src/modules/fglrx/firegl_public.c:6205: error: ‘HZ’ undeclared ▒
│ (first use in this function) ▒
│ /usr/src/modules/fglrx/firegl_public.c:6205: warning: return makes ▒
│ integer from pointer without a cast ▒
│ make[2]: *** [/usr/src/modules/fglrx/firegl_public.o] Fehler 1 ▒
│ make[1]: *** [_module_/usr/src/modules/fglrx] Fehler 2 ▒
│ make[1]: Leaving directory `/usr/src/linux-source-2.6.18' ▮
│ make: *** [build] Fehler 2
I googled for a solution, installed packages.....
I am running a Debin etch with an amd64. Kernel is 2.6.18
Thanks for help
chewbo


All times are GMT -5. The time now is 06:51 AM.