LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   PCMCIA card using Prism2_cs is not detected. (https://www.linuxquestions.org/questions/linux-networking-3/pcmcia-card-using-prism2_cs-is-not-detected-321826/)

Rutnut 05-09-2005 10:51 PM

PCMCIA card using Prism2_cs is not detected.
 
Hi all.

I have an Asus L4 laptop with and Asus WL-103 PCMCIA card using the Prism2_cs driver.

I decided to install Ubuntu after reading positive reviews about it and the install went well, a few minor problems noticably it would freeze up once I attached the PCMCIA card to the laptop, but that was solved after switching off acpi at the GRUB loader.

My main problem is that it can't seem to detect or install the PCMCIA driver.
Below is what I get after installing the linux-wlan-ng-0.2.0 and going through the instructions.

The instructions ask me to place and unpack the tar file in /usr/src which I did using these commands first.

sudo -s

cd /lib/modules/2.6.10-5-386
ln -s /usr/src/linux-headers-2.6.10-5-386 source
ln -s /usr/src/linux-headers-2.6.10-5-386 build

I downloded the file linux-wlan-ng-0.2.0 and moved it to /usr/src

and I untar it using the command

tar zxvf linux-wlan-ng-0.2.0

then

/usr/src/linux-wlan-ng-0.2.0 #make config

I am asked questions which requires yes or no.
For Yes I choose PCMCIA Card Services

For the rest I choose No.

Linux source directory [/usr/src/linux]:make install

Then I get the message below


find . -name .depend -exec rm {} \;
set -e; for d in src doc man etc; do make -C $d install ; done
make[1]: Entering directory `/usr/src/linux-wlan-ng-0.2.0/src'
set -e; for d in p80211 prism2 shared wlanctl wland nwepgen mkmeta wlancfg; do make -C $d install ; done
make[2]: Entering directory `/usr/src/linux-wlan-ng-0.2.0/src/p80211'
cc -c -I../include -DEXPORT_SYMTAB p80211mod.c -o p80211mod.o
make[2]: cc: Command not found
make[2]: *** [p80211mod.o] Error 127
make[2]: Leaving directory `/usr/src/linux-wlan-ng-0.2.0/src/p80211'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/linux-wlan-ng-0.2.0/src'
make: *** [install] Error 2

According to the instructions it says; 'wasn't it easy!'

No!
Sorry everyone. I just want it to work so I can learn were I went wrong. I am not going to install a different Linux distro just because this isn't working out of the box.

Hope someone can help.
Mane regards.

Perseverance is the name of the game.

dping 05-10-2005 03:18 AM

Looks like it is trying to use a C compiler called cc , which apparently you don't have. On Linux systems cc is often a link to gcc, the standard GNU/Linux C compiler. Make sure that you have gcc installed on your system.

I believe that make normally tries to use gcc directly, but in the absence of gcc, it will default to cc, which on unix-like systems is commonly a link to the system's compiler-of-choice.


All times are GMT -5. The time now is 02:41 AM.