PDA

View Full Version : cannot compile source with make command



nielsen
26th July 2007, 06:49 PM
hi everyone,
I am a newbie for linux. Recently I needed to install a rt73 driver for my wireless usb adapter. After downloading the driver, I tried to make the module but it didn't come to the desired result with the following reason:

======================================
make: *** /lib/modules/2.6.21-1.3194.fc7/build: No such file or directory. Stop.
rt73.ko failed to build!
make: *** [module] Error 1
======================================

Is that mean my FC7 has not installed make module yet?
Or the kernel version is not suitable?
Any suggestion will be appreciated.

Gnafu the Great
26th July 2007, 07:01 PM
You will need to install kernel-headers and kernel-devel (yum install kernel-headers kernel-devel).

stevea
26th July 2007, 07:32 PM
I seriously doubt you need "kernel-headers". Driver *should* always take thir includes from kernel-devel.

Gnafu the Great
26th July 2007, 07:41 PM
I seriously doubt you need "kernel-headers". Driver *should* always take thir includes from kernel-devel.

Aah, I wasn't sure. No harm installing both :).