OpenWrt Forum Archive

Topic: Problem: missing libraries. Backfire 10.03.1-rc5 SDK-brcm47xx

The content of this topic has been archived on 24 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello everyone,

I`m trying to compile the OML (OMF measurement library) to install it on my D-Link DIR-320 that already has backfire running.

This is the Makefile I`m using:

#
# Copyright (C) 2007-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=oml2
PKG_VERSION:=2.8.1
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
#PKG_SOURCE_URL:=http://mytestbed.net/attachments/download/709/oml2-2.8.0.tar.gz
#PKG_MD5SUM:=be680be07a7157f148b2f38176d90b35

PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1

LDFLAGS:=-B /usr/lib/i386-linux-gnu/

include $(INCLUDE_DIR)/package.mk

define Package/oml2
  TITLE:=OMF measurement library.
  URL:=http://mytestbed.net/projects/oml
  MAINTAINER:=
  DEPENDS:=+libpopt +libxml2 +libsqlite3
endef

CONFIGURE_VARS += \
    ac_cv_header_regex_h=no \


define Package/oml2/install
    $(INSTALL_DIR) $(1)/usr/bin
    $(CP) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
endef

$(eval $(call BuildPackage,oml2))

When I run make package/oml2/compile V=99 I get this:

fernando@fernando-Satellite-L455D:~/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1$ make package/oml2/compile V=99make[1]: Entering directory `/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1'
make[2]: Entering directory `/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/package/oml2'
(cd /home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/build_dir/target-mipsel_uClibc-0.9.30.1/oml2-2.8.1/./; if [ -x ./configure ]; then /home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/host/bin/find /home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/build_dir/target-mipsel_uClibc-0.9.30.1/oml2-2.8.1/ -name config.guess | xargs -r chmod u+w; /home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/host/bin/find /home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/build_dir/target-mipsel_uClibc-0.9.30.1/oml2-2.8.1/ -name config.guess | xargs -r -n1 cp /home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/scripts/config.guess; /home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/host/bin/find /home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/build_dir/target-mipsel_uClibc-0.9.30.1/oml2-2.8.1/ -name config.sub | xargs -r chmod u+w; /home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/host/bin/find /home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/build_dir/target-mipsel_uClibc-0.9.30.1/oml2-2.8.1/ -name config.sub | xargs -r -n1 cp /home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/scripts/config.sub; AR=mipsel-openwrt-linux-uclibc-ar AS="mipsel-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float" LD=mipsel-openwrt-linux-uclibc-ld NM=mipsel-openwrt-linux-uclibc-nm CC="mipsel-openwrt-linux-uclibc-gcc" GCC="mipsel-openwrt-linux-uclibc-gcc" CXX="mipsel-openwrt-linux-uclibc-g++" RANLIB=mipsel-openwrt-linux-uclibc-ranlib STRIP=mipsel-openwrt-linux-uclibc-strip OBJCOPY=mipsel-openwrt-linux-uclibc-objcopy OBJDUMP=mipsel-openwrt-linux-uclibc-objdump SIZE=mipsel-openwrt-linux-uclibc-size CFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float " CXXFLAGS="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float " CPPFLAGS="-I/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/include -I/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/include " LDFLAGS="-L/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -L/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/target-mipsel_uClibc-0.9.30.1/lib -L/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib -L/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/lib "  ac_cv_header_regex_h=no   ./configure --target=mipsel-openwrt-linux --host=mipsel-openwrt-linux --build=i686-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 /home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/include/site/mipsel-openwrt-linux-uclibc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mipsel-openwrt-linux-strip... mipsel-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 for style of include used by make... GNU
checking for mipsel-openwrt-linux-gcc... mipsel-openwrt-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 mipsel-openwrt-linux-uclibc-gcc accepts -g... yes
checking for mipsel-openwrt-linux-uclibc-gcc option to accept ISO C89... none needed
checking dependency style of mipsel-openwrt-linux-uclibc-gcc... gcc3
checking for mipsel-openwrt-linux-ar... mipsel-openwrt-linux-uclibc-ar
checking the archiver (mipsel-openwrt-linux-uclibc-ar) interface... ar
checking build system type... i686-pc-linux-gnu
checking host system type... mipsel-openwrt-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/host/bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by mipsel-openwrt-linux-uclibc-gcc... mipsel-openwrt-linux-uclibc-ld
checking if the linker (mipsel-openwrt-linux-uclibc-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... mipsel-openwrt-linux-uclibc-nm
checking the name lister (mipsel-openwrt-linux-uclibc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 805306365
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to mipsel-openwrt-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for mipsel-openwrt-linux-uclibc-ld option to reload object files... -r
checking for mipsel-openwrt-linux-objdump... mipsel-openwrt-linux-uclibc-objdump
checking how to recognize dependent libraries... pass_all
checking for mipsel-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for mipsel-openwrt-linux-ar... (cached) mipsel-openwrt-linux-uclibc-ar
checking for archiver @FILE support... @
checking for mipsel-openwrt-linux-strip... (cached) mipsel-openwrt-linux-uclibc-strip
checking for mipsel-openwrt-linux-ranlib... mipsel-openwrt-linux-uclibc-ranlib
checking command to parse mipsel-openwrt-linux-uclibc-nm output from mipsel-openwrt-linux-uclibc-gcc object... ok
checking for sysroot... no
checking for mipsel-openwrt-linux-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking how to run the C preprocessor... mipsel-openwrt-linux-uclibc-gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if mipsel-openwrt-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no
checking for mipsel-openwrt-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC
checking if mipsel-openwrt-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes
checking if mipsel-openwrt-linux-uclibc-gcc static flag -static works... yes
checking if mipsel-openwrt-linux-uclibc-gcc supports -c -o file.o... yes
checking if mipsel-openwrt-linux-uclibc-gcc supports -c -o file.o... (cached) yes
checking whether the mipsel-openwrt-linux-uclibc-gcc linker (mipsel-openwrt-linux-uclibc-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 if host is Mac OS X... no
checking whether we are using the GNU C++ compiler... yes
checking whether mipsel-openwrt-linux-uclibc-g++ accepts -g... yes
checking dependency style of mipsel-openwrt-linux-uclibc-g++... gcc3
checking how to run the C++ preprocessor... mipsel-openwrt-linux-uclibc-g++ -E
checking for ld used by mipsel-openwrt-linux-uclibc-g++... mipsel-openwrt-linux-uclibc-ld
checking if the linker (mipsel-openwrt-linux-uclibc-ld) is GNU ld... yes
checking whether the mipsel-openwrt-linux-uclibc-g++ linker (mipsel-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking for mipsel-openwrt-linux-uclibc-g++ option to produce PIC... -fPIC -DPIC
checking if mipsel-openwrt-linux-uclibc-g++ PIC flag -fPIC -DPIC works... yes
checking if mipsel-openwrt-linux-uclibc-g++ static flag -static works... yes
checking if mipsel-openwrt-linux-uclibc-g++ supports -c -o file.o... yes
checking if mipsel-openwrt-linux-uclibc-g++ supports -c -o file.o... (cached) yes
checking whether the mipsel-openwrt-linux-uclibc-g++ linker (mipsel-openwrt-linux-uclibc-ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for mipsel-openwrt-linux-gcc... (cached) mipsel-openwrt-linux-uclibc-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether mipsel-openwrt-linux-uclibc-gcc accepts -g... (cached) yes
checking for mipsel-openwrt-linux-uclibc-gcc option to accept ISO C89... (cached) none needed
checking dependency style of mipsel-openwrt-linux-uclibc-gcc... (cached) gcc3
checking whether mipsel-openwrt-linux-uclibc-gcc and cc understand -c and -o together... yes
checking whether make sets $(MAKE)... (cached) yes
checking pkg-config is at least version 0.9.0... yes
checking for CHECK... yes
checking for xmlParseFile in -lxml2... no
checking for xml2-config... /home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/target-mipsel_uClibc-0.9.30.1/host/bin/xml2-config
checking how to include libxml2 headers... -I/home/jow/devel/openwrt/rc5/brcm47xx/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include/libxml2
checking how to link with libxml2... -L/home/jow/devel/openwrt/rc5/brcm47xx/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/lib -lxml2 -lz -lm
checking for sqlite3_open in -lsqlite3... no
checking for poptGetContext in -lpopt... yes
checking for pthread_create in -lpthread... yes
checking for sqrt in -lm... no
checking whether ruby executable path has been provided... no
checking for ruby... /home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/host/bin/ruby
checking for ruby version... ruby 1.9.2p0 (2010-08-18 revision 29036) [i386-linux]
checking whether gem executable path has been provided... no
checking for gem... /home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/host/bin/gem
checking whether rake executable path has been provided... no
checking for rake... /home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/host/bin/rake
./configure: /home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/staging_dir/host/bin/gem: /home/jow/devel/openwrt/rc5/brcm47xx/staging_dir/host/bin/ruby: bad interpreter: No such file or directory
checking whether the bundler gem is available... no
configure: WARNING: The OML4r gem will not be built; you can run `gem install bundler' and rerun configure to fix this issue
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... cross
configure: WARNING: result yes guessed because of cross compilation
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memmove... yes
checking for memset... yes
checking for socket... yes
checking for sqrt... no
checking for strerror... (cached) yes
checking whether byte ordering is bigendian... (cached) no
checking for a2x... no
checking for asciidoc... no
configure: WARNING: Test for a2x failed.  Not generating man pages (but OML build should still complete ok).
configure: WARNING: Test for asciidoc failed.  Not generating man pages (but OML build should still complete ok).
configure: WARNING: could not find required library libxml2
configure: WARNING: could not find required library libsqlite3
configure: WARNING: could not find required library libm
configure: error: missing libraries, could not continue.
Please install all of the following libraries and then re-run configure
(you might need the development header packages (-dev) as well if you are
using your system's package manager to install them):
 libxml2 libsqlite3 libm
make[2]: *** [/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/build_dir/target-mipsel_uClibc-0.9.30.1/oml2-2.8.1/.configured_] Error 1
make[2]: Leaving directory `/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/package/oml2'
make[1]: *** [package/oml2/compile] Error 2
make[1]: Leaving directory `/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1'
make: *** [package/oml2/compile] Error 2

But, libxml2 and libsqlite3 are already installed via apt-get. And libm I don`t why appears here. Anyway, how do I solve the libxml2 and libsqlite3 problem?

Thank you all for the attention and patience!

You need a cross-compiled libxml2 and libsqlite3, it doesn't matter whether they're present on your host system or not.

./scripts/feeds update
./scripts/feeds install -d m libsqlite3
./scripts/feeds install -d m libxml2

Make sure your OpenWrt Makefile contains:

DEPENDS:=+libxml2 +libsqlite3

And proceed with make package/oml2/{clean,compile} V=99

jow wrote:

You need a cross-compiled libxml2 and libsqlite3, it doesn't matter whether they're present on your host system or not.

./scripts/feeds update
./scripts/feeds install -d m libsqlite3
./scripts/feeds install -d m libxml2

Make sure your OpenWrt Makefile contains:

DEPENDS:=+libxml2 +libsqlite3

And proceed with make package/oml2/{clean,compile} V=99

Thank you jow! Everything went fine. Except make package/oml2/{clean,compile} V=99. I got this error:

fernando@fernando-Satellite-L455D:~/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1$ make package/oml2/clean V=99
make[3]: Entering directory `/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/scripts/config'
make[3]: *** No rule to make target `mconf.o', needed by `mconf'.  Stop.
make[3]: Leaving directory `/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/scripts/config'
make[2]: *** [scripts/config/mconf] Error 2
make[1]: *** [.config] Error 2
make: *** [package/oml2/clean] Error 2

(Last edited by fernandocunha on 4 Sep 2012, 19:15)

I`ve found a patch, that might fix the problem, here: https://dev.openwrt.org/ticket/10209. But I don`t know how to apply a patch. I`ll study this, try to apply the patch and post the feedback here.

(Last edited by fernandocunha on 10 Sep 2012, 17:23)

I followed the instructions found here: http://wiki.openwrt.org/doc/devel/patches.

But I`m stuck here:

fernando@fernando-Satellite-L455D:~/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1$ make package/oml2/update V=99
make[1]: Entering directory `/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1'
make[2]: Entering directory `/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/package/oml2'
if [ -s "/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/build_dir/target-mipsel_uClibc-0.9.30.1/oml2/patches/series" ]; then (cd "/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/build_dir/target-mipsel_uClibc-0.9.30.1/oml2"; if quilt --quiltrc=- next >/dev/null 2>&1; then quilt --quiltrc=- push -a; else quilt --quiltrc=- top >/dev/null 2>&1; fi ); fi
make[2]: *** [/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/build_dir/target-mipsel_uClibc-0.9.30.1/oml2/.quilt_checked] Error 1
make[2]: Leaving directory `/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1/package/oml2'
make[1]: *** [package/oml2/update] Error 2
make[1]: Leaving directory `/home/fernando/OpenWrt-SDK-brcm47xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1'
make: *** [package/oml2/update] Error 2

Anyone?

The discussion might have continued from here.