[OpenWrt-Devel] BB-14.07: libdb47 SDK (bug??) compilation problem.

Grzegorz Sójka pld at sojka.co
Thu Nov 13 03:29:57 EST 2014


Hi there.

After issuing the following commands:

wget 
https://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2 
-O - | tar xj
cd OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2
./scripts/feeds update -a
./scripts/feeds install libdb47
make -j1 V=s

I end up with following error:

make[4]: Entering directory 
`/barrier_breaker-14.07/ar71xx/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/build_dir/target-mips_34kc_uClibc-0.9.33.2/db-4.7.25.NC/build_unix'
/bin/sh ./libtool --mode=compile ccache_cxx -c -I. -I../dist/.. 
-I/barrier_breaker-14.07/ar71xx/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include 
-I/barrier_breaker-14.07/ar71xx/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include 
-I/barrier_breaker-14.07/ar71xx/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include 
-I/barrier_breaker-14.07/ar71xx/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include 
  -D_GNU_SOURCE -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2 
-mtune=34kc -fno-caller-saves -fhonour-copts 
-Wno-error=unused-but-set-variable -msoft-float -mips16 
-minterlink-mips16 -fpic  ../dist/../cxx/cxx_db.cpp
  ccache_cxx -c -I. -I../dist/.. 
-I/barrier_breaker-14.07/ar71xx/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include 
-I/barrier_breaker-14.07/ar71xx/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include 
-I/barrier_breaker-14.07/ar71xx/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include 
-I/barrier_breaker-14.07/ar71xx/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.8-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include 
-D_GNU_SOURCE -D_REENTRANT -Os -pipe -mno-branch-likely -mips32r2 
-mtune=34kc -fno-caller-saves -fhonour-copts 
-Wno-error=unused-but-set-variable -msoft-float -mips16 
-minterlink-mips16 -fpic ../dist/../cxx/cxx_db.cpp  -fPIC -DPIC -o 
.libs/cxx_db.o
In file included from ../dist/../cxx/cxx_db.cpp:13:0:
./db_cxx.h:59:22: fatal error: iostream.h: No such file or directory
  #include <iostream.h>
                       ^
compilation terminated.

WTF?! Is there any solution/workaround??

Host OS: Fedora 20 x86_64 i chroot prison.

-- 
Pozdrawiam
Grzesiek

Wysłane z kompa wolnego od wirusów Billa Gatesa.
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list