From: Bruce A. <ba...@gr...> - 2007-10-16 06:53:02
|
Hi Jeff, (1) Are you using the .spec file included with smartmontools? (2) CVS Head or 5.37 experimental release? (3) What is Cobalt RaQ4? Could you tell us if (a) downloading CVS HEAD then (b) ./autogen.sh && ./configure && make works cleanly? Please reply to the list, not to me personally. Cheers, Bruce On Mon, 15 Oct 2007, Jeff Ball wrote: > > Message body follows: > > Looked like you were in charge of this one.. if not > please pass this along to the right person and please > accept my apologies. > > I'm on a Cobalt RaQ4 with > gcc-2.95.3-1c1r4 > and > glibc-2.1.3-29 > > I'm building via rpm and this is my full output > [root redhat]# rpm -ba SPECS/smartmontools.spec > Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.34499 > + umask 022 > + cd /usr/src/redhat/BUILD > + cd /usr/src/redhat/BUILD > + rm -rf smartmontools-5.37 > + /bin/gzip -dc /usr/src/redhat/SOURCES/smartmontools- > 5.37.tar.gz > + tar -xf - > + STATUS=0 > + [ 0 -ne 0 ] > + cd smartmontools-5.37 > ++ /usr/bin/id -u > + [ 0 = 0 ] > + /bin/chown -Rhf root . > ++ /usr/bin/id -u > + [ 0 = 0 ] > + /bin/chgrp -Rhf root . > + /bin/chmod -Rf a+rX,g-w,o-w . > + exit 0 > Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.34499 > + umask 022 > + cd /usr/src/redhat/BUILD > + cd smartmontools-5.37 > + CFLAGS=-O2 -m486 -fno-strength-reduce > + export CFLAGS > + CXXFLAGS=-O2 -m486 -fno-strength-reduce > + export CXXFLAGS > + FFLAGS=-O2 -m486 -fno-strength-reduce > + export FFLAGS > + [ -f configure.in ] > + libtoolize --copy --force > Remember to add `AC_PROG_LIBTOOL' to `configure.in'. > You should update your `aclocal.m4' by running aclocal. > + ./configure i386-redhat-linux --prefix=/usr --exec- > prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin -- > sysconfdir=/etc --datadir=/usr/share -- > includedir=/usr/include --libdir=/usr/lib -- > libexecdir=/usr/libexec --localstatedir=/var -- > sharedstatedir=/usr/com --mandir=/usr/man -- > infodir=/usr/info > configure: WARNING: you should use --build, --host, -- > target > checking for a BSD-compatible install... /usr/bin/install - > c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of > Makefiles... no > checking for i386-redhat-linux-g++... no > checking for i386-redhat-linux-c++... no > checking for i386-redhat-linux-gpp... no > checking for i386-redhat-linux-aCC... no > checking for i386-redhat-linux-CC... no > checking for i386-redhat-linux-cxx... no > checking for i386-redhat-linux-cc++... no > checking for i386-redhat-linux-cl.exe... no > checking for i386-redhat-linux-FCC... no > checking for i386-redhat-linux-KCC... no > checking for i386-redhat-linux-RCC... no > checking for i386-redhat-linux-xlC_r... no > checking for i386-redhat-linux-xlC... 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++... gcc > checking for i386-redhat-linux-gcc... i386-redhat-linux-gcc > checking whether we are using the GNU C compiler... yes > checking whether i386-redhat-linux-gcc accepts -g... yes > checking for i386-redhat-linux-gcc option to accept ISO > C89... none needed > checking dependency style of i386-redhat-linux-gcc... gcc > checking for a BSD-compatible install... /usr/bin/install - > c > checking build system type... i386-redhat-linux-gnu > checking host system type... i386-redhat-linux-gnu > 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... /bin/grep > checking for egrep... /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 linux/compiler.h usability... no > checking linux/compiler.h presence... no > checking for linux/compiler.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... yes > 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 > make[1]: Entering directory > `/home/redhat/BUILD/smartmontools-5.37' > Making all in . > make[2]: Entering directory > `/home/redhat/BUILD/smartmontools-5.37' > source='smartd.cpp' object='smartd.o' libtool=no \ > DEPDIR=.deps depmode=gcc /bin/sh ./depcomp \ > g++ -DHAVE_CONFIG_H -I. -I. -I. - > DSMARTMONTOOLS_SYSCONFDIR=\"/etc\" -O2 -m486 -fno- > strength-reduce -Wall -W -c -o smartd.o smartd.cpp > smartd.cpp: In function `void PrintCVS()': > smartd.cpp:313: initialization to `char *' from `const > char *' discards qualifiers > make[2]: *** [smartd.o] Error 1 > make[2]: Leaving directory > `/home/redhat/BUILD/smartmontools-5.37' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/home/redhat/BUILD/smartmontools-5.37' > make: *** [all] Error 2 > Bad exit status from /var/tmp/rpm-tmp.34499 (%build) > > > -- > This message has been sent to you, a registered SourceForge.net user, > by another site user, through the SourceForge.net site. This message > has been delivered to your SourceForge.net mail alias. You may reply > to this message using the "Reply" feature of your email client, or > using the messaging facility of SourceForge.net at: > https://sourceforge.net/sendmessage.php?touser=714995 > |