Package: sg3-utils Version: 1.24-2 Severity: normal bug 372610 hasn't really been fixed, and unfortunately, sg_io_linux.h sg_lib.h sg_linux_inc.h sg_pt.h only include the same named files in the parent directory, which still don't exist.
This then of course means we can't compile any of the samples: gcc sg_sat_chk_power.c -o ~/bin/linux/sg_sat_chk_power In file included from sg_sat_chk_power.c:39: sg_lib.h:1:23: error: ../sg_lib.h: No such file or directory In file included from sg_sat_chk_power.c:40: sg_io_linux.h:1:28: error: ../sg_io_linux.h: No such file or directory sg_sat_chk_power.c: In function 'main': sg_sat_chk_power.c:66: error: 'sg_io_hdr_t' undeclared (first use in this function) sg_sat_chk_power.c:66: error: (Each undeclared identifier is reported only once sg_sat_chk_power.c:66: error: for each function it appears in.) sg_sat_chk_power.c:66: error: expected ';' before 'io_hdr' sg_sat_chk_power.c:126: error: 'io_hdr' undeclared (first use in this function) sg_sat_chk_power.c:131: error: 'SG_DXFER_NONE' undeclared (first use in this function) sg_sat_chk_power.c:141: error: 'SG_IO' undeclared (first use in this function) sg_sat_chk_power.c:149: error: 'SG_LIB_CAT_CLEAN' undeclared (first use in this function) sg_sat_chk_power.c:151: error: 'SG_LIB_CAT_RECOVERED' undeclared (first use in this function) sg_sat_chk_power.c:152: error: 'SG_LIB_CAT_NO_SENSE' undeclared (first use in this function) sg_sat_chk_power.c:155: warning: assignment makes pointer from integer without a cast sg_sat_chk_power.c:174: warning: assignment makes pointer from integer without a cast -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24 (SMP w/2 CPU cores) Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages sg3-utils depends on: ii libc6 2.7-8 GNU C Library: Shared libraries ii libsgutils1 1.24-2 Utilities for working with generic sg3-utils recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]