Thanks for replying Christian.
>Ray Phillips wrote:
>>I thought I'd report the result when I tried to install smartmontools
>>5.39.1 on a NetBSD/i386 5.0.1 machine from source code. configure
>>seemed to complete without problems but make failed:
>>
>>
>>
>
>Could not reproduce this with a fresh install of NetBSD/i386 5.0.2.
I tried again on a fresh install of NetBSD/i386 5.0.2. This time the
error was different [1].
>>% cat make.log
>>make all-recursive
>>Making all in .
>>...
>>g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
>>-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
>>-fno-strict-aliasing -MT os_netbsd.o -MD -MP -MF .deps/os_netbsd.Tpo
>>-c -o os_netbsd.o os_netbsd.cpp
>>/usr/include/prop/prop_object.h:60: error: expected unqualified-id
>>before '/' token
>>...
>>/usr/include/prop/prop_ingest.h:85: error: expected unqualified-id
>>before '/' token
>>/usr/include/sys/device.h:143: error: expected unqualified-id
>>before '/' token
>>...
>>
>
>The syntax error is reported from the system include sys/device.h
>which is the first file included by os_freebsd.h. Are one of these
>system includes probably broken?
>
>Could you please try to compile a source which only contains:
>
>#include <sys/device.h>
I edited os_netbsd.h so the above #include line was the only one
remaining that uses a file in /usr/include/sys:
% diff os_netbsd.h.orig os_netbsd.h
30,34d29
< #include <sys/param.h>
< #include <sys/sysctl.h>
<
< #include <sys/scsiio.h>
< #include <sys/ataio.h>
%
Is that what you meant me to do? I've appended the result to this email [2].
Ray
[1]
% uname -prs
NetBSD 5.0.2 i386
% ls -l
total 1348
-rw------- 1 ray wheel 659335 Feb 20 01:07 smartmontools-5.39.1.tar.gz
-rw------- 1 ray wheel 62 Feb 20 01:07 smartmontools-5.39.1.tar.gz.md5
% tar zxf *z
% ls -F
smartmontools-5.39.1/ smartmontools-5.39.1.tar.gz.md5
smartmontools-5.39.1.tar.gz
% cd *1
% /usr/bin/time sh -c './configure > configure.log 2>&1'
14.00 real 3.56 user 1.80 sys
% /usr/bin/time sh -c 'make > make.log 2>&1'
22.68 real 19.69 user 1.10 sys
% cat configure.log
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking dependency style of gcc... gcc3
checking build system type... i386-unknown-netbsdelf5.0.2
checking host system type... i386-unknown-netbsdelf5.0.2
checking whether this is a build from SVN... no
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for library containing getaddrinfo... none required
checking for library containing getdomainname... none required
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking dev/ata/atavar.h usability... no
checking dev/ata/atavar.h presence... no
checking for dev/ata/atavar.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking sys/inttypes.h usability... yes
checking sys/inttypes.h presence... yes
checking for sys/inttypes.h... yes
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking sys/tweio.h usability... no
checking sys/tweio.h presence... no
checking for sys/tweio.h... no
checking sys/twereg.h usability... no
checking sys/twereg.h presence... no
checking for sys/twereg.h... no
checking sys/tw_osl_ioctl.h usability... no
checking sys/tw_osl_ioctl.h presence... no
checking for sys/tw_osl_ioctl.h... no
checking dev/ciss/cissio.h usability... no
checking dev/ciss/cissio.h presence... no
checking for dev/ciss/cissio.h... no
checking linux/compiler.h usability... no
checking linux/compiler.h presence... no
checking for linux/compiler.h... no
checking for linux/cciss_ioctl.h... no
checking for int64_t... yes
checking for uint64_t... yes
checking for getopt_long... yes
checking for getdomainname... yes
checking for gethostname... yes
checking for getaddrinfo... yes
checking for gethostbyname... yes
checking for sigset... yes
checking for strtoull... yes
checking for uname... yes
checking for working snprintf... yes
checking whether C++ compiler supports __attribute__((packed))... yes
checking for OS dependent modules and libraries... os_netbsd.o -lutil
checking whether os_netbsd.cpp uses new interface... no
checking whether g++ supports -fno-strict-aliasing... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating examplescripts/Makefile
config.status: creating config.h
config.status: executing depfiles commands
checking whether make sets $(MAKE)... (cached) yes
% cat make.log
make all-recursive
Making all in .
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT smartd.o -MD -MP -MF .deps/smartd.Tpo -c -o
smartd.o smartd.cpp
mv -f .deps/smartd.Tpo .deps/smartd.Po
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT atacmdnames.o -MD -MP -MF
.deps/atacmdnames.Tpo -c -o atacmdnames.o atacmdnames.cpp
mv -f .deps/atacmdnames.Tpo .deps/atacmdnames.Po
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT atacmds.o -MD -MP -MF .deps/atacmds.Tpo -c
-o atacmds.o atacmds.cpp
mv -f .deps/atacmds.Tpo .deps/atacmds.Po
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT dev_ata_cmd_set.o -MD -MP -MF
.deps/dev_ata_cmd_set.Tpo -c -o dev_ata_cmd_set.o dev_ata_cmd_set.cpp
mv -f .deps/dev_ata_cmd_set.Tpo .deps/dev_ata_cmd_set.Po
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT dev_interface.o -MD -MP -MF
.deps/dev_interface.Tpo -c -o dev_interface.o dev_interface.cpp
mv -f .deps/dev_interface.Tpo .deps/dev_interface.Po
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT knowndrives.o -MD -MP -MF
.deps/knowndrives.Tpo -c -o knowndrives.o knowndrives.cpp
mv -f .deps/knowndrives.Tpo .deps/knowndrives.Po
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT scsicmds.o -MD -MP -MF .deps/scsicmds.Tpo -c
-o scsicmds.o scsicmds.cpp
mv -f .deps/scsicmds.Tpo .deps/scsicmds.Po
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT scsiata.o -MD -MP -MF .deps/scsiata.Tpo -c
-o scsiata.o scsiata.cpp
mv -f .deps/scsiata.Tpo .deps/scsiata.Po
echo '/* svnversion.h. Generated by Makefile from Id strings. */' >
svnversion.h
(cd . && cat CHANGELOG Makefile.am configure.in smart*.in *.cpp *.h
*.s) | sed -n 's,^.*\$[I][d]: [^ ]* \([0-9][0-9]* [0-9][-0-9]*
[0-9][:0-9]*\)[^:0-9][^$]*\$.*$,\1,p' | sort -n -r | sed -n
'h;s,^\([^ ]*\) .*$,REV "\1",p;g;s,^[^ ]* \([^ ]*\) .*$,DATE
"\1",p;g;s,^[^ ]* [^ ]* \([^ ]*\)$,TIME "\1",p;q' | sed 's,^,#define
SMARTMONTOOLS_SVN_,' >> svnversion.h
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT utility.o -MD -MP -MF .deps/utility.Tpo -c
-o utility.o utility.cpp
mv -f .deps/utility.Tpo .deps/utility.Po
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT os_netbsd.o -MD -MP -MF .deps/os_netbsd.Tpo
-c -o os_netbsd.o os_netbsd.cpp
os_netbsd.cpp:171: warning: unused parameter 'fd'
os_netbsd.cpp:171: warning: unused parameter 'command'
os_netbsd.cpp:171: warning: unused parameter 'select'
os_netbsd.cpp:171: warning: unused parameter 'data'
os_netbsd.cpp:175: warning: unused parameter 'fd'
os_netbsd.cpp:175: warning: unused parameter 'command'
os_netbsd.cpp:175: warning: unused parameter 'select'
os_netbsd.cpp:175: warning: unused parameter 'data'
os_netbsd.cpp:347: warning: unused parameter 'fd'
os_netbsd.cpp:347: warning: unused parameter 'disknum'
os_netbsd.cpp:347: warning: unused parameter 'escalade_type'
os_netbsd.cpp:347: warning: unused parameter 'command'
os_netbsd.cpp:347: warning: unused parameter 'select'
os_netbsd.cpp:347: warning: unused parameter 'data'
os_netbsd.cpp:354: warning: unused parameter 'fd'
os_netbsd.cpp:354: warning: unused parameter 'disknum'
os_netbsd.cpp:354: warning: unused parameter 'command'
os_netbsd.cpp:354: warning: unused parameter 'select'
os_netbsd.cpp:354: warning: unused parameter 'data'
mv -f .deps/os_netbsd.Tpo .deps/os_netbsd.Po
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT dev_legacy.o -MD -MP -MF
.deps/dev_legacy.Tpo -c -o dev_legacy.o dev_legacy.cpp
mv -f .deps/dev_legacy.Tpo .deps/dev_legacy.Po
g++ -g -O2 -Wall -W -fno-strict-aliasing -o smartd smartd.o
atacmdnames.o atacmds.o dev_ata_cmd_set.o dev_interface.o
knowndrives.o scsicmds.o scsiata.o utility.o os_netbsd.o
dev_legacy.o -lutil
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT smartctl.o -MD -MP -MF .deps/smartctl.Tpo -c
-o smartctl.o smartctl.cpp
mv -f .deps/smartctl.Tpo .deps/smartctl.Po
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT ataprint.o -MD -MP -MF .deps/ataprint.Tpo -c
-o ataprint.o ataprint.cpp
mv -f .deps/ataprint.Tpo .deps/ataprint.Po
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT scsiprint.o -MD -MP -MF .deps/scsiprint.Tpo
-c -o scsiprint.o scsiprint.cpp
mv -f .deps/scsiprint.Tpo .deps/scsiprint.Po
g++ -g -O2 -Wall -W -fno-strict-aliasing -o smartctl smartctl.o
atacmdnames.o atacmds.o ataprint.o dev_ata_cmd_set.o
dev_interface.o knowndrives.o scsicmds.o scsiata.o scsiprint.o
utility.o os_netbsd.o dev_legacy.o -lutil
make: don't know how to make smartd.conf.5. Stop
make: stopped in
/usr/home/ray/installers/smartmontools/5.39.1/smartmontools-5.39.1
*** Error code 1
Stop.
make: stopped in
/usr/home/ray/installers/smartmontools/5.39.1/smartmontools-5.39.1
*** Error code 1
Stop.
make: stopped in
/usr/home/ray/installers/smartmontools/5.39.1/smartmontools-5.39.1
%
[2]
% /usr/bin/time sh -c './configure > configure.log 2>&1'
7.64 real 3.61 user 1.69 sys
% /usr/bin/time sh -c 'make > make.log 2>&1'
13.98 real 13.35 user 0.49 sys
% cat configure.log
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking dependency style of gcc... gcc3
checking build system type... i386-unknown-netbsdelf5.0.2
checking host system type... i386-unknown-netbsdelf5.0.2
checking whether this is a build from SVN... no
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for library containing getaddrinfo... none required
checking for library containing getdomainname... none required
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking dev/ata/atavar.h usability... no
checking dev/ata/atavar.h presence... no
checking for dev/ata/atavar.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking sys/inttypes.h usability... yes
checking sys/inttypes.h presence... yes
checking for sys/inttypes.h... yes
checking sys/int_types.h usability... no
checking sys/int_types.h presence... no
checking for sys/int_types.h... no
checking sys/tweio.h usability... no
checking sys/tweio.h presence... no
checking for sys/tweio.h... no
checking sys/twereg.h usability... no
checking sys/twereg.h presence... no
checking for sys/twereg.h... no
checking sys/tw_osl_ioctl.h usability... no
checking sys/tw_osl_ioctl.h presence... no
checking for sys/tw_osl_ioctl.h... no
checking dev/ciss/cissio.h usability... no
checking dev/ciss/cissio.h presence... no
checking for dev/ciss/cissio.h... no
checking linux/compiler.h usability... no
checking linux/compiler.h presence... no
checking for linux/compiler.h... no
checking for linux/cciss_ioctl.h... no
checking for int64_t... yes
checking for uint64_t... yes
checking for getopt_long... yes
checking for getdomainname... yes
checking for gethostname... yes
checking for getaddrinfo... yes
checking for gethostbyname... yes
checking for sigset... yes
checking for strtoull... yes
checking for uname... yes
checking for working snprintf... yes
checking whether C++ compiler supports __attribute__((packed))... yes
checking for OS dependent modules and libraries... os_netbsd.o -lutil
checking whether os_netbsd.cpp uses new interface... no
checking whether g++ supports -fno-strict-aliasing... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating examplescripts/Makefile
config.status: creating config.h
config.status: executing depfiles commands
checking whether make sets $(MAKE)... (cached) yes
% cat make.log
make all-recursive
Making all in .
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT smartd.o -MD -MP -MF .deps/smartd.Tpo -c -o
smartd.o smartd.cpp
mv -f .deps/smartd.Tpo .deps/smartd.Po
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT atacmdnames.o -MD -MP -MF
.deps/atacmdnames.Tpo -c -o atacmdnames.o atacmdnames.cpp
mv -f .deps/atacmdnames.Tpo .deps/atacmdnames.Po
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT atacmds.o -MD -MP -MF .deps/atacmds.Tpo -c
-o atacmds.o atacmds.cpp
mv -f .deps/atacmds.Tpo .deps/atacmds.Po
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT dev_ata_cmd_set.o -MD -MP -MF
.deps/dev_ata_cmd_set.Tpo -c -o dev_ata_cmd_set.o dev_ata_cmd_set.cpp
mv -f .deps/dev_ata_cmd_set.Tpo .deps/dev_ata_cmd_set.Po
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT dev_interface.o -MD -MP -MF
.deps/dev_interface.Tpo -c -o dev_interface.o dev_interface.cpp
mv -f .deps/dev_interface.Tpo .deps/dev_interface.Po
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT knowndrives.o -MD -MP -MF
.deps/knowndrives.Tpo -c -o knowndrives.o knowndrives.cpp
mv -f .deps/knowndrives.Tpo .deps/knowndrives.Po
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT scsicmds.o -MD -MP -MF .deps/scsicmds.Tpo -c
-o scsicmds.o scsicmds.cpp
mv -f .deps/scsicmds.Tpo .deps/scsicmds.Po
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT scsiata.o -MD -MP -MF .deps/scsiata.Tpo -c
-o scsiata.o scsiata.cpp
mv -f .deps/scsiata.Tpo .deps/scsiata.Po
echo '/* svnversion.h. Generated by Makefile from Id strings. */' >
svnversion.h
(cd . && cat CHANGELOG Makefile.am configure.in smart*.in *.cpp *.h
*.s) | sed -n 's,^.*\$[I][d]: [^ ]* \([0-9][0-9]* [0-9][-0-9]*
[0-9][:0-9]*\)[^:0-9][^$]*\$.*$,\1,p' | sort -n -r | sed -n
'h;s,^\([^ ]*\) .*$,REV "\1",p;g;s,^[^ ]* \([^ ]*\) .*$,DATE
"\1",p;g;s,^[^ ]* [^ ]* \([^ ]*\)$,TIME "\1",p;q' | sed 's,^,#define
SMARTMONTOOLS_SVN_,' >> svnversion.h
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT utility.o -MD -MP -MF .deps/utility.Tpo -c
-o utility.o utility.cpp
mv -f .deps/utility.Tpo .deps/utility.Po
g++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -g -O2 -Wall -W
-fno-strict-aliasing -MT os_netbsd.o -MD -MP -MF .deps/os_netbsd.Tpo
-c -o os_netbsd.o os_netbsd.cpp
os_netbsd.cpp: In function 'int get_dev_names(char***, const char*)':
os_netbsd.cpp:101: error: 'CTL_HW' was not declared in this scope
os_netbsd.cpp:102: error: 'HW_DISKNAMES' was not declared in this scope
os_netbsd.cpp:103: error: 'sysctl' was not declared in this scope
os_netbsd.cpp:111: error: 'sysctl' was not declared in this scope
os_netbsd.cpp: At global scope:
os_netbsd.cpp:171: warning: unused parameter 'fd'
os_netbsd.cpp:171: warning: unused parameter 'command'
os_netbsd.cpp:171: warning: unused parameter 'select'
os_netbsd.cpp:171: warning: unused parameter 'data'
os_netbsd.cpp:175: warning: unused parameter 'fd'
os_netbsd.cpp:175: warning: unused parameter 'command'
os_netbsd.cpp:175: warning: unused parameter 'select'
os_netbsd.cpp:175: warning: unused parameter 'data'
os_netbsd.cpp: In function 'int ata_command_interface(int,
smart_command_set, int, char*)':
os_netbsd.cpp:181: error: aggregate 'atareq req' has incomplete type
and cannot be defined
os_netbsd.cpp:182: error: 'DEV_BSIZE' was not declared in this scope
os_netbsd.cpp:188: error: 'inbuf' was not declared in this scope
os_netbsd.cpp:192: error: 'ATACMD_READ' was not declared in this scope
os_netbsd.cpp:222: error: 'ATACMD_WRITE' was not declared in this scope
os_netbsd.cpp:246: error: 'ATACMD_READREG' was not declared in this scope
os_netbsd.cpp:303: error: 'ATAIOCCOMMAND' was not declared in this scope
os_netbsd.cpp:303: error: 'ioctl' was not declared in this scope
os_netbsd.cpp:307: error: 'ATACMD_OK' was not declared in this scope
os_netbsd.cpp:329: error: 'ATAIOCCOMMAND' was not declared in this scope
os_netbsd.cpp:329: error: 'ioctl' was not declared in this scope
os_netbsd.cpp:333: error: 'ATACMD_OK' was not declared in this scope
os_netbsd.cpp: At global scope:
os_netbsd.cpp:347: warning: unused parameter 'fd'
os_netbsd.cpp:347: warning: unused parameter 'disknum'
os_netbsd.cpp:347: warning: unused parameter 'escalade_type'
os_netbsd.cpp:347: warning: unused parameter 'command'
os_netbsd.cpp:347: warning: unused parameter 'select'
os_netbsd.cpp:347: warning: unused parameter 'data'
os_netbsd.cpp:354: warning: unused parameter 'fd'
os_netbsd.cpp:354: warning: unused parameter 'disknum'
os_netbsd.cpp:354: warning: unused parameter 'command'
os_netbsd.cpp:354: warning: unused parameter 'select'
os_netbsd.cpp:354: warning: unused parameter 'data'
os_netbsd.cpp: In function 'int do_scsi_cmnd_io(int, scsi_cmnd_io*, int)':
os_netbsd.cpp:363: error: aggregate 'scsireq sc' has incomplete type
and cannot be defined
os_netbsd.cpp:393: error: 'SCCMD_READ' was not declared in this scope
os_netbsd.cpp:394: error: 'SCCMD_WRITE' was not declared in this scope
os_netbsd.cpp:396: error: 'SCIOCCOMMAND' was not declared in this scope
os_netbsd.cpp:396: error: 'ioctl' was not declared in this scope
os_netbsd.cpp:417: error: 'SCCMD_OK' was not declared in this scope
os_netbsd.cpp:419: error: 'SCCMD_TIMEOUT' was not declared in this scope
os_netbsd.cpp:421: error: 'SCCMD_BUSY' was not declared in this scope
*** Error code 1
Stop.
make: stopped in
/usr/home/ray/installers/smartmontools/5.39.1/smartmontools-5.39.1
*** Error code 1
Stop.
make: stopped in
/usr/home/ray/installers/smartmontools/5.39.1/smartmontools-5.39.1
*** Error code 1
Stop.
make: stopped in
/usr/home/ray/installers/smartmontools/5.39.1/smartmontools-5.39.1
%
|