Advertisement
Guest User

Untitled

a guest
Aug 29th, 2011
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 14.03 KB | None | 0 0
  1. cd /usr/ports/sysutils/smartmontools && make clean build
  2. ===>  Cleaning for smartmontools-5.41_2
  3. ===>  Vulnerability check disabled, database not found
  4. ===>  License GPLv2 accepted by the user
  5. ===>  Extracting for smartmontools-5.41_2
  6. => SHA256 Checksum OK for smartmontools-5.41.tar.gz.
  7. ===>  Patching for smartmontools-5.41_2
  8. ===>   smartmontools-5.41_2 depends on executable: gmake - found
  9. ===>  Configuring for smartmontools-5.41_2
  10. checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
  11. checking whether build environment is sane... yes
  12. checking for a thread-safe mkdir -p... ./install-sh -c -d
  13. checking for gawk... no
  14. checking for mawk... no
  15. checking for nawk... nawk
  16. checking whether make sets $(MAKE)... yes
  17. checking whether to enable maintainer-specific portions of Makefiles... no
  18. checking whether the C++ compiler works... yes
  19. checking for C++ compiler default output file name... a.out
  20. checking for suffix of executables...
  21. checking whether we are cross compiling... no
  22. checking for suffix of object files... o
  23. checking whether we are using the GNU C++ compiler... yes
  24. checking whether c++ accepts -g... yes
  25. checking for style of include used by make... GNU
  26. checking dependency style of c++... none
  27. checking for gcc... cc
  28. checking whether we are using the GNU C compiler... yes
  29. checking whether cc accepts -g... yes
  30. checking for cc option to accept ISO C89... none needed
  31. checking dependency style of cc... none
  32. checking dependency style of cc... none
  33. checking for pkg-config... /usr/local/bin/pkg-config
  34. checking pkg-config is at least version 0.9.0... yes
  35. checking build system type... i386-portbld-freebsd7.0
  36. checking host system type... i386-portbld-freebsd7.0
  37. checking whether this is a build from SVN... no
  38. checking for library containing socket... none required
  39. checking for library containing gethostbyname... none required
  40. checking for library containing getaddrinfo... none required
  41. checking for library containing getdomainname... none required
  42. checking how to run the C++ preprocessor... c++ -E
  43. checking for grep that handles long lines and -e... /usr/bin/grep
  44. checking for egrep... /usr/bin/grep -E
  45. checking for ANSI C header files... no
  46. checking for sys/types.h... yes
  47. checking for sys/stat.h... yes
  48. checking for stdlib.h... yes
  49. checking for string.h... yes
  50. checking for memory.h... yes
  51. checking for strings.h... yes
  52. checking for inttypes.h... yes
  53. checking for stdint.h... yes
  54. checking for unistd.h... yes
  55. checking locale.h usability... yes
  56. checking locale.h presence... yes
  57. checking for locale.h... yes
  58. checking dev/ata/atavar.h usability... no
  59. checking dev/ata/atavar.h presence... no
  60. checking for dev/ata/atavar.h... no
  61. checking netdb.h usability... yes
  62. checking netdb.h presence... yes
  63. checking for netdb.h... yes
  64. checking for inttypes.h... (cached) yes
  65. checking for stdint.h... (cached) yes
  66. checking sys/inttypes.h usability... no
  67. checking sys/inttypes.h presence... no
  68. checking for sys/inttypes.h... no
  69. checking sys/int_types.h usability... no
  70. checking sys/int_types.h presence... no
  71. checking for sys/int_types.h... no
  72. checking sys/tweio.h usability... no
  73. checking sys/tweio.h presence... no
  74. checking for sys/tweio.h... no
  75. checking sys/twereg.h usability... no
  76. checking sys/twereg.h presence... no
  77. checking for sys/twereg.h... no
  78. checking sys/tw_osl_ioctl.h usability... no
  79. checking sys/tw_osl_ioctl.h presence... no
  80. checking for sys/tw_osl_ioctl.h... no
  81. checking dev/ciss/cissio.h usability... yes
  82. checking dev/ciss/cissio.h presence... yes
  83. checking for dev/ciss/cissio.h... yes
  84. checking linux/compiler.h usability... no
  85. checking linux/compiler.h presence... no
  86. checking for linux/compiler.h... no
  87. checking for linux/cciss_ioctl.h... no
  88. checking for ntdddisk.h... no
  89. checking for ddk/ntdddisk.h... no
  90. checking wbemcli.h usability... no
  91. checking wbemcli.h presence... no
  92. checking for wbemcli.h... no
  93. checking for int64_t... yes
  94. checking for uint64_t... yes
  95. checking for getopt_long... yes
  96. checking for regcomp... yes
  97. checking for getdomainname... yes
  98. checking for gethostname... yes
  99. checking for getaddrinfo... yes
  100. checking for gethostbyname... yes
  101. checking for sigset... no
  102. checking for strtoull... yes
  103. checking for uname... yes
  104. checking whether byte ordering is bigendian... no
  105. checking for working snprintf... yes
  106. checking whether c++ supports __attribute__((packed))... yes
  107. gnome-config: not found
  108. checking which init (rc) directory to use... ${sysconfdir}/rc.d
  109. checking for capng_clear in -lcap-ng... no
  110. checking whether to use libcap-ng... no
  111. checking for libusb20_dev_get_device_desc in -lusb... no
  112. checking whether os_freebsd.cpp uses new interface... yes
  113. configure: creating ./config.status
  114. config.status: creating Makefile
  115. config.status: creating config.h
  116. config.status: executing depfiles commands
  117. checking whether make sets $(MAKE)... (cached) yes
  118. -----------------------------------------------------------------------------
  119. smartmontools-5.41 configuration:
  120. host operating system:  i386-portbld-freebsd7.0
  121. C++ compiler:           c++
  122. C compiler:             cc
  123. preprocessor flags:      -I/usr/src/sys
  124. C++ compiler flags:     -O -fno-strict-aliasing -pipe -Wno-write-strings -Wall -W
  125. C compiler flags:       -O -fno-strict-aliasing -pipe -Wno-write-strings
  126. linker flags:          
  127. OS specific modules:    os_freebsd.o cciss.o -lcam
  128. binary install path:    /usr/local/sbin
  129. man page install path:  /usr/local/man
  130. doc file install path:  /usr/local/share/doc/smartmontools
  131. examples install path:  /usr/local/share/doc/smartmontools/examplescripts
  132. drive database file:    /usr/local/share/smartmontools/drivedb.h
  133. database update script: /usr/local/sbin/update-smart-drivedb
  134. download tools:         curl wget lynx fetch
  135. local drive database:   /usr/local/etc/smart_drivedb.h
  136. smartd config file:     /usr/local/etc/smartd.conf.sample
  137. smartd initd script:    /usr/local/etc/rc.d/smartd.sample
  138. smartd save files:      [disabled]
  139. smartd attribute logs:  [disabled]
  140. libcap-ng support:      no
  141. -----------------------------------------------------------------------------
  142. ===>  Building for smartmontools-5.41_2
  143. make  all-am
  144. 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
  145. In file included from /usr/include/c++/4.2/iosfwd:47,
  146.                  from /usr/include/c++/4.2/bits/stl_algobase.h:70,
  147.                  from /usr/include/c++/4.2/bits/char_traits.h:46,
  148.                  from /usr/include/c++/4.2/string:47,
  149.                  from /usr/include/c++/4.2/stdexcept:44,
  150.                  from smartd.cpp:44:
  151. /usr/include/c++/4.2/cctype:70: error: '::isalnum' has not been declared
  152. /usr/include/c++/4.2/cctype:71: error: '::isalpha' has not been declared
  153. /usr/include/c++/4.2/cctype:72: error: '::iscntrl' has not been declared
  154. /usr/include/c++/4.2/cctype:73: error: '::isdigit' has not been declared
  155. /usr/include/c++/4.2/cctype:74: error: '::isgraph' has not been declared
  156. /usr/include/c++/4.2/cctype:75: error: '::islower' has not been declared
  157. /usr/include/c++/4.2/cctype:76: error: '::isprint' has not been declared
  158. /usr/include/c++/4.2/cctype:77: error: '::ispunct' has not been declared
  159. /usr/include/c++/4.2/cctype:78: error: '::isspace' has not been declared
  160. /usr/include/c++/4.2/cctype:79: error: '::isupper' has not been declared
  161. /usr/include/c++/4.2/cctype:80: error: '::isxdigit' has not been declared
  162. /usr/include/c++/4.2/cctype:81: error: '::tolower' has not been declared
  163. /usr/include/c++/4.2/cctype:82: error: '::toupper' has not been declared
  164. In file included from /usr/include/c++/4.2/cwchar:52,
  165.                  from /usr/include/c++/4.2/bits/postypes.h:46,
  166.                  from /usr/include/c++/4.2/iosfwd:49,
  167.                  from /usr/include/c++/4.2/bits/stl_algobase.h:70,
  168.                  from /usr/include/c++/4.2/bits/char_traits.h:46,
  169.                  from /usr/include/c++/4.2/string:47,
  170.                  from /usr/include/c++/4.2/stdexcept:44,
  171.                  from smartd.cpp:44:
  172. /usr/include/c++/4.2/ctime:68: error: '::tm' has not been declared
  173. /usr/include/c++/4.2/ctime:70: error: '::clock' has not been declared
  174. /usr/include/c++/4.2/ctime:71: error: '::difftime' has not been declared
  175. /usr/include/c++/4.2/ctime:72: error: '::mktime' has not been declared
  176. /usr/include/c++/4.2/ctime:73: error: '::time' has not been declared
  177. /usr/include/c++/4.2/ctime:74: error: '::asctime' has not been declared
  178. /usr/include/c++/4.2/ctime:75: error: '::ctime' has not been declared
  179. /usr/include/c++/4.2/ctime:76: error: '::gmtime' has not been declared
  180. /usr/include/c++/4.2/ctime:77: error: '::localtime' has not been declared
  181. /usr/include/c++/4.2/ctime:78: error: '::strftime' has not been declared
  182. smartd.cpp: In function 'bool write_dev_state(const char*, const persistent_dev_state&)':
  183. smartd.cpp:662: error: 'unlink' was not declared in this scope
  184. smartd.cpp: In function 'bool write_dev_attrlog(const char*, const persistent_dev_state&)':
  185. smartd.cpp:719: error: 'time' was not declared in this scope
  186. smartd.cpp:720: error: 'gmtime' was not declared in this scope
  187. smartd.cpp:722: error: invalid use of incomplete type 'struct tm'
  188. /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
  189. smartd.cpp:722: error: invalid use of incomplete type 'struct tm'
  190. /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
  191. smartd.cpp:722: error: invalid use of incomplete type 'struct tm'
  192. /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
  193. smartd.cpp:723: error: invalid use of incomplete type 'struct tm'
  194. /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
  195. smartd.cpp:723: error: invalid use of incomplete type 'struct tm'
  196. /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
  197. smartd.cpp:723: error: invalid use of incomplete type 'struct tm'
  198. /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
  199. smartd.cpp: In function 'void RemovePidFile()':
  200. smartd.cpp:774: error: 'unlink' was not declared in this scope
  201. smartd.cpp: In function 'void MailWarning(const dev_config&, dev_state&, int, const char*, ...)':
  202. smartd.cpp:953: error: 'time' was not declared in this scope
  203. smartd.cpp:982: error: 'gethostname' was not declared in this scope
  204. smartd.cpp:1000: error: 'getdomainname' was not declared in this scope
  205. smartd.cpp: In function 'bool WaitForPidFile()':
  206. smartd.cpp:1346: error: 'sleep' was not declared in this scope
  207. smartd.cpp: In function 'void DaemonInit()':
  208. smartd.cpp:1368: error: 'fork' was not declared in this scope
  209. smartd.cpp:1383: error: 'setsid' was not declared in this scope
  210. smartd.cpp:1386: error: 'fork' was not declared in this scope
  211. smartd.cpp:1399: error: 'getdtablesize' was not declared in this scope
  212. smartd.cpp:1400: error: 'close' was not declared in this scope
  213. smartd.cpp:1413: error: 'dup' was not declared in this scope
  214. smartd.cpp:1415: error: 'dup' was not declared in this scope
  215. smartd.cpp:1418: error: 'chdir' was not declared in this scope
  216. smartd.cpp:1421: error: 'getpid' was not declared in this scope
  217. smartd.cpp: In function 'void WritePidFile()':
  218. smartd.cpp:1442: error: 'getpid' was not declared in this scope
  219. smartd.cpp: In function 'void finish_device_scan(dev_config&, dev_state&)':
  220. smartd.cpp:1750: error: 'time' was not declared in this scope
  221. smartd.cpp: In function 'char next_scheduled_test(const dev_config&, dev_state&, bool, time_t)':
  222. smartd.cpp:2311: error: 'time' was not declared in this scope
  223. smartd.cpp:2325: error: 'localtime' was not declared in this scope
  224. smartd.cpp:2327: error: invalid use of incomplete type 'struct tm'
  225. /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
  226. smartd.cpp:2327: error: invalid use of incomplete type 'struct tm'
  227. /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
  228. smartd.cpp:2342: error: invalid use of incomplete type 'struct tm'
  229. /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
  230. smartd.cpp:2342: error: invalid use of incomplete type 'struct tm'
  231. /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
  232. smartd.cpp:2342: error: invalid use of incomplete type 'struct tm'
  233. /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
  234. smartd.cpp:2346: error: invalid use of incomplete type 'struct tm'
  235. /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
  236. smartd.cpp:2363: error: 'localtime' was not declared in this scope
  237. smartd.cpp:2364: error: invalid use of incomplete type 'struct tm'
  238. /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
  239. smartd.cpp:2364: error: invalid use of incomplete type 'struct tm'
  240. /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
  241. smartd.cpp:2369: error: invalid use of incomplete type 'struct tm'
  242. /usr/include/wchar.h:108: error: forward declaration of 'struct tm'
  243. smartd.cpp: In function 'void PrintTestSchedule(const dev_config_vector&, dev_state_vector&, const smart_device_list&)':
  244. smartd.cpp:2390: error: 'time' was not declared in this scope
  245. smartd.cpp: In function 'void CheckTemperature(const dev_config&, dev_state&, unsigned char, unsigned char)':
  246. smartd.cpp:2670: error: 'time' was not declared in this scope
  247. smartd.cpp:2681: error: 'time' was not declared in this scope
  248. smartd.cpp: In function 'int ATACheckDevice(const dev_config&, dev_state&, ata_device*, bool, bool)':
  249. smartd.cpp:2844: error: 'sleep' was not declared in this scope
  250. smartd.cpp:2897: error: 'time' was not declared in this scope
  251. smartd.cpp:2903: error: 'time' was not declared in this scope
  252. smartd.cpp: In function 'void Initialize(time_t*)':
  253. smartd.cpp:3144: error: 'time' was not declared in this scope
  254. smartd.cpp: In function 'time_t dosleep(time_t, bool&)':
  255. smartd.cpp:3178: error: 'time' was not declared in this scope
  256. smartd.cpp:3194: error: 'sleep' was not declared in this scope
  257. *** Error code 1
  258.  
  259. Stop in /usr/ports/sysutils/smartmontools/work/smartmontools-5.41.
  260. *** Error code 1
  261.  
  262. Stop in /usr/ports/sysutils/smartmontools/work/smartmontools-5.41.
  263. *** Error code 1
  264.  
  265. Stop in /usr/ports/sysutils/smartmontools.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement