[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 398
  • Last Modified:

Pcmcia Linksys WPC11 v.4 setup problem

Hello,

The problem I am having is that when I unpack and try to install the pcmcia-cs tar, I get an error:-

Linux source tree '/usr/src/linux' is incomplete or missing!

I have the following in my src directory

[root@localhost src]# ls
debug  linux-2.4  linux-2.4.20-30.9  linux-2.4.20-6  redhat

I used the Red Hat Update service to update the kernel, and then I downloaded the source and put it in the directory

I am booting on the 30.9 , I am using the following instructions:-

http://www.linuxvoodoo.com/resources/howtos/linksysv4/ 

Any help with the problem would be much appreciated

Thanks
0
kama_k
Asked:
kama_k
1 Solution
 
brabardCommented:
Well , your makefile is trying to find kernel headers in /usr/src/linux/ instead of /usr/src/linux-2.4.20-30.9 (or whereever you have compiled kernel headers and/or sources) .
So you can :
1. Edit Makefile such as replace all dirs "linux" with "linux-2.4.20-30.9" , or
2. Just to make a symlink  "~linux" to the "linux-2.4.20-30.9"

I'd prefer the second thing , cause may be you'll try to compile other packets in future .
The command is :
[root@localhost src]#ln -s ./linux-2.4.20-30.9 ./linux
0
 
kama_kAuthor Commented:
Thanks brabard, that worked perfectly, still having problems getting the card setup, but will keep at it.

Thanks again
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now