Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#16979 closed defect (duplicate)

error after "Make" for openflow 1.3 TP Link 841ND

Reported by: walid.osama@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: openflow openwrt sdn tplink Cc:

Description

I'm trying to make a firmware for my TP link router in order to make it an openflow 1.3 switch, but I'm failing at this point.
First, these are the steps I have taken.
"
apt-get install git quilt build-essential binutils flex bison autoconf gettext texinfo sharutils subversion libncurses5-dev ncurses-term zlib1g-dev gawk

exit
mkdir ~/openwrt
cd ~/openwrt

svn co svn://svn.openwrt.org/openwrt/trunk/

cd trunk
./scripts/feeds update -a
./scripts/feeds install -a

make menuconfig

Select Target Profile (TP-LINK TL-WR1043N/ND)

make prereq

make
"

After I typed in "make" - which took about 4 hours - this was the output
"
make[3] -C package/network/services/odhcpd compile
make -r world: build failed. Try again with V=s to see what is going on
"
So I did, typed in "Make V=s" in /openwrt directory
this was the last part of the output
"
/root/openwrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include/libubus.h:45:35: note: each undeclared identifier is reported only once for each function it appears in
make[6]: * [CMakeFiles/odhcpd.dir/src/ubus.c.o] Error 1
make[6]: Leaving directory `/root/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/odhcpd-2014-07-01'
make[5]:
* [CMakeFiles/odhcpd.dir/all] Error 2
make[5]: Leaving directory `/root/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/odhcpd-2014-07-01'
make[4]: * [all] Error 2
make[4]: Leaving directory `/root/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/odhcpd-2014-07-01'
make[3]:
* /root/openwrt/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/odhcpd-2014-07-01/.built Error 2
make[3]: Leaving directory `/root/openwrt/trunk/package/network/services/odhcpd'
make[2]: * [package/network/services/odhcpd/compile] Error 2
make[2]: Leaving directory `/root/openwrt/trunk'
make[1]:
* /root/openwrt/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile Error 2
make[1]: Leaving directory `/root/openwrt/trunk'
make: * [world] Error 2
"
Can anyone kindly guide me how to get through this error?
Thanks in Advance

Attachments (0)

Change History (4)

comment:1 follow-up: Changed 4 years ago by anonymous

temporarily rollback package/system/ubus/Makefile

PKG_NAME:=ubus
PKG_VERSION:=2014-05-24
PKG_RELEASE=$(PKG_SOURCE_VERSION)

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://nbd.name/luci2/ubus.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=3869e0ca0774e8f17597db5b60bee97d21b5b1fa
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz

comment:2 in reply to: ↑ 1 Changed 4 years ago by anonymous

Replying to anonymous:

temporarily rollback package/system/ubus/Makefile

PKG_NAME:=ubus
PKG_VERSION:=2014-05-24
PKG_RELEASE=$(PKG_SOURCE_VERSION)

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://nbd.name/luci2/ubus.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=3869e0ca0774e8f17597db5b60bee97d21b5b1fa
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz

I'm sorry but I don't understand what you're explaining, can you please give me more details on how to rectify the error?

comment:3 Changed 4 years ago by nbd

  • Resolution set to duplicate
  • Status changed from new to closed

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.