From: Jeff <jef...@fo...> - 2009-11-01 17:37:17
|
I've downloaded smartmontools-5.38 and would like to start ingestng the resulting into a database (i.e. weekly checks, etc. for testing) I've unpacked the archive, run ./configure, and make resuts in the following: $ uname -a FreeBSD bobby.forestinformatics.com 6.0-RELEASE FreeBSD 6.0-RELEASE #2: Sun Nov 27 14:07:55 PST 2005 ha...@bo...:/usr/obj/usr/src/sys/GENERIC amd64 $ cd smartmontools-5.38 $ ./configure 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... nawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 for a BSD-compatible install... /usr/bin/install -c checking build system type... x86_64-unknown-freebsd6.0 checking host system type... x86_64-unknown-freebsd6.0 checking for library containing gethostbyname... 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 getopt.h usability... yes checking getopt.h presence... yes checking for getopt.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... no checking sys/inttypes.h presence... no checking for sys/inttypes.h... no 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... yes checking dev/ciss/cissio.h presence... yes checking for dev/ciss/cissio.h... yes 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... yes checking for getopt_long... yes checking for getdomainname... yes checking for gethostname... yes checking for gethostbyname... yes checking for sigset... no checking for strtoull... yes checking for uname... yes checking for working snprintf... yes checking whether C++ compiler supports __attribute__((packed))... 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 $ make make all-recursive Making all in . g++ -DHAVE_CONFIG_H -I. -DSMARTMONTOOLS_SYSCONFDIR=\"/usr/local/etc\" -I/usr/src/sys -g -O2 -Wall -W -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. -DSMARTMONTOOLS_SYSCONFDIR=\"/usr/local/etc\" -I/usr/src/sys -g -O2 -Wall -W -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. -DSMARTMONTOOLS_SYSCONFDIR=\"/usr/local/etc\" -I/usr/src/sys -g -O2 -Wall -W -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. -DSMARTMONTOOLS_SYSCONFDIR=\"/usr/local/etc\" -I/usr/src/sys -g -O2 -Wall -W -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. -DSMARTMONTOOLS_SYSCONFDIR=\"/usr/local/etc\" -I/usr/src/sys -g -O2 -Wall -W -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. -DSMARTMONTOOLS_SYSCONFDIR=\"/usr/local/etc\" -I/usr/src/sys -g -O2 -Wall -W -MT scsiata.o -MD -MP -MF .deps/scsiata.Tpo -c -o scsiata.o scsiata.cpp mv -f .deps/scsiata.Tpo .deps/scsiata.Po g++ -DHAVE_CONFIG_H -I. -DSMARTMONTOOLS_SYSCONFDIR=\"/usr/local/etc\" -I/usr/src/sys -g -O2 -Wall -W -MT scsiprint.o -MD -MP -MF .deps/scsiprint.Tpo -c -o scsiprint.o scsiprint.cpp mv -f .deps/scsiprint.Tpo .deps/scsiprint.Po g++ -DHAVE_CONFIG_H -I. -DSMARTMONTOOLS_SYSCONFDIR=\"/usr/local/etc\" -I/usr/src/sys -g -O2 -Wall -W -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. -DSMARTMONTOOLS_SYSCONFDIR=\"/usr/local/etc\" -I/usr/src/sys -g -O2 -Wall -W -MT os_freebsd.o -MD -MP -MF .deps/os_freebsd.Tpo -c -o os_freebsd.o os_freebsd.cpp os_freebsd.cpp: In function `int highpoint_command_interface(int, smart_command_set, int, char*)': os_freebsd.cpp:279: error: a function-definition is not allowed here before '{' token os_freebsd.cpp:279: error: expected `,' or `;' before '{' token os_freebsd.cpp:461: error: a function-definition is not allowed here before '{' token os_freebsd.cpp:461: error: expected `,' or `;' before '{' token os_freebsd.cpp:564: error: a function-definition is not allowed here before '{' token os_freebsd.cpp:564: error: expected `,' or `;' before '{' token os_freebsd.cpp:601: error: a function-definition is not allowed here before '{' token os_freebsd.cpp:601: error: expected `,' or `;' before '{' token os_freebsd.cpp:851: error: a function-definition is not allowed here before '{' token os_freebsd.cpp:851: error: expected `,' or `;' before '{' token os_freebsd.cpp:934: error: a function-definition is not allowed here before '{' token os_freebsd.cpp:934: error: expected `,' or `;' before '{' token os_freebsd.cpp:1028: error: a function-definition is not allowed here before '{' token os_freebsd.cpp:1028: error: expected `,' or `;' before '{' token os_freebsd.cpp:1046: error: a function-definition is not allowed here before '{' token os_freebsd.cpp:1046: error: expected `,' or `;' before '{' token os_freebsd.cpp:1122: error: a function-definition is not allowed here before '{' token os_freebsd.cpp:1122: error: expected `,' or `;' before '{' token os_freebsd.cpp:924: warning: unused variable 'fbsd_dev_prefix' os_freebsd.cpp:925: warning: unused variable 'fbsd_dev_ata_disk_prefix' os_freebsd.cpp:926: warning: unused variable 'fbsd_dev_scsi_disk_plus' os_freebsd.cpp:927: warning: unused variable 'fbsd_dev_scsi_tape1' os_freebsd.cpp:928: warning: unused variable 'fbsd_dev_scsi_tape2' os_freebsd.cpp:929: warning: unused variable 'fbsd_dev_scsi_tape3' os_freebsd.cpp:930: warning: unused variable 'fbsd_dev_twe_ctrl' os_freebsd.cpp:931: warning: unused variable 'fbsd_dev_twa_ctrl' os_freebsd.cpp:932: warning: unused variable 'fbsd_dev_cciss' os_freebsd.cpp:1033: warning: unused variable 'bytes' os_freebsd.cpp:1129: error: expected `}' at end of input os_freebsd.cpp: At global scope: os_freebsd.cpp:47: warning: 'filenameandversion' defined but not used os_freebsd.cpp:62: warning: 'int parse_ata_chan_dev(const char*, freebsd_dev_channel*)' declared `static' but never defined *** Error code 1 Stop in /usr/home/hamannj/smartmontools-5.38. *** Error code 1 Stop in /usr/home/hamannj/smartmontools-5.38. *** Error code 1 Stop in /usr/home/hamannj/smartmontools-5.38. $ Any hints would be super-duper appreciated. Thanks, Jeff. |