Hi,
Ich hoffe meine Supportanfrage sprengt nicht den üblichen Rahmen. Ich wollte den Treiber für den SuperTrak SX6000 (Source Code) installieren. Falls Ihr die Zeit habt, bitte ich Euch mal die angehängte readme.txt anzusehen. Ich habe alles so gemacht wie beschrieben und hänge am Punkt 6.) Ich habe folgende Zeile aus der make.out (Attachment) kopiert, den Namen des Treibers geändert und in einem neuen Shellscript ausgeführt:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.7.SuSE/include -Wall -Wstrict-prototypes - Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe - mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -DMODULE - DMODVERSIONS -include /usr/src/linux-2.4.7.SuSE/include/linux/modversions.h - c -o pti_st.o pti_st.c
Die Zeile steht unterhalb von:
make -C scsi modules make[2]: Entering directory `/usr/src/linux-2.4.7.SuSE/drivers/scsi'
Er kompiliert jedoch die pti_st.c nicht. Falls Ihr eine Idee habt, woran es liegen könnte, wäre ich Euch sehr dankbar.
MfG Dirk
SuperTrak Linux Driver Installation
This document describes how to compile and install the new SuperTrak driver for Linux. Our driver is a module. You do not need to recompile and reinstall the kernel.
Before you start:
Be sure that your kernel source code is present on your PC, typically in the /usr/src directory under the name Linux-2.4.16 or another Linux version. You will need this source code to compile the new driver.
1. Go to the kernel source code's directory, (for example, "/usr/src/linux- 2.4.16") 2. Run the command "make menuconfig" or "make xconfig" to configure kernel source codes. Configure "Loadable Module support" and "Processor type and features" the same as the kernel on which your PC is running so the driver can be loaded into the kernel. 3. Save and Exit the configure menu. 4. Run the command "make dep" as shown. 5. Go to the directory where our driver code is located and modify the Makefile to support the new kernel.
If you are not sure how to modify the Makefile, go to the Linux kernel source directory (for example, "/usr/src/linux-2.4.16") and run the command "make modules 2>&1 | tee /tmp/make.out".
6. Create a new shell command file and copy one line compiling the other scsi card driver from the file "/tmp/make.out" to a new shell command file. 7. Replace old driver file name with pti_st.c 8. Run the new shell command to compile the new driver. 9. Run the command "insmod pti_st.o" to load the new driver.