Unix Technical Forum

make and 2.6.8.1

This is a discussion on make and 2.6.8.1 within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I recently upgraded to slackware 10 and installed kernel 2.8.6.1 on a Dell Latitude C640 laptop. Everything is okay ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 03:21 PM
maxwell
 
Posts: n/a
Default make and 2.6.8.1

I recently upgraded to slackware 10 and installed kernel 2.8.6.1 on a
Dell Latitude C640 laptop. Everything is okay except make exits with a

warning: implicit declaration of function `register ......'

for most of the software I try to compile.

Everything compiles fine under 2.4.26 but I'd like to use the latest
kernel as it has some new features I want.

I have the latest versions of
wireless_tools
binutils
make
module-init-tools
util-linux

Thanks for any suggestions, ideas.

Max

-----Here's the typical output I get-----------

root@darkstar:/sw/orinoco-0.13e# make
make -C /lib/modules/2.6.8.1/build SUBDIRS=/sw/orinoco-0.13e modules
make[1]: Entering directory `/usr/src/linux-2.6.8.1'
CC [M] /sw/orinoco-0.13e/hermes.o
CC [M] /sw/orinoco-0.13e/orinoco.o
CC [M] /sw/orinoco-0.13e/orinoco_cs.o
/sw/orinoco-0.13e/orinoco_cs.c: In function `orinoco_cs_hard_reset':
/sw/orinoco-0.13e/orinoco_cs.c:134: warning: implicit declaration of
function `CardServices'
/sw/orinoco-0.13e/orinoco_cs.c: In function `orinoco_cs_attach':
/sw/orinoco-0.13e/orinoco_cs.c:206: error: structure has no member
named `release'
/sw/orinoco-0.13e/orinoco_cs.c:207: error: structure has no member
named `release'
/sw/orinoco-0.13e/orinoco_cs.c:208: error: structure has no member
named `release'
/sw/orinoco-0.13e/orinoco_cs.c: In function `init_orinoco_cs':
/sw/orinoco-0.13e/orinoco_cs.c:688: warning: implicit declaration of
function `register_pccard_driver'
/sw/orinoco-0.13e/orinoco_cs.c: In function `exit_orinoco_cs':
/sw/orinoco-0.13e/orinoco_cs.c:696: warning: implicit declaration of
function `unregister_pccard_driver'
make[2]: *** [/sw/orinoco-0.13e/orinoco_cs.o] Error 1
make[1]: *** [_module_/sw/orinoco-0.13e] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.8.1'
make: *** [modules] Error 2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 03:21 PM
NeoSadist
 
Posts: n/a
Default Re: make and 2.6.8.1

maxwell wrote:

> I recently upgraded to slackware 10 and installed kernel 2.8.6.1 on a
> Dell Latitude C640 laptop. Everything is okay except make exits with a
>
> warning: implicit declaration of function `register ......'
>
> for most of the software I try to compile.
>
> Everything compiles fine under 2.4.26 but I'd like to use the latest
> kernel as it has some new features I want.
>
> I have the latest versions of
> wireless_tools
> binutils
> make
> module-init-tools
> util-linux
>
> Thanks for any suggestions, ideas.
>
> Max
>
> -----Here's the typical output I get-----------
>
> root@darkstar:/sw/orinoco-0.13e# make
> make -C /lib/modules/2.6.8.1/build SUBDIRS=/sw/orinoco-0.13e modules
> make[1]: Entering directory `/usr/src/linux-2.6.8.1'
> CC [M] /sw/orinoco-0.13e/hermes.o
> CC [M] /sw/orinoco-0.13e/orinoco.o
> CC [M] /sw/orinoco-0.13e/orinoco_cs.o
> /sw/orinoco-0.13e/orinoco_cs.c: In function `orinoco_cs_hard_reset':
> /sw/orinoco-0.13e/orinoco_cs.c:134: warning: implicit declaration of
> function `CardServices'
> /sw/orinoco-0.13e/orinoco_cs.c: In function `orinoco_cs_attach':
> /sw/orinoco-0.13e/orinoco_cs.c:206: error: structure has no member
> named `release'
> /sw/orinoco-0.13e/orinoco_cs.c:207: error: structure has no member
> named `release'
> /sw/orinoco-0.13e/orinoco_cs.c:208: error: structure has no member
> named `release'
> /sw/orinoco-0.13e/orinoco_cs.c: In function `init_orinoco_cs':
> /sw/orinoco-0.13e/orinoco_cs.c:688: warning: implicit declaration of
> function `register_pccard_driver'
> /sw/orinoco-0.13e/orinoco_cs.c: In function `exit_orinoco_cs':
> /sw/orinoco-0.13e/orinoco_cs.c:696: warning: implicit declaration of
> function `unregister_pccard_driver'
> make[2]: *** [/sw/orinoco-0.13e/orinoco_cs.o] Error 1
> make[1]: *** [_module_/sw/orinoco-0.13e] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.8.1'
> make: *** [modules] Error 2


Per IBM's own recommendations, do not build a 2.6.x kernel on a system that
came with 2.4.x. Apart from that, re-read your linux kernel config (give
it a day or so to not be thinking about it, relax, etc) then try re-reading
it and see what you did wrong.

--
What this country needs is a good five cent nickel.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 03:22 PM
madhon
 
Posts: n/a
Default Re: make and 2.6.8.1

> Per IBM's own recommendations, do not build a 2.6.x kernel on a system that
> came with 2.4.x. Apart from that, re-read your linux kernel config (give
> it a day or so to not be thinking about it, relax, etc) then try re-reading
> it and see what you did wrong.


show me these recommendations ? ... ive been building 2.6.x kernels on
2.4.x hosts for quite a few months and had zero problems. Mayby its a
problem just with the orinoco files that he has


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 03:23 PM
NeoSadist
 
Posts: n/a
Default Re: make and 2.6.8.1

madhon wrote:

>> Per IBM's own recommendations, do not build a 2.6.x kernel on a system
>> that
>> came with 2.4.x. Apart from that, re-read your linux kernel config (give
>> it a day or so to not be thinking about it, relax, etc) then try
>> re-reading it and see what you did wrong.

>
> show me these recommendations ? ... ive been building 2.6.x kernels on
> 2.4.x hosts for quite a few months and had zero problems. Mayby its a
> problem just with the orinoco files that he has


This is from my Aunt, Linda Plumley, who works for IBM's Tivoli project.

--
There are three kinds of lies: Lies, Damn Lies, and Statistics.
-- Disraeli

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:37 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com