Sida 1 av 1

Kompilationsproblem....hjälp!!!

Postat: 31 okt 2006, 02:54
av mimozza
Hej allihopa!

Jag håller på att köra denna guide http://www.houseofcraig.net/acx100_howto.php för att få igång min wireless internet (jag har ett trådlös kort D-Link AirPlus DLW 650+ och har kernel 2.6.15-27-386)

När jag skulle kompilera drivern(acx100-0.2.0pre8_plus_fixes_5) med
make
fick jag en massa fel och varningar vilken tyder på att kompilering gick inte bra(Se avsnittet "Compiling the driver" på ovanstående länk)
Kan nån var vänlig och hjälpa och tyda dessa fel och varningar? Vad behöver jag göra för att kompileringen ska gå igenom?

PS: jag har redan provat "Troubleshooting" som författaren hänvisade till och har även skickat ett mail med terminal utskrift.

Här är min terminal utskrift:

Kod: Markera allt

root@manou-laptop:/home/manou/acx100-0.2.0pre8_plus_fixes_57# make
make -C src
make[1]: Entering directory `/home/manou/acx100-0.2.0pre8_plus_fixes_57/src'
if test -n ; then \
        mkdir -p /home/manou/acx100-0.2.0pre8_plus_fixes_57/src/tmp; \
        cp /lib/modules/2.6.15-27-386/build/.config /home/manou/acx100-0.2.0pre8_plus_fixes_57/src/tmp; \
        fi
# use "make V=1" to see full compile execution
make -C /lib/modules/2.6.15-27-386/build SUBDIRS=/home/manou/acx100-0.2.0pre8_plus_fixes_57/src  \
                MODVERDIR=/home/manou/acx100-0.2.0pre8_plus_fixes_57/src WLAN_HOSTIF=WLAN_PCI modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.15-27-386'
  CC [M]  /home/manou/acx100-0.2.0pre8_plus_fixes_57/src/acx100_ioctl.o
In file included from /home/manou/acx100-0.2.0pre8_plus_fixes_57/src/../include/acx.h:7,
                 from /home/manou/acx100-0.2.0pre8_plus_fixes_57/src/acx100_ioctl.c:65:
/home/manou/acx100-0.2.0pre8_plus_fixes_57/src/../include/acx_struct.h:367:5: warning: "OLD_FIRMWARE_VERSIONS" is not defined
/home/manou/acx100-0.2.0pre8_plus_fixes_57/src/../include/acx_struct.h:1530:5: warning: "MAYBE_BOGUS" is not defined
/home/manou/acx100-0.2.0pre8_plus_fixes_57/src/acx100_ioctl.c:772:5: warning: "ENODATA_TO_BE_USED_AFTER_SCAN_ERROR_ONLY" is not defined
In file included from /home/manou/acx100-0.2.0pre8_plus_fixes_57/src/acx100_ioctl.c:2742:
/home/manou/acx100-0.2.0pre8_plus_fixes_57/src/setrate.c:85:5: warning: "UNUSED" is not defined
/home/manou/acx100-0.2.0pre8_plus_fixes_57/src/acx100_ioctl.c:3209: error: unknown field ‘spy_offset’ specified in initialiser
/home/manou/acx100-0.2.0pre8_plus_fixes_57/src/acx100_ioctl.c:3209: warning: initialisation makes pointer from integer without a cast
make[3]: *** [/home/manou/acx100-0.2.0pre8_plus_fixes_57/src/acx100_ioctl.o] Error 1
make[2]: *** [_module_/home/manou/acx100-0.2.0pre8_plus_fixes_57/src] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.15-27-386'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/manou/acx100-0.2.0pre8_plus_fixes_57/src'
make: *** [driver] Error 2
root@manou-laptop:/home/manou/acx100-0.2.0pre8_plus_fixes_57#
Tack på förhand

Kompilationsproblem....hjälp!!!

Postat: 31 okt 2006, 03:07
av HOLMEN
Är lite nybörjare med har du installerat build-essential?

Kod: Markera allt

sudo apt-get install build-essential

Kompilationsproblem....hjälp!!!

Postat: 31 okt 2006, 16:00
av mimozza
Hej Holmen,

Jo, jag har redan kört

Kod: Markera allt

sudo apt-get install build-essential
och fick därmed "gcc" och "make" för att kunna kompilera.
Nåt annat förslag?

Tack för svaret!