Red Hat Bugzilla – Bug 150191
Smart Link Soft Modem driver can't find gcc
Last modified: 2007-11-30 17:11:01 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6)
Description of problem:
Installing Smart Link Soft Modem for Linux driver for AMR modem
When run "make" get
gcc: Command not found.
Do a search for gcc and find following link
/usr/libexec/gcc/i386-rdehat-linux/3.4.2/cc1 executable. (folders from
gcc on, are empty)
Change the modem make file for parameter CC:= gcc to CC:= cc1
Now get cc1: Command not found
Add to modem make file
PATH:= $PATH:/usr/libexec which should go thru subfolders to cc1 BUT
doesn't so have to add /gcc/i386-redhat-linux/3.4.2
cc1 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c modem_main.c
cc1: error: unrecognized command line option "-c"
If one goes to http://gcc.gnu.org/ and checks the manual for 3.4.3
(there is no 3.4.2) "-c" is a valid option.
This is also a valid option for 3.3.5.
What's going on here?
Also in the Requirements section for installation of the modem it
states for Linux 2.6 "You need the full kernel source tree installed
If this is not the case in a standard installation of core 3, how is
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Download driver from www.smlink.com
2. Extract into /slmodem-2.9.10
3. Edit /slmodem-2.9.10/Makefile
4. Edit /slmodem-2.9.10/modem/Makefile
change CC:= gcc to CC:= cc1
add PATH:= $PATH:/usr/libexec/gcc/i386-redhat-linux/3.4.2
5. cd /slmodem-2.9.10
I guess you have just cpp package installed and not gcc. up2date gcc
or yum install gcc should fix this up.