LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Earnshaw, Mike <earnshawm@wa.switch.aust.com>
  To  : PLUG (E-mail)" <plug@plug.linux.org.au>, "LinuxSA (E-mail) <plug@plug.linux.org.au>
  Date: Sat, 10 Jun 2000 00:09:41 +0800

Compiling DPT SmatRAID V driver

HELP!!  PLEASE ...

I am going round in circles. I am trying to compile a DPT driver into a
kernel for RH6.2

I had it once, don't know how!, but now I can not replicate it. The
basic steps are:

1. Using patch from DPT web site copied into /usr/src/linux
2. gzip -cd 109patch.gz | patch -p1
3. make menuconfig [OK]
4. make dep [OK]
5. make clean [OK]
6. make bzImage [Errors ... attached file]

Not being much of a programmer (10 ?"Hello" : Goto 10 :), I am a bit
lost. Guessing a variable has not been defined
(PCI_CLASS_INTELLIGENT_I2O) but what would I declare it as? Where?

I am really under pressure on this, the server is already 3 days late.
Next time I will do more research into how a driver is packaged when the
manufacturer says "supports Linux". I don't want to put "NoTech" on
here, but might have to if I can not get Linux to recognise the card.
Every where I have read on the net seems to indicate it's easy ... don't
know about a kernel panic, but Mike is ... :(

TIA

------------------------------------------------------------------------
----
Mike Earnshaw       | "It don't mean a thing if     | e-mail in header
Computer Systems    | you cain't get that Ping...." | Tel: +61 8 9256
1099
  Support           |    Duke Ellington, 1932       | Fax: +61 8 9256
1199
------------------------------------------------------------------------
----
Union Switch & Signal, 24 Bannick Court, Canning Vale, WA 6155,
Australia
------------------------------------------------------------------------
----


ld -m elf_i386  -r -o pci_syms.o pcisyms.o pci.o
gcc -D__KERNEL__ -I/usr/src/linux-2.2.14/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m386 -DCPU=386   -c -o proc.o proc.c
gcc -D__KERNEL__ -I/usr/src/linux-2.2.14/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m386 -DCPU=386   -c -o oldproc.o oldproc.c
oldproc.c: In function `pci_strclass':
oldproc.c:716: `PCI_CLASS_INTELLIGENT_I2O' undeclared (first use in this function)
oldproc.c:716: (Each undeclared identifier is reported only once
oldproc.c:716: for each function it appears in.)
make[3]: *** [oldproc.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.2.14/drivers/pci'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.2.14/drivers/pci'
make[1]: *** [_subdir_pci] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.14/drivers'
make: *** [_dir_drivers] Error 2

-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page