errors with new (irq-sharing) code
G.J.
dragyn@smaug.bitstreet.net
Wed Mar 31 23:12:44 1999
hello,
new here, so i present my situation as clearly as i can. =]
i rest my case at the feet of the experts...
My Creative Labs Ensonic PCI64D sound card uses IRQ11 as does my
fancy-dancy 3com 3c905B Cyclone.
finally got my kernel compiled to do sound... but at the expense of my
network.
went to the website and found the new 3c59x.c code that "also supports the
shared interrupts." downloaded it and put it in /usr/src/linux/drivers/net
where the other one had been.
errors occured at the `make bzImage` stage of compiling. they are included
here (with a few lines of preceding context in case it helps) =]
<BEGIN GOBS OF OUTPUT>
make[2]: Entering directory `/usr/src/linux-2.0.36/drivers/net'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.0.36/drivers/net'
updating /usr/src/linux-2.0.36/include/linux/modversions.h
gcc -D__KERNEL__ -I/usr/src/linux-2.0.36/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODVERSIONS -DEXPORT_SYMTAB -c ppp.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.36/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -DMODVERSIONS -DEXPORT_SYMTAB -c slhc.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.36/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -c slip.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.36/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -c dummy.c
gcc -D__KERNEL__ -I/usr/src/linux-2.0.36/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -pipe -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -c -o 3c59x.o 3c59x.c
3c59x.c:94: parse error before `<'
3c59x.c: In function `vortex_probe1':
3c59x.c:879: stray '\' in program
3c59x.c:879: parse error before `;'
3c59x.c:926: `mii_preamble_required' undeclared (first use this function)
3c59x.c:926: (Each undeclared identifier is reported only once
3c59x.c:926: for each function it appears in.)
3c59x.c: In function `mdio_read':
3c59x.c:2047: `mii_preamble_required' undeclared (first use this function)
3c59x.c: In function `mdio_write':
3c59x.c:2079: `mii_preamble_required' undeclared (first use this function)
make[3]: *** [3c59x.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.0.36/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.0.36/drivers/net'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.0.36/drivers'
make: *** [linuxsubdirs] Error 2
[root@smaug /usr/src/linux-2.0.36]#
<END GOBS OF OUTPUT>
any help would be appreciated. (i'd be using 2.2.x but i can't get the
compiled kernel to boot without panicking...)
thx,
gareth
--
/*
* Gareth Jenkins
* Linux hacker, "Mr. Sensitive", armchair philosopher,
* PERL lover, child of God
*
* http://endor.hsutx.edu/~locutus http://www.wtlug.org
*/