Modify

Opened 5 years ago

Last modified 4 years ago

#13092 new defect

smartmontools package dependency bug

Reported by: Chi Zhang <zhangchi866@…> Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: smartmontools dependency c++ Cc: zhangchi866@…

Description

Make complains:

Package smartmontools is missing dependencies for the following libraries:
libuClibc++.so.0

even if

CONFIG_USE_LIBSTDCXX=y
CONFIG_INSTALL_LIBSTDCPP=y

is set.

Attachments (0)

Change History (4)

comment:1 Changed 5 years ago by Chi Zhang <zhangchi866@…>

I did some searching and found #12448 that indicates it has been fixed. How ever it is happening again here, with latest git repo source and feeds (brcm47xx target). Maybe a regression introduced later?

comment:2 Changed 5 years ago by zhangchi866@…

make[3]: Entering directory `/media/study/wrt/trunk_feedon/feeds/packages/utils/smartmontools'
. /media/study/wrt/trunk_feedon/include/shell.sh; gzip -dc /media/study/wrt/trunk_feedon/dl/smartmontools-5.40.tar.gz | /bin/tar -C /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/.. -xf - 
touch /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/.prepared_b8f9ef35ff5cc3f816e756ca7c64eab7n
(cd /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40; rm -rf config.{cache,status} ; ./autogen.sh );
Note: GNU Automake version 1.11.3 was not tested by the developers.
Please report success/failure to the smartmontools-support mailing list.
(cd /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/./; if [ -x ./configure ]; then /usr/bin/find /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/ -name config.guess | xargs -r -n1 cp /media/study/wrt/trunk_feedon/scripts/config.guess; /usr/bin/find /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/ -name config.sub | xargs -r -n1 cp /media/study/wrt/trunk_feedon/scripts/config.sub; AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float " LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CFLAGS="-Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float " CXXFLAGS="-Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float " CPPFLAGS="-I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include " LDFLAGS="-L/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib -L/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/lib -L/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib "  CXXFLAGS="$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" CPPFLAGS="$CPPFLAGS -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/uClibc++ -I/include" LDFLAGS="$LDFLAGS" LIBS="-nodefaultlibs -lc -luClibc++ -lm -L/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib -lgcc_s -lc"   ./configure --target=mips-openwrt-linux --host=mips-openwrt-linux --build=x86_64-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls   ; fi; )
configure: WARNING: unrecognized options: --disable-nls
configure: loading site script /media/study/wrt/trunk_feedon/include/site/mips-openwrt-linux-uclibc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mips-openwrt-linux-strip... mips-openwrt-linux-uclibc-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
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... yes
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether mips-openwrt-linux-uclibc-g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of mips-openwrt-linux-uclibc-g++... gcc3
checking for mips-openwrt-linux-gcc... mips-openwrt-linux-uclibc-gcc
checking whether we are using the GNU C compiler... yes
checking whether mips-openwrt-linux-uclibc-gcc accepts -g... yes
checking for mips-openwrt-linux-uclibc-gcc option to accept ISO C89... none needed
checking dependency style of mips-openwrt-linux-uclibc-gcc... gcc3
checking dependency style of mips-openwrt-linux-uclibc-gcc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... mips-openwrt-linux-gnu
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... mips-openwrt-linux-uclibc-g++ -E
checking for grep that handles long lines and -e... /media/study/wrt/trunk_feedon/staging_dir/host/bin/grep
checking for egrep... /media/study/wrt/trunk_feedon/staging_dir/host/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... no
checking dev/ciss/cissio.h presence... no
checking for dev/ciss/cissio.h... no
checking linux/compiler.h usability... no
checking linux/compiler.h presence... no
checking for linux/compiler.h... no
checking for linux/cciss_ioctl.h... yes
checking for ntdddisk.h... no
checking for ddk/ntdddisk.h... no
checking for int64_t... yes
checking for uint64_t... yes
checking for getopt_long... yes
checking for regcomp... yes
checking for getdomainname... (cached) yes
checking for gethostname... yes
checking for getaddrinfo... (cached) yes
checking for gethostbyname... yes
checking for sigset... no
checking for strtoull... yes
checking for uname... yes
checking whether byte ordering is bigendian... (cached) yes
checking for working snprintf... unknown
checking whether mips-openwrt-linux-uclibc-g++ supports __attribute__((packed))... yes
checking for capng_clear in -lcap-ng... no
checking whether to use libcap-ng... no
checking for OS dependent modules and libraries... os_linux.o cciss.o 
checking whether os_linux.cpp uses new interface... yes
checking whether mips-openwrt-linux-uclibc-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
configure: WARNING: unrecognized options: --disable-nls
checking whether make sets $(MAKE)... (cached) yes
-----------------------------------------------------------------------------
smartmontools-5.40 configuration:
host operating system:  mips-openwrt-linux-gnu
C++ compiler:           mips-openwrt-linux-uclibc-g++
C compiler:             mips-openwrt-linux-uclibc-gcc
preprocessor flags:     -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include  -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/uClibc++ -I/include
C++ compiler flags:     -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -fno-builtin -fno-rtti -nostdinc++ -Wall -W -fno-strict-aliasing
C compiler flags:       -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float 
linker flags:           -L/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib -L/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/lib -L/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib 
binary install path:    /usr/sbin
man page install path:  /usr/man
doc file install path:  /usr/share/doc/smartmontools
(NOTE: old default was: /usr/share/doc/smartmontools-5.40)
drive database file:    /usr/share/smartmontools/drivedb.h
(NOTE: old default was: [disabled])
database update script: /usr/sbin/update-smart-drivedb
local drive database:   /etc/smart_drivedb.h
smartd config file:     /etc/smartd.conf
smartd initd script:    /etc/rc.d/init.d/smartd
smartd save files:      [disabled]
smartd attribute logs:  [disabled]
libcap-ng support:      no
SELinux support:        no
-----------------------------------------------------------------------------
rm -f /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/.configured_*
touch /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/.configured_
make -C /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40 BUILD_INFO='"(localbuild)"' LD="mips-openwrt-linux-uclibc-g++"
make[4]: Entering directory `/media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40'
make  all-recursive
make[5]: Entering directory `/media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40'
Making all in .
make[6]: Entering directory `/media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40'
mips-openwrt-linux-uclibc-g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(localbuild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"'     -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include  -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/uClibc++ -I/include  -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -fno-builtin -fno-rtti -nostdinc++ -Wall -W -fno-strict-aliasing -MT smartd.o -MD -MP -MF .deps/smartd.Tpo -c -o smartd.o smartd.cpp
mv -f .deps/smartd.Tpo .deps/smartd.Po
mips-openwrt-linux-uclibc-g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(localbuild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"'     -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include  -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/uClibc++ -I/include  -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -fno-builtin -fno-rtti -nostdinc++ -Wall -W -fno-strict-aliasing -MT atacmdnames.o -MD -MP -MF .deps/atacmdnames.Tpo -c -o atacmdnames.o atacmdnames.cpp
mv -f .deps/atacmdnames.Tpo .deps/atacmdnames.Po
mips-openwrt-linux-uclibc-g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(localbuild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"'     -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include  -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/uClibc++ -I/include  -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -fno-builtin -fno-rtti -nostdinc++ -Wall -W -fno-strict-aliasing -MT atacmds.o -MD -MP -MF .deps/atacmds.Tpo -c -o atacmds.o atacmds.cpp
mv -f .deps/atacmds.Tpo .deps/atacmds.Po
mips-openwrt-linux-uclibc-g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(localbuild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"'     -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include  -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/uClibc++ -I/include  -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -fno-builtin -fno-rtti -nostdinc++ -Wall -W -fno-strict-aliasing -MT dev_ata_cmd_set.o -MD -MP -MF .deps/dev_ata_cmd_set.Tpo -c -o dev_ata_cmd_set.o dev_ata_cmd_set.cpp
mv -f .deps/dev_ata_cmd_set.Tpo .deps/dev_ata_cmd_set.Po
mips-openwrt-linux-uclibc-g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(localbuild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"'     -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include  -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/uClibc++ -I/include  -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -fno-builtin -fno-rtti -nostdinc++ -Wall -W -fno-strict-aliasing -MT dev_interface.o -MD -MP -MF .deps/dev_interface.Tpo -c -o dev_interface.o dev_interface.cpp
mv -f .deps/dev_interface.Tpo .deps/dev_interface.Po
mips-openwrt-linux-uclibc-g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(localbuild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"'     -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include  -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/uClibc++ -I/include  -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -fno-builtin -fno-rtti -nostdinc++ -Wall -W -fno-strict-aliasing -MT knowndrives.o -MD -MP -MF .deps/knowndrives.Tpo -c -o knowndrives.o knowndrives.cpp
mv -f .deps/knowndrives.Tpo .deps/knowndrives.Po
mips-openwrt-linux-uclibc-g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(localbuild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"'     -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include  -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/uClibc++ -I/include  -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -fno-builtin -fno-rtti -nostdinc++ -Wall -W -fno-strict-aliasing -MT scsicmds.o -MD -MP -MF .deps/scsicmds.Tpo -c -o scsicmds.o scsicmds.cpp
mv -f .deps/scsicmds.Tpo .deps/scsicmds.Po
mips-openwrt-linux-uclibc-g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(localbuild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"'     -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include  -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/uClibc++ -I/include  -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -fno-builtin -fno-rtti -nostdinc++ -Wall -W -fno-strict-aliasing -MT scsiata.o -MD -MP -MF .deps/scsiata.Tpo -c -o scsiata.o scsiata.cpp
scsiata.cpp: In member function 'virtual int sat::usbcypress_device::ata_command_interface(smart_command_set, int, char*)':
scsiata.cpp:596:9: warning: variable 'protocol' set but not used [-Wunused-but-set-variable]
mv -f .deps/scsiata.Tpo .deps/scsiata.Po
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
mips-openwrt-linux-uclibc-g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(localbuild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"'     -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include  -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/uClibc++ -I/include  -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -fno-builtin -fno-rtti -nostdinc++ -Wall -W -fno-strict-aliasing -MT utility.o -MD -MP -MF .deps/utility.Tpo -c -o utility.o utility.cpp
utility.cpp: In function 'void MsecToText(unsigned int, char*)':
utility.cpp:707:7: warning: variable 'start' set but not used [-Wunused-but-set-variable]
mv -f .deps/utility.Tpo .deps/utility.Po
mips-openwrt-linux-uclibc-g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(localbuild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"'     -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include  -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/uClibc++ -I/include  -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -fno-builtin -fno-rtti -nostdinc++ -Wall -W -fno-strict-aliasing -MT os_linux.o -MD -MP -MF .deps/os_linux.Tpo -c -o os_linux.o os_linux.cpp
os_linux.cpp: In member function 'bool os_linux::linux_megaraid_device::megadev_cmd(int, void*, int, void*, int, void*, int)':
os_linux.cpp:1127:6: warning: parameter 'senseLen' set but not used [-Wunused-but-set-parameter]
os_linux.cpp:1127:6: warning: parameter 'sense' set but not used [-Wunused-but-set-parameter]
mv -f .deps/os_linux.Tpo .deps/os_linux.Po
mips-openwrt-linux-uclibc-g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(localbuild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"'     -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include  -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/uClibc++ -I/include  -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -fno-builtin -fno-rtti -nostdinc++ -Wall -W -fno-strict-aliasing -MT cciss.o -MD -MP -MF .deps/cciss.Tpo -c -o cciss.o cciss.cpp
mv -f .deps/cciss.Tpo .deps/cciss.Po
mips-openwrt-linux-uclibc-g++  -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -fno-builtin -fno-rtti -nostdinc++ -Wall -W -fno-strict-aliasing  -L/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib -L/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/lib -L/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib  -o smartd smartd.o atacmdnames.o atacmds.o dev_ata_cmd_set.o dev_interface.o knowndrives.o scsicmds.o scsiata.o utility.o    os_linux.o cciss.o   -nodefaultlibs -lc -luClibc++ -lm -L/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib -lgcc_s -lc
mips-openwrt-linux-uclibc-g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(localbuild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"'     -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include  -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/uClibc++ -I/include  -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -fno-builtin -fno-rtti -nostdinc++ -Wall -W -fno-strict-aliasing -MT smartctl.o -MD -MP -MF .deps/smartctl.Tpo -c -o smartctl.o smartctl.cpp
mv -f .deps/smartctl.Tpo .deps/smartctl.Po
mips-openwrt-linux-uclibc-g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(localbuild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"'     -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include  -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/uClibc++ -I/include  -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -fno-builtin -fno-rtti -nostdinc++ -Wall -W -fno-strict-aliasing -MT ataprint.o -MD -MP -MF .deps/ataprint.Tpo -c -o ataprint.o ataprint.cpp
mv -f .deps/ataprint.Tpo .deps/ataprint.Po
mips-openwrt-linux-uclibc-g++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(localbuild)"' -DSMARTMONTOOLS_SYSCONFDIR='"/etc"' -DSMARTMONTOOLS_DRIVEDBDIR='"/usr/share/smartmontools"'     -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include  -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/uClibc++ -I/include  -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -fno-builtin -fno-rtti -nostdinc++ -Wall -W -fno-strict-aliasing -MT scsiprint.o -MD -MP -MF .deps/scsiprint.Tpo -c -o scsiprint.o scsiprint.cpp
scsiprint.cpp: In function 'void show_sas_port_param(unsigned char*, int)':
scsiprint.cpp:1090:25: warning: variable 'pcb' set but not used [-Wunused-but-set-variable]
mv -f .deps/scsiprint.Tpo .deps/scsiprint.Po
mips-openwrt-linux-uclibc-g++  -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float  -fno-builtin -fno-rtti -nostdinc++ -Wall -W -fno-strict-aliasing  -L/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib -L/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/lib -L/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib  -o smartctl smartctl.o atacmdnames.o atacmds.o ataprint.o dev_ata_cmd_set.o dev_interface.o knowndrives.o scsicmds.o scsiata.o scsiprint.o utility.o   os_linux.o cciss.o  -nodefaultlibs -lc -luClibc++ -lm -L/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib -lgcc_s -lc
/bin/bash ./config.status --file=update-smart-drivedb
config.status: creating update-smart-drivedb
chmod +x update-smart-drivedb
cat ./smartd.conf.5.in | sed "s|CURRENT_SVN_VERSION|smartmontools-5.40|g; s|CURRENT_SVN_DATE|`sed -n 's,^.*DATE[^"]*"\([^"]*\)".*$,\1,p' svnversion.h`|g; s|CURRENT_SVN_REV|`sed -n 's,^.*REV[^"]*"\([^"]*\)".*$,r\1,p' svnversion.h`|g; s|/usr/local/share/man/|/usr/man/|g; s|/usr/local/sbin/|/usr/sbin/|g; s|/usr/local/etc/rc\\.d/init.d/|/etc/rc.d/init.d/|g; s|/usr/local/share/doc/smartmontools/|/usr/share/doc/smartmontools/|g; s|/usr/local/etc/smartd\\.conf|/etc/smartd.conf|g; s|/usr/local/etc/smart_drivedb\\.h|/etc/smart_drivedb\\.h|g" | sed '/BEGIN ENABLE_CAPABILITIES/,/END ENABLE_CAPABILITIES/d' | sed "s|/usr/local/share/smartmontools/drivedb\\.h|/usr/share/smartmontools/drivedb.h|g" | sed '/BEGIN ENABLE_SAVESTATES/,/END ENABLE_SAVESTATES/d' | sed '/BEGIN ENABLE_ATTRIBUTELOG/,/END ENABLE_ATTRIBUTELOG/d' > smartd.conf.5
cat ./smartctl.8.in | sed "s|CURRENT_SVN_VERSION|smartmontools-5.40|g; s|CURRENT_SVN_DATE|`sed -n 's,^.*DATE[^"]*"\([^"]*\)".*$,\1,p' svnversion.h`|g; s|CURRENT_SVN_REV|`sed -n 's,^.*REV[^"]*"\([^"]*\)".*$,r\1,p' svnversion.h`|g; s|/usr/local/share/man/|/usr/man/|g; s|/usr/local/sbin/|/usr/sbin/|g; s|/usr/local/etc/rc\\.d/init.d/|/etc/rc.d/init.d/|g; s|/usr/local/share/doc/smartmontools/|/usr/share/doc/smartmontools/|g; s|/usr/local/etc/smartd\\.conf|/etc/smartd.conf|g; s|/usr/local/etc/smart_drivedb\\.h|/etc/smart_drivedb\\.h|g" | sed '/BEGIN ENABLE_CAPABILITIES/,/END ENABLE_CAPABILITIES/d' | sed "s|/usr/local/share/smartmontools/drivedb\\.h|/usr/share/smartmontools/drivedb.h|g" | sed '/BEGIN ENABLE_SAVESTATES/,/END ENABLE_SAVESTATES/d' | sed '/BEGIN ENABLE_ATTRIBUTELOG/,/END ENABLE_ATTRIBUTELOG/d' > smartctl.8
cat ./smartd.8.in | sed "s|CURRENT_SVN_VERSION|smartmontools-5.40|g; s|CURRENT_SVN_DATE|`sed -n 's,^.*DATE[^"]*"\([^"]*\)".*$,\1,p' svnversion.h`|g; s|CURRENT_SVN_REV|`sed -n 's,^.*REV[^"]*"\([^"]*\)".*$,r\1,p' svnversion.h`|g; s|/usr/local/share/man/|/usr/man/|g; s|/usr/local/sbin/|/usr/sbin/|g; s|/usr/local/etc/rc\\.d/init.d/|/etc/rc.d/init.d/|g; s|/usr/local/share/doc/smartmontools/|/usr/share/doc/smartmontools/|g; s|/usr/local/etc/smartd\\.conf|/etc/smartd.conf|g; s|/usr/local/etc/smart_drivedb\\.h|/etc/smart_drivedb\\.h|g" | sed '/BEGIN ENABLE_CAPABILITIES/,/END ENABLE_CAPABILITIES/d' | sed "s|/usr/local/share/smartmontools/drivedb\\.h|/usr/share/smartmontools/drivedb.h|g" | sed '/BEGIN ENABLE_SAVESTATES/,/END ENABLE_SAVESTATES/d' | sed '/BEGIN ENABLE_ATTRIBUTELOG/,/END ENABLE_ATTRIBUTELOG/d' > smartd.8
sed "s|/usr/local/sbin/|/usr/sbin/|g" ./smartd.initd.in > smartd.initd
make[6]: Leaving directory `/media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40'
Making all in examplescripts
make[6]: Entering directory `/media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/examplescripts'
make[6]: Nothing to be done for `all'.
make[6]: Leaving directory `/media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/examplescripts'
make[5]: Leaving directory `/media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40'
make[4]: Leaving directory `/media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40'
touch /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/.built
mkdir -p /media/study/wrt/trunk_feedon/bin/ar71xx/packages /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/ipkg-ar71xx/smartmontools/CONTROL /media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/pkginfo
install -d -m0755 /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/ipkg-ar71xx/smartmontools/usr/sbin
install -m0755 /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/smartctl /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/ipkg-ar71xx/smartmontools/usr/sbin/
find /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/ipkg-ar71xx/smartmontools -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
Package smartmontools is missing dependencies for the following libraries:
libuClibc++.so.0
make[3]: *** [/media/study/wrt/trunk_feedon/bin/ar71xx/packages/smartmontools_5.40-4_ar71xx.ipk] Error 1
make[3]: Leaving directory `/media/study/wrt/trunk_feedon/feeds/packages/utils/smartmontools'
make[2]: *** [package/feeds/packages/smartmontools/compile] Error 2
make[2]: Leaving directory `/media/study/wrt/trunk_feedon'
make[1]: *** [/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/media/study/wrt/trunk_feedon'
make: *** [world] 错误 2

And if I begin a clean build (target is ar71xx):

make[3]: Entering directory `/media/study/wrt/trunk_feedon/feeds/packages/utils/smartmontools'
. /media/study/wrt/trunk_feedon/include/shell.sh; gzip -dc /media/study/wrt/trunk_feedon/dl/smartmontools-5.40.tar.gz | /bin/tar -C /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/.. -xf - 
touch /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/.prepared_b8f9ef35ff5cc3f816e756ca7c64eab7n
(cd /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40; rm -rf config.{cache,status} ; ./autogen.sh );
Note: GNU Automake version 1.11.3 was not tested by the developers.
Please report success/failure to the smartmontools-support mailing list.
(cd /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/./; if [ -x ./configure ]; then /usr/bin/find /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/ -name config.guess | xargs -r -n1 cp /media/study/wrt/trunk_feedon/scripts/config.guess; /usr/bin/find /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/ -name config.sub | xargs -r -n1 cp /media/study/wrt/trunk_feedon/scripts/config.sub; AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float " LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CFLAGS="-Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float " CXXFLAGS="-Os -pipe -mips32r2 -mtune=34kc -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float " CPPFLAGS="-I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include " LDFLAGS="-L/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib -L/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/lib -L/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib "  CXXFLAGS="$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++" CPPFLAGS="$CPPFLAGS -I/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/uClibc++ -I/include" LDFLAGS="$LDFLAGS" LIBS="-nodefaultlibs -lc -luClibc++ -lm -L/media/study/wrt/trunk_feedon/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib -lgcc_s -lc"   ./configure --target=mips-openwrt-linux --host=mips-openwrt-linux --build=x86_64-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls   ; fi; )
configure: WARNING: unrecognized options: --disable-nls
configure: loading site script /media/study/wrt/trunk_feedon/include/site/mips-openwrt-linux-uclibc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mips-openwrt-linux-strip... mips-openwrt-linux-uclibc-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
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... no
configure: error: in `/media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40':
configure: error: C++ compiler cannot create executables
See `config.log' for more details
make[3]: *** [/media/study/wrt/trunk_feedon/build_dir/target-mips_r2_uClibc-0.9.33.2/smartmontools-5.40/.configured_] Error 77
make[3]: Leaving directory `/media/study/wrt/trunk_feedon/feeds/packages/utils/smartmontools'
make[2]: *** [package/feeds/packages/smartmontools/compile] Error 2
make[2]: Leaving directory `/media/study/wrt/trunk_feedon'
make[1]: *** [/media/study/wrt/trunk_feedon/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory `/media/study/wrt/trunk_feedon'
make: *** [world] 错误 2

comment:3 Changed 5 years ago by zhangchi866@…

feeds/packages/utils/smartmontools/Makefile has a line:
CXXFLAGS="$$$$CXXFLAGS -fno-builtin -fno-rtti -nostdinc++"
Maybe this ("-nostdinc++") is the source of the problem?

comment:4 Changed 4 years ago by anonymous

I meet the same problem which says "configure: error: C++ compiler cannot create executables", and the toolchain is eglibc.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.