* linux-2.4.0-prerelease-ac6 compile errors
@ 2001-01-04 23:17 Ignacio Monge
2001-01-04 23:46 ` Bill Nottingham
0 siblings, 1 reply; 2+ messages in thread
From: Ignacio Monge @ 2001-01-04 23:17 UTC (permalink / raw)
To: linux-kernel
Problem: compile error in linux-2.4.0-prerelease-ac6
System:
Intel Pentium II 233 Mhz 96 Mb RAM
Red Hat Linux System 7.0
Glibc-2.2-5
Gcc-2.95.2-12
Output error:
[...]
ld -m elf_i386 -r -o drm.o tdfx.o drmlib.a
make[4]: Saliendo directorio `/usr/src/linux/drivers/char/drm'
make[3]: Saliendo directorio `/usr/src/linux/drivers/char/drm'
make all_targets
make[3]: Cambiando a directorio `/usr/src/linux/drivers/char'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2
-march=i686 -DEXPORT_SYMTAB -c serial.c
serial.c: In function `probe_serial_pnp':
serial.c:5187: structure has no member named `device'
serial.c:5192: structure has no member named `device'
make[3]: *** [serial.o] Error 1
make[3]: Saliendo directorio `/usr/src/linux/drivers/char'
make[2]: *** [first_rule] Error 2
make[2]: Saliendo directorio `/usr/src/linux/drivers/char'
make[1]: *** [_subdir_char] Error 2
make[1]: Saliendo directorio `/usr/src/linux/drivers'
make: *** [_dir_drivers] Error 2
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: linux-2.4.0-prerelease-ac6 compile errors
2001-01-04 23:17 linux-2.4.0-prerelease-ac6 compile errors Ignacio Monge
@ 2001-01-04 23:46 ` Bill Nottingham
0 siblings, 0 replies; 2+ messages in thread
From: Bill Nottingham @ 2001-01-04 23:46 UTC (permalink / raw)
To: Ignacio Monge; +Cc: linux-kernel
Ignacio Monge (ignaciomonge@navegalia.com) said:
> Problem: compile error in linux-2.4.0-prerelease-ac6
--- linux/drivers/char/serial.c.foo Thu Jan 4 17:31:43 2001
+++ linux/drivers/char/serial.c Thu Jan 4 17:32:38 2001
@@ -5184,12 +5184,12 @@
for (pnp_board = pnp_devices; pnp_board->vendor; pnp_board++)
if ((dev->vendor == pnp_board->vendor) &&
- (dev->device == pnp_board->device))
+ (dev->device == pnp_board->function))
break;
if (pnp_board->vendor) {
board.vendor = pnp_board->vendor;
- board.device = pnp_board->device;
+ board.device = pnp_board->function;
/* Special case that's more efficient to hardcode */
if ((board.vendor == ISAPNP_VENDOR('A', 'K', 'Y') &&
board.device == ISAPNP_DEVICE(0x1021)))
Bill
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-01-04 23:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-04 23:17 linux-2.4.0-prerelease-ac6 compile errors Ignacio Monge
2001-01-04 23:46 ` Bill Nottingham
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®