-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 After a 'make' I got the folowing error: - ---- CC [M] drivers/scsi/sr_ioctl.o drivers/scsi/sr_ioctl.c: In function `sr_read_cd': drivers/scsi/sr_ioctl.c:435: error: conflicting types for `cgc' drivers/scsi/sr_ioctl.c:434: error: previous declaration of `cgc' drivers/scsi/sr_ioctl.c:469: warning: passing arg 2 of `sr_do_ioctl' from incompatible pointer type drivers/scsi/sr_ioctl.c: In function `sr_read_sector': drivers/scsi/sr_ioctl.c:479: error: conflicting types for `cgc' drivers/scsi/sr_ioctl.c:478: error: previous declaration of `cgc' drivers/scsi/sr_ioctl.c:512: warning: passing arg 2 of `sr_do_ioctl' from incompatible pointer type - ---- After comenting out the lines 435 and 479 of drivers/scsi/sr_ioctl.c compiled ok. The working code: - ---- drivers/scsi/sr_ioctl.c:432 ---- static int sr_read_cd(Scsi_CD *cd, unsigned char *dest, int lba, int format, int blksize) { struct packet_command cgc; // struct cdrom_generic_command cgc; - ---- end ---- - ---- drivers/scsi/sr_ioctl.c:476 ---- static int sr_read_sector(Scsi_CD *cd, int lba, int blksize, unsigned char *dest) { struct packet_command cgc; // struct cdrom_generic_command cgc; int rc; - ---- end ---- P.S.- Sorry for the bad english. - -- "5 horas." - José Martins http://7mares.terravista.pt/zemartins telnet://spunge.org:6969 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAvJD2JObLD9O7nMoRAieOAKC+Lrf0/t3wLjeki+4xhesfXRzD4QCfXY9l MthfUey1jSoF1hvJ4LChEI4= =s6cu -----END PGP SIGNATURE-----