LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   EW-7318USG - error during make - OS is Fedora (https://www.linuxquestions.org/questions/linux-newbie-8/ew-7318usg-error-during-make-os-is-fedora-666677/)

staylor1962 08-31-2008 11:28 AM

EW-7318USG - error during make - OS is Fedora
 
I get this error during Make

[root@fedora8 Module]# make all
make -C /lib/modules/2.6.25.10-47.fc8/build SUBDIRS=/home/staylor/Download/RT73_Linux_STA_Drv1.0.4.0/Module modules
make[1]: Entering directory `/usr/src/kernels/2.6.25.10-47.fc8-i686'
scripts/Makefile.build:46: *** CFLAGS was changed in "/home/staylor/Download/RT73_Linux_STA_Drv1.0.4.0/Module/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[1]: *** [_module_/home/staylor/Download/RT73_Linux_STA_Drv1.0.4.0/Module] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.25.10-47.fc8-i686'
make: *** [all] Error 2
[root@fedora8 Module]#

How do I fix the CFLAGS error ?

egrueda 08-31-2008 01:01 PM

Try to enable KBUILD_NOPEDANTIC:

export KBUILD_NOPEDANTIC=1
make

buran 11-15-2008 03:11 PM

m8 it seems something simmilar like i got trying to "make" in openSuse, i solved my problem instaling kernel source... and then everything "make" fine...


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