LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   gcc error when installing usb wireless for redhat 9 (https://www.linuxquestions.org/questions/linux-wireless-networking-41/gcc-error-when-installing-usb-wireless-for-redhat-9-a-147548/)

bernard_lee 02-18-2004 07:08 AM

gcc error when installing usb wireless for redhat 9
 
Hi,

When i make all, i encountered this error:

make [3]: gcc: command not found
make [3]: *** [callbacks.o] Error 127
make [3]: Leaving directory `/usbwireless/atmelwlandriver/src/usb`
make [2]: *** [rfmd] Error 2
make [2]: Leaving directory `/usbwireless/atmelwlandriver/src/usb`
make [1]: *** [all] Error 1
make [1]: Leaving directory `/usbwireless/atmelwlandriver/src/usb`
make: *** [all] Error 1

However when i do a search my i saw two files in /usr/bin:
gcc296
i386-redhat-linux7-gcc

I tried to rename the above to gcc, now there is not such error as above but there was a compliation error.

So do i need to install another version of gcc for the compilation for work for the installation of the atmel drivers?

Can anyone please help?

Thanks

njs12345 02-18-2004 07:49 AM

hmm... instead of typing make all, try doing:

make CC=/usr/bin/i386-redhat-linux7-gcc all

the CC flag tells make which C compiler to use.

bernard_lee 02-18-2004 08:21 AM

Thanks, I tried that as well but it kept showing parse error function undeclared etc....could it be there is a prob with the atmel drivers? but so far i have not seen any complaints about that in the forum.

Livia 02-18-2004 09:11 AM

I'm trying the same thing cept on Debian.

What I noticed about yours is the 'gcc not found' line. Make, to my knowledge, is looking for the gcc. I went through a process of uninstalling my 2.95 version of gcc and installing version 3.0.4. Well, make could not find gcc. No wonder, the command was gcc-3.0 so I renamed it to gcc and ran make again. That worked. Still getting all the same parse errors as I did when I originally started trying to compile the atmelwlandriver.

What the hell is a parse error anyway?


All times are GMT -5. The time now is 10:49 AM.