I'm struggling to build a dbox2 image.
I configured with:
Code: Alles auswählen
./configure --with-webif=standard --with-mhw-epg --with-epg=standard \
--with-cvsdir=/home/mastag/dbox2 --with-etherwake \
--with-filesystem-tools=e2fsprogs,dosfstools --with-gcc47 \
--with-boxtype=dbox2 --enable-ide --enable-uclibc --enable-kernel26 \
--enable-xfs --enable-mmc --enable-nfsserver --enable-aformat \
--enable-cdkVcInfo --enable-clock --enable-dboxshot --enable-dvbsnoop \
--enable-eraseall --enable-fbshot --enable-ipkg --enable-logomask --enable-msgbox \
--enable-satfind --enable-shellexec --enable-sqlite --enable-sysinfo --enable-audioplay \
--enable-aviaext --enable-aviafbtool --enable-avswitch --enable-fbclear \
--enable-lcddump --enable-pluginx --enable-rcinfo --enable-ccache \
--with-defaultlocale=english --with-ucodesdir=/home/mastag/dbox2/ucode \
--enable-dropbear --prefix=/home/mastag/dbox2/build --enable-getrc \
--enable-rcinfo --enable-lirc --enable-kb2rcd --enable-maintainer-mode \
--with-kernel-conf=/home/mastag/dbox2/cdk/config/dbox2_kernel-2.6.config.m4
/home/mastag/dbox2/cdk - master branch
/home/mastag/dbox2/driver - driver_2_6_branch branch
/home/mastag/dbox2/apps - master branch
/home/mastag/dbox2/boot - master branch
/home/mastag/dbox2/hostapps - master branch
/home/mastag/dbox2/sandbox - master branch
/home/mastag/dbox2/ucode - contains all ucodes
/home/mastag/dbox2/build - build prefix
Code: Alles auswählen
cd /home/mastag/dbox2/apps/misc/libs && ./autogen.sh && CC=powerpc-tuxbox-linux-uclibc-gcc CXX=powerpc-tuxbox-linux-uclibc-g++ CFLAGS="-Wall -pipe -Os -fPIC -flto -fuse-linker-plugin" CXXFLAGS="-Wall -pipe -Os -fPIC -flto -fuse-linker-plugin" LDFLAGS="-Wl,-O1 -flto -fuse-linker-plugin" ./configure --build=x86_64-unknown-linux-gnu --host=powerpc-tuxbox-linux-uclibc --prefix=/home/mastag/dbox2/build/cdkroot --with-driver=/home/mastag/dbox2/driver --with-dvbincludes=/home/mastag/dbox2/build/cdkroot/include --with-boxtype=dbox2 --with-target=cdk --enable-kernel26 --enable-maintainer-mode --enable-uclibc --without-debug --enable-lirc --enable-ide --enable-mmc --enable-ccache --enable-sqlite --enable-radiotext --enable-ipkg --enable-nfsserver --with-etherwake
Generating configuration files for tuxbox-apps-misc-libs, please wait....
aclocal
configure.ac:5: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
acinclude.m4:471: AC_GNU_SOURCE is expanded from...
acinclude.m4:1: TUXBOX_APPS is expanded from...
configure.ac:5: the top level
configure.ac:5: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
acinclude.m4:471: AC_GNU_SOURCE is expanded from...
acinclude.m4:1: TUXBOX_APPS is expanded from...
configure.ac:5: the top level
libtoolize --automake
autoconf
configure.ac:5: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
acinclude.m4:471: AC_GNU_SOURCE is expanded from...
acinclude.m4:1: TUXBOX_APPS is expanded from...
configure.ac:5: the top level
configure.ac:5: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
acinclude.m4:471: AC_GNU_SOURCE is expanded from...
acinclude.m4:1: TUXBOX_APPS is expanded from...
configure.ac:5: the top level
autoheader
configure.ac:5: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
acinclude.m4:471: AC_GNU_SOURCE is expanded from...
acinclude.m4:1: TUXBOX_APPS is expanded from...
configure.ac:5: the top level
configure.ac:5: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
acinclude.m4:471: AC_GNU_SOURCE is expanded from...
acinclude.m4:1: TUXBOX_APPS is expanded from...
configure.ac:5: the top level
automake --add-missing
configure.ac:5: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
acinclude.m4:471: AC_GNU_SOURCE is expanded from...
acinclude.m4:1: TUXBOX_APPS is expanded from...
configure.ac:5: the top level
configure.ac:5: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
acinclude.m4:471: AC_GNU_SOURCE is expanded from...
acinclude.m4:1: TUXBOX_APPS is expanded from...
configure.ac:5: the top level
configure.ac:5: installing './config.guess'
configure.ac:5: installing './config.sub'
configure.ac:2: installing './install-sh'
configure.ac:2: installing './missing'
Makefile.am: installing './INSTALL'
Makefile.am: installing './COPYING' using GNU General Public License v3 file
Makefile.am: Consider adding the COPYING file to the version control system
Makefile.am: for your code, to avoid questions about which license your project uses
libconfigfile/Makefile.am: installing './depcomp'
configure: WARNING: unrecognized options: --with-driver, --with-dvbincludes, --with-boxtype, --enable-kernel26, --enable-uclibc, --enable-lirc, --enable-ide, --enable-mmc, --enable-ccache, --enable-sqlite, --enable-radiotext, --enable-ipkg, --enable-nfsserver, --with-etherwake
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for powerpc-tuxbox-linux-uclibc-strip... powerpc-tuxbox-linux-uclibc-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for powerpc-tuxbox-linux-uclibc-gcc... powerpc-tuxbox-linux-uclibc-gcc
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 powerpc-tuxbox-linux-uclibc-gcc accepts -g... yes
checking for powerpc-tuxbox-linux-uclibc-gcc option to accept ISO C89... none needed
checking dependency style of powerpc-tuxbox-linux-uclibc-gcc... gcc3
checking how to run the C preprocessor... powerpc-tuxbox-linux-uclibc-gcc -E
checking for egrep... 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 endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking whether byte ordering is bigendian... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... powerpc-tuxbox-linux-uclibc
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking target... cdk
checking for powerpc-tuxbox-linux-uclibc-gcc... (cached) powerpc-tuxbox-linux-uclibc-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether powerpc-tuxbox-linux-uclibc-gcc accepts -g... (cached) yes
checking for powerpc-tuxbox-linux-uclibc-gcc option to accept ISO C89... (cached) none needed
checking dependency style of powerpc-tuxbox-linux-uclibc-gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether powerpc-tuxbox-linux-uclibc-g++ accepts -g... yes
checking dependency style of powerpc-tuxbox-linux-uclibc-g++... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for fgrep... /usr/bin/grep -F
checking for ld used by powerpc-tuxbox-linux-uclibc-gcc... /home/mastag/dbox2/build/cdk/powerpc-tuxbox-linux-uclibc/bin/ld
checking if the linker (/home/mastag/dbox2/build/cdk/powerpc-tuxbox-linux-uclibc/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /home/mastag/dbox2/build/cdk/bin/powerpc-tuxbox-linux-uclibc-nm -B
checking the name lister (/home/mastag/dbox2/build/cdk/bin/powerpc-tuxbox-linux-uclibc-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to powerpc-tuxbox-linux-uclibc format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /home/mastag/dbox2/build/cdk/powerpc-tuxbox-linux-uclibc/bin/ld option to reload object files... -r
checking for powerpc-tuxbox-linux-uclibc-objdump... powerpc-tuxbox-linux-uclibc-objdump
checking how to recognize dependent libraries... pass_all
checking for powerpc-tuxbox-linux-uclibc-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for powerpc-tuxbox-linux-uclibc-ar... powerpc-tuxbox-linux-uclibc-ar
checking for archiver @FILE support... @
checking for powerpc-tuxbox-linux-uclibc-strip... (cached) powerpc-tuxbox-linux-uclibc-strip
checking for powerpc-tuxbox-linux-uclibc-ranlib... powerpc-tuxbox-linux-uclibc-ranlib
checking command to parse /home/mastag/dbox2/build/cdk/bin/powerpc-tuxbox-linux-uclibc-nm -B output from powerpc-tuxbox-linux-uclibc-gcc object... ok
checking for sysroot... no
checking for powerpc-tuxbox-linux-uclibc-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if powerpc-tuxbox-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no
checking for powerpc-tuxbox-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC
checking if powerpc-tuxbox-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes
checking if powerpc-tuxbox-linux-uclibc-gcc static flag -static works... yes
checking if powerpc-tuxbox-linux-uclibc-gcc supports -c -o file.o... yes
checking if powerpc-tuxbox-linux-uclibc-gcc supports -c -o file.o... (cached) yes
checking whether the powerpc-tuxbox-linux-uclibc-gcc linker (/home/mastag/dbox2/build/cdk/powerpc-tuxbox-linux-uclibc/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... powerpc-tuxbox-linux-uclibc-g++ -E
checking for ld used by powerpc-tuxbox-linux-uclibc-g++... /home/mastag/dbox2/build/cdk/powerpc-tuxbox-linux-uclibc/bin/ld
checking if the linker (/home/mastag/dbox2/build/cdk/powerpc-tuxbox-linux-uclibc/bin/ld) is GNU ld... yes
checking whether the powerpc-tuxbox-linux-uclibc-g++ linker (/home/mastag/dbox2/build/cdk/powerpc-tuxbox-linux-uclibc/bin/ld) supports shared libraries... yes
checking for powerpc-tuxbox-linux-uclibc-g++ option to produce PIC... -fPIC -DPIC
checking if powerpc-tuxbox-linux-uclibc-g++ PIC flag -fPIC -DPIC works... yes
checking if powerpc-tuxbox-linux-uclibc-g++ static flag -static works... yes
checking if powerpc-tuxbox-linux-uclibc-g++ supports -c -o file.o... yes
checking if powerpc-tuxbox-linux-uclibc-g++ supports -c -o file.o... (cached) yes
checking whether the powerpc-tuxbox-linux-uclibc-g++ linker (/home/mastag/dbox2/build/cdk/powerpc-tuxbox-linux-uclibc/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libconfigfile/Makefile
config.status: creating libconfigfile/tuxbox-configfile.pc
config.status: creating libconnection/Makefile
config.status: creating libconnection/tuxbox-connection.pc
config.status: creating libeventserver/Makefile
config.status: creating libeventserver/tuxbox-eventserver.pc
config.status: creating libmd5sum/Makefile
config.status: creating libmd5sum/tuxbox-md5sum.pc
config.status: creating libmpegtools/Makefile
config.status: creating libmpegtools/tuxbox-mpegtools.pc
config.status: creating libnet/Makefile
config.status: creating libnet/tuxbox-net.pc
config.status: creating libucodes/Makefile
config.status: creating libucodes/tuxbox-ucodes.pc
config.status: creating libxmltree/Makefile
config.status: creating libxmltree/tuxbox-xmltree.pc
config.status: creating libupnpclient/Makefile
config.status: creating libupnpclient/tuxbox-upnpclient.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --with-driver, --with-dvbincludes, --with-boxtype, --enable-kernel26, --enable-uclibc, --enable-lirc, --enable-ide, --enable-mmc, --enable-ccache, --enable-sqlite, --enable-radiotext, --enable-ipkg, --enable-nfsserver, --with-etherwake
make -C /home/mastag/dbox2/apps/misc/libs all
make[3]: Map '/home/mastag/dbox2/apps/misc/libs' wordt binnengegaan
make all-recursive
make[4]: Map '/home/mastag/dbox2/apps/misc/libs' wordt binnengegaan
Making all in libconfigfile
make[5]: Map '/home/mastag/dbox2/apps/misc/libs/libconfigfile' wordt binnengegaan
/bin/sh ../libtool --tag=CXX --mode=compile powerpc-tuxbox-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -pipe -Os -fPIC -flto -fuse-linker-plugin -MT configfile.lo -MD -MP -MF .deps/configfile.Tpo -c -o configfile.lo configfile.cpp
libtool: compile: powerpc-tuxbox-linux-uclibc-g++ -DHAVE_CONFIG_H -I. -I.. -Wall -pipe -Os -fPIC -flto -fuse-linker-plugin -MT configfile.lo -MD -MP -MF .deps/configfile.Tpo -c configfile.cpp -fPIC -DPIC -o .libs/configfile.o
configfile.cpp: In member function 'bool CConfigFile::saveConfig(const char*)':
configfile.cpp:96:24: error: 'unlink' was not declared in this scope
make[5]: *** [configfile.lo] Fout 1
make[5]: Map '/home/mastag/dbox2/apps/misc/libs/libconfigfile' wordt verlaten
make[4]: *** [all-recursive] Fout 1
make[4]: Map '/home/mastag/dbox2/apps/misc/libs' wordt verlaten
make[3]: *** [all] Fout 2
make[3]: Map '/home/mastag/dbox2/apps/misc/libs' wordt verlaten
make[2]: *** [misc_libs] Fout 2
make[2]: Map '/home/mastag/dbox2/cdk' wordt verlaten
make[1]: *** [/home/mastag/dbox2/build/cdkroot/lib/pkgconfig/tuxbox-xmltree.pc] Fout 2
make[1]: Map '/home/mastag/dbox2/cdk' wordt verlaten
make: *** [/home/mastag/dbox2/apps/dvb/zapit/src/zapit] Fout 2