scripts/Makefile.build:46: *** CFLAGS was changed

Sekcia: Hardware a Drivery 09.09.2008 | 14:32
Avatar igor   Používateľ
Zdravim, mam problem ze nemozem nainstalovat ovladac sietovej karty. Po prikaze make mi vypise chybu o pouziti EXTRA_CFLAGS. Neviete poradit co mam urobit?

[root@localhost src]# make
make -C /lib/modules/2.6.25-14.fc9.i686/build SUBDIRS=/media/usb/dokumentos/driver/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.25-14.fc9.i686'
scripts/Makefile.build:46: *** CFLAGS was changed in "/media/usb/dokumentos/driver/src/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[1]: *** [_module_/media/usb/dokumentos/driver/src] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.25-14.fc9.i686'
make: *** [default] Error 2
[root@localhost src]#
    • Re: scripts/Makefile.build:46: *** CFLAGS was changed 09.09.2008 | 23:19
      Avatar igor   Používateľ
      Ahojte, uz pisem z Linuxu, podarilo sa mi rozbehat ten ovladac .

      Toto, je prvykrat co mi tato stranka nepomohla (priamo), ale asi to nebolo na skodu, lebo ma to prinutilo pouzit google a pomoct si sam.
      Ak by sa niekto stretol s podobnym problemom aky som mal ja, tu je riesenie:

      You can fix this problem by opening /home/mac/Desktop/acer_acpi-0.4/Makefile in
      an editor. In that file you will find a line that starts with CFLAGS+=... Change
      that to EXTRA_CFLAGS+=... to fix this error.


      Stacilo urobit mensi zasah do suboru src/Makefile a prepisat CFLAGS+= na EXTRA_CFLAGS+=
    • Re: scripts/Makefile.build:46: *** CFLAGS was changed 09.09.2008 | 23:23
      Avatar igor   Používateľ
      Ahojte, uz pisem z Linuxu, podarilo sa mi rozbehat ten ovladac .

      Toto, je prvykrat co mi tato stranka nepomohla (priamo), ale asi to nebolo na skodu, lebo ma to prinutilo pouzit google a pomoct si sam.
      Ak by sa niekto stretol s podobnym problemom aky som mal ja, tu je riesenie:

      You can fix this problem by opening /home/mac/Desktop/acer_acpi-0.4/Makefile in
      an editor. In that file you will find a line that starts with CFLAGS+=... Change
      that to EXTRA_CFLAGS+=... to fix this error.


      Stacilo urobit mensi zasah do suboru src/Makefile a prepisat CFLAGS+= na EXTRA_CFLAGS+=
    • Re: scripts/Makefile.build:46: *** CFLAGS was changed 09.09.2008 | 23:25
      Avatar igor   Používateľ
      Ahojte, uz pisem z Linuxu, podarilo sa mi rozbehat ten ovladac .

      Toto, je prvykrat co mi tato stranka nepomohla (priamo), ale asi to nebolo na skodu, lebo ma to prinutilo pouzit google a pomoct si sam.
      Ak by sa niekto stretol s podobnym problemom aky som mal ja, tu je riesenie:

      You can fix this problem by opening /home/mac/Desktop/acer_acpi-0.4/Makefile in
      an editor. In that file you will find a line that starts with CFLAGS+=... Change
      that to EXTRA_CFLAGS+=... to fix this error.


      Stacilo urobit mensi zasah do suboru src/Makefile a prepisat CFLAGS+= na EXTRA_CFLAGS+=