From: "=?iso-8859-2?Q?Ing._Bc._B=F8etislav_Kubesa?=" on 13 Mar 2010 11:42 Hello, I can't compile latest version at all, was not able to find any guide on internet.... maybe FBSD 5.4 is not supported anymore? Version smartmontools-5.38_8 is working fine on BSD 5.4, tested compile on FBSD 6.2 and it's fine as well...so it's maybe incompatible with this old version, althoght it's the only one port not working on this system at this moment. Thank you. Regards, Bretislav Kubesa ===> Extracting for smartmontools-5.39.1 => MD5 Checksum OK for smartmontools-5.39.1.tar.gz. => SHA256 Checksum OK for smartmontools-5.39.1.tar.gz. ===> Patching for smartmontools-5.39.1 ===> smartmontools-5.39.1 depends on executable: gmake - found ===> Configuring for smartmontools-5.39.1 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... gawk 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 build system type... i386-portbld-freebsd5.4 checking host system type... i386-portbld-freebsd5.4 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... 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... 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_long... 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 for working snprintf... yes checking whether C++ compiler supports __attribute__((packed))... yes checking for OS dependent modules and libraries... checking for libusb20_dev_get_device_desc in -lusb... no os_freebsd.o cciss.o -lcam checking whether os_freebsd.cpp uses new interface... yes 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 ===> Building for smartmontools-5.39.1 make all-recursive Making all in . c++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local uild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -I/usr/src/sys -mtune=pentium4 -march=pentium4 -Wno-write-strings -Wall -W -fno-strict-aliasing -c -o smartd.o smartd.cpp c++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local uild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -I/usr/src/sys -mtune=pentium4 -march=pentium4 -Wno-write-strings -Wall -W -fno-strict-aliasing -c -o atacmdnames.o atacmdnames.cpp c++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local uild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -I/usr/src/sys -mtune=pentium4 -march=pentium4 -Wno-write-strings -Wall -W -fno-strict-aliasing -c -o atacmds.o atacmds.cpp c++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local uild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -I/usr/src/sys -mtune=pentium4 -march=pentium4 -Wno-write-strings -Wall -W -fno-strict-aliasing -c -o dev_ata_cmd_set.o dev_ata_cmd_set.cpp c++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local uild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -I/usr/src/sys -mtune=pentium4 -march=pentium4 -Wno-write-strings -Wall -W -fno-strict-aliasing -c -o dev_interface.o dev_interface.cpp c++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local uild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -I/usr/src/sys -mtune=pentium4 -march=pentium4 -Wno-write-strings -Wall -W -fno-strict-aliasing -c -o knowndrives.o knowndrives.cpp c++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local uild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -I/usr/src/sys -mtune=pentium4 -march=pentium4 -Wno-write-strings -Wall -W -fno-strict-aliasing -c -o scsicmds.o scsicmds.cpp c++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local uild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -I/usr/src/sys -mtune=pentium4 -march=pentium4 -Wno-write-strings -Wall -W -fno-strict-aliasing -c -o scsiata.o scsiata.cpp 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 c++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local uild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -I/usr/src/sys -mtune=pentium4 -march=pentium4 -Wno-write-strings -Wall -W -fno-strict-aliasing -c -o utility.o utility.cpp c++ -DHAVE_CONFIG_H -I. -DBUILD_INFO='"(local uild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"' -I/usr/src/sys -mtune=pentium4 -march=pentium4 -Wno-write-strings -Wall -W -fno-strict-aliasing -c -o os_freebsd.o os_freebsd.cpp os_freebsd.cpp: In member function `virtual int os_freebsd::freebsd_ata_device::do_cmd(os_freebsd::ata_ioc_request*)': os_freebsd.cpp:257: error: `IOCATAREQUEST' undeclared (first use this function) os_freebsd.cpp:257: error: (Each undeclared identifier is reported only once for each function it appears in.) os_freebsd.cpp: In member function `virtual int os_freebsd::freebsd_ata_device::ata_command_interface(smart_command_set, int, char*)': os_freebsd.cpp:347: error: aggregate `os_freebsd::ata_ioc_request request' has incomplete type and cannot be defined os_freebsd.cpp:351: error: invalid application of `sizeof' to incomplete type `os_freebsd::ata_ioc_request' os_freebsd.cpp: In function `int os_freebsd::get_dev_names_ata(char***)': os_freebsd.cpp:1483: error: aggregate `os_freebsd::ata_ioc_devices devices' has incomplete type and cannot be defined os_freebsd.cpp:1498: error: `IOCATAGMAXCHANNEL' undeclared (first use this function) os_freebsd.cpp:1517: error: `IOCATADEVICES' undeclared (first use this function) *** Error code 1 Stop in /usr/ports/sysutils/smartmontools/work/smartmontools-5.39.1. *** Error code 1 Stop in /usr/ports/sysutils/smartmontools/work/smartmontools-5.39.1. *** Error code 1 Stop in /usr/ports/sysutils/smartmontools/work/smartmontools-5.39.1. *** Error code 1 Stop in /usr/ports/sysutils/smartmontools. _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Matthias Andree on 13 Mar 2010 16:39 Am 13.03.2010 17:42, schrieb Ing. Bc. B�etislav Kubesa: > I can't compile latest version at all, was not able to find any guide on > internet.... maybe FBSD 5.4 is not supported anymore? > Version smartmontools-5.38_8 is working fine on BSD 5.4, tested compile on > FBSD 6.2 and it's fine as well...so it's maybe incompatible with this old > version, althoght it's the only one port not working on this system at this > moment. Hi B�etislav, smartmontools needs to talk to the IDE/SATA/SCSI/SAT drivers, and as such it requires particular interfaces that may have been added to FreeBSD 6.X; or it may be that FreeBSD 5.X has deliberately been removed by someone. I can't say which is true, because I haven't investigated closely. FreeBSD 5.X isn't supported by the FreeBSD security team, or by the FreeBSD ports system, any more. The oldest supported release is 6.4, see <http://www.freebsd.org/security/#sup> -- and I'd say it's advisable to upgrade to that (that also applies to the 6.2 computer you're using: consider upgrading). In my experience, the 5.X -> 6.X upgrades have been painless, but be sure to backup your data first and adhere to the upgrade documentation that comes with the new FreeBSD release, or as in the FreeBSD Handbook. HTH Matthias Andree _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
|
Pages: 1 Prev: Firefox 3.6 installation problem Next: INDEX build failed for 6.x |