LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   The MAKE command SuSE 9.2 gives errors (https://www.linuxquestions.org/questions/suse-opensuse-60/the-make-command-suse-9-2-gives-errors-308337/)

jasone 03-31-2005 04:23 PM

The MAKE command SuSE 9.2 gives errors
 
Hi, everybody!

I have a problem with the "make command" for new orinoco drivers in suse 9.2 (downloadable dvd). They include a makefile for the drivers but when I try this command I get some failures:

Code:

linux:~/orinoco-0.13e # make
make -C /lib/modules/2.6.8-24.13-default/build SUBDIRS=/root/orinoco-0.13e modules
make[1]: Entering directory `/usr/src/linux-2.6.8-24.13-obj/i386/default'
make -C ../../../linux-2.6.8-24.13 O=../linux-2.6.8-24.13-obj/i386/default modules
  CC [M]  /root/orinoco-0.13e/orinoco_cs.o
In file included from /root/orinoco-0.13e/orinoco.h:15,
                from /root/orinoco-0.13e/orinoco_cs.c:42:
/root/orinoco-0.13e/hermes.h: I funktion `hermes_present':
/root/orinoco-0.13e/hermes.h:368: varning: passing arg 1 of `readw' skapar pekare från heltal utan typkonvertering
/root/orinoco-0.13e/hermes.h: I funktion `hermes_set_irqmask':
/root/orinoco-0.13e/hermes.h:374: varning: passing arg 2 of `writew' skapar pekare från heltal utan typkonvertering
/root/orinoco-0.13e/hermes.h: I funktion `hermes_read_words':
/root/orinoco-0.13e/hermes.h:417: varning: passing arg 1 of `readw' skapar pekare från heltal utan typkonvertering
/root/orinoco-0.13e/hermes.h: I funktion `hermes_write_words':
/root/orinoco-0.13e/hermes.h:437: varning: passing arg 2 of `writew' skapar pekare från heltal utan typkonvertering
/root/orinoco-0.13e/hermes.h: I funktion `hermes_clear_words':
/root/orinoco-0.13e/hermes.h:453: varning: passing arg 2 of `writew' skapar pekare från heltal utan typkonvertering
/root/orinoco-0.13e/orinoco_cs.c: I funktion `orinoco_cs_hard_reset':
/root/orinoco-0.13e/orinoco_cs.c:134: varning: implicit declaration of function`CardServices'
/root/orinoco-0.13e/orinoco_cs.c: I funktion `orinoco_cs_attach':
/root/orinoco-0.13e/orinoco_cs.c:206: error: structure has no member named `release'
/root/orinoco-0.13e/orinoco_cs.c:207: error: structure has no member named `release'
/root/orinoco-0.13e/orinoco_cs.c:208: error: structure has no member named `release'
/root/orinoco-0.13e/orinoco_cs.c: I funktion `init_orinoco_cs':
/root/orinoco-0.13e/orinoco_cs.c:688: varning: implicit declaration of function`register_pccard_driver'
/root/orinoco-0.13e/orinoco_cs.c: I funktion `exit_orinoco_cs':
/root/orinoco-0.13e/orinoco_cs.c:696: varning: implicit declaration of function`unregister_pccard_driver'
make[4]: *** [/root/orinoco-0.13e/orinoco_cs.o] Fel 1
make[3]: *** [_module_/root/orinoco-0.13e] Fel 2
make[2]: *** [modules] Fel 2
make[1]: *** [modules] Fel 2
make[1]: Leaving directory `/usr/src/linux-2.6.8-24.13-obj/i386/default'
make: *** [modules] Fel 2
linux:~/orinoco-0.13e #

The above languange is in some Swedish where "Fel" = failure or something like that and "skapar pekare från heltal utan typkonvertering" = creating pointer from integer without type converting.

What the heck is the problem? Does it try to install in wrong directory, if so how do I change it?

Thanks much in advance!

abisko00 04-01-2005 02:27 AM

Are the kernel sources installed (rpm -q kernel-source)? I have the impression that the link /lib/modules/2.6.8-24.13-default/build points to /usr/src/linux-2.6.8-24.13-obj, which would be the case when the 'real' sources do not exist.

If the sources are installed, you may need to check if kernel and sources have the correct versions ('uname -r' and 'rpm -q kernel-source' must give the same versions).

jasone 04-01-2005 08:15 AM

Well it says:

Code:

XXXXX@linux:~> uname -r
2.6.8-24.13-default
XXXXX@linux:~> rpm -q kernel-source
kernel-source-2.6.8-24.13
XXXXX@linux:~>

Do I need one that includes that "-default" name?

Also I wonder how to remove the old drivers? Kan I remove all the files in the /drivers/net/wireless/ directory?


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