Hi list,

I'm trying to build backfire on Fedora 17, 64bits but am unsuccessful.
Maybe someone knows how to fix the build problems?
Any help is _much_ appreciated ;-)
(I am a newbie to openwrt)


I cloned git://nbd.name/backfire.git and am using commit cb3fe864af7ea801b1171676a34866b596b9f428 on the master branch.


The failing part of the build:

test -z "/home/ferry/vcs/nbs/openwrt/backfire/staging_dir/host/share/aclocal" || /usr/bin/mkdir -p "/home/ferry/vcs/nbs/openwrt/backfire/staging_dir/host/share/aclocal" /usr/bin/install -c -m 644 m4/bison-i18n.m4 '/home/ferry/vcs/nbs/openwrt/backfire/staging_dir/host/share/aclocal' make[7]: Leaving directory `/home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/bison-2.4.3' make[6]: Leaving directory `/home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/bison-2.4.3' make[5]: Leaving directory `/home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/bison-2.4.3' make[4]: Leaving directory `/home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/bison-2.4.3'
mkdir -p /home/ferry/vcs/nbs/openwrt/backfire/staging_dir/host/stamp
touch /home/ferry/vcs/nbs/openwrt/backfire/staging_dir/host/stamp/.bison_installed make[3]: Leaving directory `/home/ferry/vcs/nbs/openwrt/backfire/tools/bison' make[3]: Entering directory `/home/ferry/vcs/nbs/openwrt/backfire/tools/mklibs'
mkdir -p /home/ferry/vcs/nbs/openwrt/backfire/dl
/home/ferry/vcs/nbs/openwrt/backfire/scripts/download.pl "/home/ferry/vcs/nbs/openwrt/backfire/dl" "mklibs_0.1.29.tar.gz" "7f35dfdbde249a090199829c1a1222d8" "http://ftp.de.debian.org/debian/pool/main/m/mklibs/"; --2012-06-08 12:20:01-- http://ftp.de.debian.org/debian/pool/main/m/mklibs/mklibs_0.1.29.tar.gz
Resolving ftp.de.debian.org... 141.76.2.4
Connecting to ftp.de.debian.org|141.76.2.4|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-06-08 12:20:01 ERROR 404: Not Found.

Download failed.
--2012-06-08 12:20:01-- http://mirror2.openwrt.org/sources/mklibs_0.1.29.tar.gz
Resolving mirror2.openwrt.org... 46.4.11.11
Connecting to mirror2.openwrt.org|46.4.11.11|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 114608 (112K) [application/x-gzip]
Saving to: `STDOUT'

100%[==================================================================================================>] 114,608 --.-K/s in 0.1s

2012-06-08 12:20:01 (1.11 MB/s) - written to stdout [114608/114608]

gzip -dc /home/ferry/vcs/nbs/openwrt/backfire/dl/mklibs_0.1.29.tar.gz | /usr/bin/gtar -C /home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/mklibs/.. -xf -

Applying ./patches/001-missing_stdio.patch using plaintext:
patching file src/mklibs-readelf/main.cpp

Applying ./patches/002-disable_symbol_checks.patch using plaintext:
patching file src/mklibs.py

Applying ./patches/003-no_copy.patch using plaintext:
patching file src/mklibs.py

Applying ./patches/004-libpthread_link.patch using plaintext:
patching file src/mklibs.py

Applying ./patches/005-readelf_fixes.patch using plaintext:
patching file src/mklibs-readelf/main.cpp

Applying ./patches/006-duplicate_syms.patch using plaintext:
patching file src/mklibs.py

Applying ./patches/007-uclibc_init.patch using plaintext:
patching file src/mklibs.py

Applying ./patches/008-gc_sections.patch using plaintext:
patching file src/mklibs.py

Applying ./patches/009-uclibc_libgcc_link.patch using plaintext:
patching file src/mklibs.py
touch /home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/mklibs/.prepared3b0981f2bf32a7e964bc7025905bb603 (cd /home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/mklibs/; if [ -x configure ]; then cp -fpR /home/ferry/vcs/nbs/openwrt/backfire/scripts/config.{guess,sub} /home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/mklibs// && ./configure CFLAGS="-O2 -I/home/ferry/vcs/nbs/openwrt/backfire/staging_dir/host/include -I/home/ferry/vcs/nbs/openwrt/backfire/tools/mklibs/include" CPPFLAGS="-O2 -I/home/ferry/vcs/nbs/openwrt/backfire/staging_dir/host/include -I/home/ferry/vcs/nbs/openwrt/backfire/tools/mklibs/include" LDFLAGS="-L/home/ferry/vcs/nbs/openwrt/backfire/staging_dir/host/lib" SHELL="/usr/bin/bash" --target=x86_64-redhat-linux --host=x86_64-redhat-linux --build=x86_64-redhat-linux --program-prefix="" --program-suffix="" --prefix=/home/ferry/vcs/nbs/openwrt/backfire/staging_dir/host --exec-prefix=/home/ferry/vcs/nbs/openwrt/backfire/staging_dir/host --sysconfdir=/home/ferry/vcs/nbs/openwrt/backfire/staging_dir/host/etc --localstatedir=/home/ferry/vcs/nbs/openwrt/backfire/staging_dir/host/var ; fi )
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking target system type... x86_64-redhat-linux-gnu
checking for x86_64-redhat-linux-g++... x86_64-redhat-linux-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 x86_64-redhat-linux-g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of x86_64-redhat-linux-g++... gcc3
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/mklibs-readelf/Makefile
config.status: creating config.h
config.status: executing depfiles commands
touch /home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/mklibs/.configured
make -C /home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/mklibs
make[4]: Entering directory `/home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/mklibs'
make  all-recursive
make[5]: Entering directory `/home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/mklibs'
Making all in src
/home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/mklibs/src
make[6]: Entering directory `/home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/mklibs/src'
Making all in mklibs-readelf
/home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/mklibs/src/mklibs-readelf
make[7]: Entering directory `/home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/mklibs/src/mklibs-readelf' x86_64-redhat-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -O2 -I/home/ferry/vcs/nbs/openwrt/backfire/staging_dir/host/include -I/home/ferry/vcs/nbs/openwrt/backfire/tools/mklibs/include -g -O2 -MT elf.o -MD -MP -MF .deps/elf.Tpo -c -o elf.o elf.cpp elf.cpp: In static member function 'static Elf::file* Elf::file::open(const char*)':
elf.cpp:68:5: error: '::close' has not been declared
make[7]: *** [elf.o] Error 1
make[7]: Leaving directory `/home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/mklibs/src/mklibs-readelf'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/mklibs/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/mklibs'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/mklibs' make[3]: *** [/home/ferry/vcs/nbs/openwrt/backfire/build_dir/host/mklibs/.built] Error 2 make[3]: Leaving directory `/home/ferry/vcs/nbs/openwrt/backfire/tools/mklibs'
make[2]: *** [tools/mklibs/compile] Error 2
make[2]: Leaving directory `/home/ferry/vcs/nbs/openwrt/backfire'
make[1]: *** [/home/ferry/vcs/nbs/openwrt/backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/stamp/.tools_install_nnnnn] Error 2
make[1]: Leaving directory `/home/ferry/vcs/nbs/openwrt/backfire'
make: *** [world] Error 2


--
Ferry Huberts

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to