LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 03-31-2005, 04:23 PM   #1
jasone
Member
 
Registered: Oct 2004
Location: Sweden
Distribution: FreeBSD, OpenBSD, Debian Etch
Posts: 160

Rep: Reputation: 30
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!
 
Old 04-01-2005, 02:27 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
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).
 
Old 04-01-2005, 08:15 AM   #3
jasone
Member
 
Registered: Oct 2004
Location: Sweden
Distribution: FreeBSD, OpenBSD, Debian Etch
Posts: 160

Original Poster
Rep: Reputation: 30
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
make command gives errors whizz Linux - Newbie 4 04-02-2005 11:14 AM
command: make errors alltime Mandriva 0 01-26-2005 02:31 PM
Using the 'make' command consistently returns errors Baryonic Being Linux - Software 4 03-24-2004 01:02 PM
Log errors from 'make' command, how do i? winky Linux - Software 13 08-21-2003 11:31 AM
LFS Chap 5 - gcc first make command errors antken Linux From Scratch 3 03-17-2003 10:38 PM


All times are GMT -5. The time now is 03:08 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration