Your message dated Mon, 02 Nov 2009 17:43:52 +0100 with message-id <4aef0c48.3000...@debian.org> and subject line sg3-utils: code samples include missing .h file has caused the Debian Bug report #467195, regarding sg3-utils: code samples include missing .h file to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 467195: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467195 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---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
--- End Message ---
--- Begin Message ---Those header files are in the libsgutils2-dev package in /usr/include/scsi. Make sure to install that package and add /usr/include/scsi to the include path when compiling. Closing as not a bug. Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?signature.asc
Description: OpenPGP digital signature
--- End Message ---