compilation environmment
Hi,
Please, I need help with my PCI Planet WL-8305 card intallation on SimplyMepis 3.3.1-1.
I need to compile a driver but I found out that I don't even have the directory /lib/modules/`uname -r`/build in which, according to the driver installation guide, the kernel source resides.
I thought it is the case of missing kernel-source and headers. I decided to download the sources because I thought they would install in the right directories.
The stock kernel of Simply Mepis 3.3.1-1 is 2.6.10, but I couldn't find kernel-source-2.6.10, only 2.6.10 headers which I installed anyway. I, however, decided that just headers may not be enough to do the setup of the card in 2.6.10 (I read varied oppinions on this on the Net). I decided to do it in 2.6.11.6, because I was able to download all the packages that were needed (I think so…) from the apt.mepis.org repository.
I installed everything (including 2.6.11.6 kernel headers and kernel-source). The packages were .deb files.
Next I checked again under 2.6.11.6 if the ls /lib/modules/2.6.11.6/build/include directory is present but was again unsuccesful... I don't even have /lib/modules/2.6.11.6/build directory, only a link.
This is the listing from 'ls -l' command done in /lib/modules/2.6.11.6 directory:
lrwxrwxrwx 1 root root 23 2005-06-25 15:28 build -> /usr/src/linux-2.6.11.6
drwxr-xr-x 9 root root 4096 2005-06-25 15:28 kernel
drwxr-xr-x 2 root root 4096 2005-06-25 15:45 misc
drwxr-xr-x 2 root root 4096 2005-06-25 15:39 modem
-rw-r--r-- 1 root root 170968 2005-06-25 15:42 modules.alias
-rw-r--r-- 1 root root 69 2005-06-25 15:42 modules.ccwmap
-rw-r--r-- 1 root root 200777 2005-06-25 15:42 modules.dep
-rw-r--r-- 1 root root 295 2005-06-25 15:42 modules.ieee1394map
-rw-r--r-- 1 root root 700 2005-06-25 15:42 modules.inputmap
-rw-r--r-- 1 root root 26888 2005-06-25 15:42 modules.isapnpmap
-rw-r--r-- 1 root root 136417 2005-06-25 15:42 modules.pcimap
-rw-r--r-- 1 root root 87626 2005-06-25 15:42 modules.symbols
-rw-r--r-- 1 root root 234765 2005-06-25 15:42 modules.usbmap
drwxr-xr-x 2 root root 4096 2005-06-25 15:39 net
drwxr-xr-x 2 root root 4096 2005-06-25 15:38 nvidia
drwxr-xr-x 2 root root 4096 2005-06-25 15:39 pcmcia
lrwxrwxrwx 1 root root 23 2005-06-25 15:28 source -> /usr/src/linux-2.6.11.6
drwxr-xr-x 3 root root 4096 2005-06-25 15:31 updates
drwxr-xr-x 2 root root 4096 2005-06-25 15:39 wireless
I saw the links and I thought that the source is in the /usr/src so I checked the /usr/src/ but the linux-2.6.11.6 directory isn't there either:
arkss@1[src]$ ls -l
total 43216
-rw-r--r-- 1 arkss users 122581 2005-03-22 14:49 bcm4400-3.0.8.tar.gz
-rwxr-xr-x 1 root root 508039 2005-03-24 17:04 bcm5700-7.3.5.tar.gz
-rw-r--r-- 1 arkss users 133396 2005-03-24 17:01 ipw2100-1.1.0.tgz
-rw-r--r-- 1 arkss users 131876 2005-03-24 17:00 ipw2200-1.0.2.tgz
-rw-r--r-- 1 arkss users 614212 2005-03-24 17:07 ivtv-0.3.2m.tgz
drwxr-xr-x 4 root root 4096 2005-06-25 08:50 kernel-headers-2.6.10
drwxr-xr-x 4 root root 4096 2005-06-25 15:43 kernel-headers-2.6.11.6
-rw-r--r-- 1 root 1000 1107 2005-02-05 17:10 KERNEL-README
-rw-r--r-- 1 root root 37080187 2005-04-04 14:53 kernel-source-2.6.11.6.tar.bz2
drwxr-sr-x 2 root 1000 4096 2005-02-05 17:06 linux-2.4.29-patches
drwxr-sr-x 2 root 1000 4096 2005-02-23 16:40 linux-2.6.10-patches
-rw-r--r-- 1 arkss users 456977 2005-02-19 14:03 linux-wlan-ng-0.2.1-pre26.tar.bz2
-rw-r--r-- 1 arkss users 105472 2005-03-22 14:49 ltmodem-2.6-alk-6.tar.gz
-rw-r--r-- 1 arkss users 580518 2005-03-24 17:09 ltmodem-8.31a10.tar.gz
-rw-r--r-- 1 root root 2573346 2005-03-30 09:10 madwifi_cvs_032405.tar.gz
drwxr-sr-x 2 root 1000 4096 2003-09-30 14:29 modules
-rw-r--r-- 1 root root 58373 2005-03-28 09:36 pwc-10.0.6a.tar.gz
drwxr-xr-x 7 root root 4096 2005-02-19 20:31 rpm
-rw-r--r-- 1 arkss users 841347 2005-03-22 14:54 rt2500-1.1.0.tar.gz
-rw-r--r-- 1 root root 710319 2005-03-28 09:24 slmodem-2.9.9b.tar.gz
-rw-r--r-- 1 root root 158660 2005-03-30 09:11 usbvision_cvs_032805.tar.gz
-rw-r--r-- 1 root 1000 24757 2005-04-01 09:50 zr364xx-0.57.tar.gz
How to create a proper build environment?
I am a newbe but I really would like to use linux. If you could enlighten my dumb ass I'd really appreciate this. Please, help...
|