Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd /usr/ports/sysutils/smartmontools && make clean build
- ===> Cleaning for smartmontools-5.41_2
- ===> Vulnerability check disabled, database not found
- ===> License GPLv2 accepted by the user
- ===> Extracting for smartmontools-5.41_2
- => SHA256 Checksum OK for smartmontools-5.41.tar.gz.
- ===> Patching for smartmontools-5.41_2
- ===> smartmontools-5.41_2 depends on executable: gmake - found
- ===> Configuring for smartmontools-5.41_2
- checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
- 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 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 c++ accepts -g... yes
- checking for style of include used by make... GNU
- checking dependency style of c++... none
- checking for gcc... cc
- checking whether we are using the GNU C compiler... yes
- checking whether cc accepts -g... yes
- checking for cc option to accept ISO C89... none needed
- checking dependency style of cc... none
- checking dependency style of cc... none
- checking for pkg-config... /usr/local/bin/pkg-config
- checking pkg-config is at least version 0.9.0... yes
- checking build system type... i386-portbld-freebsd7.0
- checking host system type... i386-portbld-freebsd7.0
- 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... c++ -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... no
- 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... 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 ntdddisk.h... no
- checking for ddk/ntdddisk.h... no
- checking wbemcli.h usability... no
- checking wbemcli.h presence... no
- checking for wbemcli.h... no
- checking for int64_t... yes
- checking for uint64_t... yes
- checking for getopt_long... yes
- checking for regcomp... yes
- checking for getdomainname... yes
- checking for gethostname... yes
- checking for getaddrinfo... yes
- checking for gethostbyname... yes
- checking for sigset... no
- checking for strtoull... yes
- checking for uname... yes
- checking whether byte ordering is bigendian... no
- checking for working snprintf... yes
- checking whether c++ supports __attribute__((packed))... yes
- gnome-config: not found
- checking which init (rc) directory to use... ${sysconfdir}/rc.d
- checking for capng_clear in -lcap-ng... no
- checking whether to use libcap-ng... no
- checking for libusb20_dev_get_device_desc in -lusb... no
- checking whether os_freebsd.cpp uses new interface... yes
- configure: creating ./config.status
- config.status: creating Makefile
- config.status: creating config.h
- config.status: executing depfiles commands
- checking whether make sets $(MAKE)... (cached) yes
- -----------------------------------------------------------------------------
- smartmontools-5.41 configuration:
- host operating system: i386-portbld-freebsd7.0
- C++ compiler: c++
- C compiler: cc
- preprocessor flags: -I/usr/src/sys
- C++ compiler flags: -O -fno-strict-aliasing -pipe -Wno-write-strings -Wall -W
- C compiler flags: -O -fno-strict-aliasing -pipe -Wno-write-strings
- linker flags:
- OS specific modules: os_freebsd.o cciss.o -lcam
- binary install path: /usr/local/sbin
- man page install path: /usr/local/man
- doc file install path: /usr/local/share/doc/smartmontools
- examples install path: /usr/local/share/doc/smartmontools/examplescripts
- drive database file: /usr/local/share/smartmontools/drivedb.h
- database update script: /usr/local/sbin/update-smart-drivedb
- download tools: curl wget lynx fetch
- local drive database: /usr/local/etc/smart_drivedb.h
- smartd config file: /usr/local/etc/smartd.conf.sample
- smartd initd script: /usr/local/etc/rc.d/smartd.sample
- smartd save files: [disabled]
- smartd attribute logs: [disabled]
- libcap-ng support: no
- -----------------------------------------------------------------------------
- ===> Building for smartmontools-5.41_2
- make all-am
- c++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -I/usr/src/sys -O -fno-strict-aliasing -pipe -Wno-write-strings -Wall -W -c -o smartd.o smartd.cpp
- In file included from /usr/include/c++/4.2/iosfwd:47,
- from /usr/include/c++/4.2/bits/stl_algobase.h:70,
- from /usr/include/c++/4.2/bits/char_traits.h:46,
- from /usr/include/c++/4.2/string:47,
- from /usr/include/c++/4.2/stdexcept:44,
- from smartd.cpp:44:
- /usr/include/c++/4.2/cctype:70: error: '::isalnum' has not been declared
- /usr/include/c++/4.2/cctype:71: error: '::isalpha' has not been declared
- /usr/include/c++/4.2/cctype:72: error: '::iscntrl' has not been declared
- /usr/include/c++/4.2/cctype:73: error: '::isdigit' has not been declared
- /usr/include/c++/4.2/cctype:74: error: '::isgraph' has not been declared
- /usr/include/c++/4.2/cctype:75: error: '::islower' has not been declared
- /usr/include/c++/4.2/cctype:76: error: '::isprint' has not been declared
- /usr/include/c++/4.2/cctype:77: error: '::ispunct' has not been declared
- /usr/include/c++/4.2/cctype:78: error: '::isspace' has not been declared
- /usr/include/c++/4.2/cctype:79: error: '::isupper' has not been declared
- /usr/include/c++/4.2/cctype:80: error: '::isxdigit' has not been declared
- /usr/include/c++/4.2/cctype:81: error: '::tolower' has not been declared
- /usr/include/c++/4.2/cctype:82: error: '::toupper' has not been declared
- In file included from /usr/include/c++/4.2/cwchar:52,
- from /usr/include/c++/4.2/bits/postypes.h:46,
- from /usr/include/c++/4.2/iosfwd:49,
- from /usr/include/c++/4.2/bits/stl_algobase.h:70,
- from /usr/include/c++/4.2/bits/char_traits.h:46,
- from /usr/include/c++/4.2/string:47,
- from /usr/include/c++/4.2/stdexcept:44,
- from smartd.cpp:44:
- /usr/include/c++/4.2/ctime:68: error: '::tm' has not been declared
- /usr/include/c++/4.2/ctime:70: error: '::clock' has not been declared
- /usr/include/c++/4.2/ctime:71: error: '::difftime' has not been declared
- /usr/include/c++/4.2/ctime:72: error: '::mktime' has not been declared
- /usr/include/c++/4.2/ctime:73: error: '::time' has not been declared
- /usr/include/c++/4.2/ctime:74: error: '::asctime' has not been declared
- /usr/include/c++/4.2/ctime:75: error: '::ctime' has not been declared
- /usr/include/c++/4.2/ctime:76: error: '::gmtime' has not been declared
- /usr/include/c++/4.2/ctime:77: error: '::localtime' has not been declared
- /usr/include/c++/4.2/ctime:78: error: '::strftime' has not been declared
- smartd.cpp: In function 'bool write_dev_state(const char*, const persistent_dev_state&)':
- smartd.cpp:662: error: 'unlink' was not declared in this scope
- smartd.cpp: In function 'bool write_dev_attrlog(const char*, const persistent_dev_state&)':
- smartd.cpp:719: error: 'time' was not declared in this scope
- smartd.cpp:720: error: 'gmtime' was not declared in this scope
- smartd.cpp:722: error: invalid use of incomplete type 'struct tm'
- /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
- smartd.cpp:722: error: invalid use of incomplete type 'struct tm'
- /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
- smartd.cpp:722: error: invalid use of incomplete type 'struct tm'
- /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
- smartd.cpp:723: error: invalid use of incomplete type 'struct tm'
- /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
- smartd.cpp:723: error: invalid use of incomplete type 'struct tm'
- /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
- smartd.cpp:723: error: invalid use of incomplete type 'struct tm'
- /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
- smartd.cpp: In function 'void RemovePidFile()':
- smartd.cpp:774: error: 'unlink' was not declared in this scope
- smartd.cpp: In function 'void MailWarning(const dev_config&, dev_state&, int, const char*, ...)':
- smartd.cpp:953: error: 'time' was not declared in this scope
- smartd.cpp:982: error: 'gethostname' was not declared in this scope
- smartd.cpp:1000: error: 'getdomainname' was not declared in this scope
- smartd.cpp: In function 'bool WaitForPidFile()':
- smartd.cpp:1346: error: 'sleep' was not declared in this scope
- smartd.cpp: In function 'void DaemonInit()':
- smartd.cpp:1368: error: 'fork' was not declared in this scope
- smartd.cpp:1383: error: 'setsid' was not declared in this scope
- smartd.cpp:1386: error: 'fork' was not declared in this scope
- smartd.cpp:1399: error: 'getdtablesize' was not declared in this scope
- smartd.cpp:1400: error: 'close' was not declared in this scope
- smartd.cpp:1413: error: 'dup' was not declared in this scope
- smartd.cpp:1415: error: 'dup' was not declared in this scope
- smartd.cpp:1418: error: 'chdir' was not declared in this scope
- smartd.cpp:1421: error: 'getpid' was not declared in this scope
- smartd.cpp: In function 'void WritePidFile()':
- smartd.cpp:1442: error: 'getpid' was not declared in this scope
- smartd.cpp: In function 'void finish_device_scan(dev_config&, dev_state&)':
- smartd.cpp:1750: error: 'time' was not declared in this scope
- smartd.cpp: In function 'char next_scheduled_test(const dev_config&, dev_state&, bool, time_t)':
- smartd.cpp:2311: error: 'time' was not declared in this scope
- smartd.cpp:2325: error: 'localtime' was not declared in this scope
- smartd.cpp:2327: error: invalid use of incomplete type 'struct tm'
- /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
- smartd.cpp:2327: error: invalid use of incomplete type 'struct tm'
- /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
- smartd.cpp:2342: error: invalid use of incomplete type 'struct tm'
- /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
- smartd.cpp:2342: error: invalid use of incomplete type 'struct tm'
- /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
- smartd.cpp:2342: error: invalid use of incomplete type 'struct tm'
- /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
- smartd.cpp:2346: error: invalid use of incomplete type 'struct tm'
- /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
- smartd.cpp:2363: error: 'localtime' was not declared in this scope
- smartd.cpp:2364: error: invalid use of incomplete type 'struct tm'
- /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
- smartd.cpp:2364: error: invalid use of incomplete type 'struct tm'
- /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
- smartd.cpp:2369: error: invalid use of incomplete type 'struct tm'
- /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
- smartd.cpp: In function 'void PrintTestSchedule(const dev_config_vector&, dev_state_vector&, const smart_device_list&)':
- smartd.cpp:2390: error: 'time' was not declared in this scope
- smartd.cpp: In function 'void CheckTemperature(const dev_config&, dev_state&, unsigned char, unsigned char)':
- smartd.cpp:2670: error: 'time' was not declared in this scope
- smartd.cpp:2681: error: 'time' was not declared in this scope
- smartd.cpp: In function 'int ATACheckDevice(const dev_config&, dev_state&, ata_device*, bool, bool)':
- smartd.cpp:2844: error: 'sleep' was not declared in this scope
- smartd.cpp:2897: error: 'time' was not declared in this scope
- smartd.cpp:2903: error: 'time' was not declared in this scope
- smartd.cpp: In function 'void Initialize(time_t*)':
- smartd.cpp:3144: error: 'time' was not declared in this scope
- smartd.cpp: In function 'time_t dosleep(time_t, bool&)':
- smartd.cpp:3178: error: 'time' was not declared in this scope
- smartd.cpp:3194: error: 'sleep' was not declared in this scope
- *** Error code 1
- Stop in /usr/ports/sysutils/smartmontools/work/smartmontools-5.41.
- *** Error code 1
- Stop in /usr/ports/sysutils/smartmontools/work/smartmontools-5.41.
- *** Error code 1
- Stop in /usr/ports/sysutils/smartmontools.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement