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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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. |
| |||
| > 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 |
| ||||
| 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 |