linux-2.4.0-prerelease-ac6 compile errors
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.cserial.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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 1 line · Ignacio Monge
Problem: compile error in linux-2.4.0-prerelease-ac6
drivers/char/serial.c renamed from drivers/char/serial.c.foo +2 -2
@@ -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 [email protected]
Please read the FAQ at http://www.tux.org/lkml/