Hallo! Ich versuche seit geraumer Zeit den von Promise zur Verfügung gestellten Promise Fasttrak 100TX2 Treiber einzubinden. In der Anleitung steht, dass man sich die Kompilierungseinstellungen des Kernels für das Modul aic7xx besorgen und diese dann in das mitgelieferte Makefile packen soll. Die make Ausgabe sieht so aus: gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=aic7xxx_old -c -o aic7xxx_old.o aic7xxx_old.c Meine Frage ist jetzt: was muss ich in u.s. Makefile eintragen, damit das endlich mal klappt. Ach ja, ich brauche auch das scsi.module. Obwohl ich "SCSI - Support" ausgewählt habe, wird´s nicht mitkompiliert. Was geht da schief? Oder habe ich was vergessen ("Loadable Module Support" ist natürlich aktiviert). Danke. Stefan ---Makefile von Promise--- # # Makefile for the Promise FastTrak Series device drivers. # # Promise Linux support team <support@promise.com.tw> # # Be ware to choose right parameters for your system. # # last modify: 2002/11/06 CC = gcc LD = ld #if ARM cross-compiler #CC = arm-linux-gcc #LD = arm-linux-ld #most common case #INDEP386= -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing #most common case including kernel version #DEP386 = -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing #for SuSE, Turbolinux SuSE_TB = -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing #for kernel version 2.2.x SMP #for kernel version 2.2.x UP, please remove -D__SMP__ #SMP22x = -D__KERNEL__ -D__SMP__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict #ARM = -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing FT = wrapper.o fasttrak.o ftlog.o .SUFFIXES: .c.o ########################################### #choose a parameter for your system. #default is INDEP386 .c.o: ; $(CC) $(INDEP386) -c $*.c #.c.o: ; $(CC) $(DEP386) -c $*.c #.c.o: ; $(CC) $(SuSE_TB) -c $*.c #.c.o: ; $(CC) $(MDK) -c $*.c #.c.o: ; $(CC) $(SMP22x) -c $*.c #.c.o: ; $(CC) $(ARM) -c $*.c ########################################### all : $(FT) $(LD) -r -o FastTrak.o $(FT) ftlib.o ; rm -f fasttrak.o clean : rm -f FastTrak.o $(FT) -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!