mkschreder / juci-openwrt-feed Goto Github PK
View Code? Open in Web Editor NEWOpenWRT feed with all JUCI related packages.
OpenWRT feed with all JUCI related packages.
Hello Martin
Compiled a new version today.
In menuconfig selected only zram,sha1sum & all juci packages
After start have RPC error: You do not have an RPC connection to the router!
The thing i saw is:
root@OpenWrt:~# orangerpcd
Orange RPCD v0.1.0
Copyright (c) 2016 Martin Schröder
[1472669757:5330] NOTICE: Initial logging level 7
[1472669757:5331] NOTICE: Libwebsockets version: 1.6.0 160eb5d
[1472669757:5332] NOTICE: IPV6 not compiled in
[1472669757:5334] NOTICE: libev support not compiled in
[1472669757:5335] NOTICE: mem: platform fd map: 4096 bytes
[1472669757:5341] NOTICE: mem: per-conn: 256 bytes + protocol rx buf
[1472669757:5343] NOTICE: canonical_hostname = OpenWrt
[1472669757:5344] ERR: ERROR on binding to port 5303 (-1 98)
[1472669757:5348] NOTICE: lws_context_destroy
Maybe problem here?
BTW orangectl now works i think.... with rpc error i cant connect and check...
UPD. after ./scripts/feeds install -f -p juci -a
WARNING: No feed for package 'jucid' found, maybe it's already part of the standard packages?
Its critical?
Also a question: version of gcc in ubuntu matters? now i have 4.8
Hi mkschreder,
tried to access http://mkschreder.github.io/juci/manual/juci-on-openwrt.html
but it is broken.Need to install JUCI in owrt kindly provide the necessary steps.
thanks
gaurawgiri
With 2.16.05 or 2.16.03?
How to use it?
Test 2.16.05
Close luci/uhttpd service
Configure lighttpd, port 100, directory /www
Run juci-update.
Run lighttpd
No /sbin/juci
There are juci-netdevd and juci-eventd
Browser open http://192.168.1.1:100
No user interface
Compilation failing with missing dependency : libwebsockets.so.8.1
install -d -m0755 /home/aji/source/build_dir/target-mipsel_24kc_musl/orange-rpcd-3.16.01-2e02cb0594b35e534c1e155d94d95ecf062d26c7/ipkg-mipsel_24kc/liborange/usr/lib/
cp -fpR /home/aji/source/build_dir/target-mipsel_24kc_musl/orange-rpcd-3.16.01-2e02cb0594b35e534c1e155d94d95ecf062d26c7/src/.libs/.so /home/aji/source/build_dir/target-mipsel_24kc_musl/orange-rpcd-3.16.01-2e02cb0594b35e534c1e155d94d95ecf062d26c7/ipkg-mipsel_24kc/liborange/usr/lib/
find /home/aji/source/build_dir/target-mipsel_24kc_musl/orange-rpcd-3.16.01-2e02cb0594b35e534c1e155d94d95ecf062d26c7/ipkg-mipsel_24kc/liborange -name 'CVS' -o -name '.svn' -o -name '.#' -o -name '~'| xargs -r rm -rf
Package liborange is missing dependencies for the following libraries:
libwebsockets.so.8.1
Makefile:78: recipe for target '/home/aji/source/bin/packages/mipsel_24kc/juci/liborange_3.16.01-2e02cb0594b35e534c1e155d94d95ecf062d26c7_mipsel_24kc.ipk' failed
make[3]: *** [/home/aji/source/bin/packages/mipsel_24kc/juci/liborange_3.16.01-2e02cb0594b35e534c1e155d94d95ecf062d26c7_mipsel_24kc.ipk] Error 1
make[3]: Leaving directory '/home/aji/source/feeds/juci/orange-rpcd'
package/Makefile:105: recipe for target 'package/feeds/juci/orange-rpcd/compile' failed
make[2]: *** [package/feeds/juci/orange-rpcd/compile] Error 2
make[2]: Leaving directory '/home/aji/source'
package/Makefile:101: recipe for target '/home/aji/source/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed
make[1]: *** [/home/aji/source/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/aji/source'
/home/aji/source/include/toplevel.mk:197: recipe for target 'world' failed
make: *** [world] Error 2
What is this?
Is this still up to date?
What is it supposed to be?
hi mkschreder,
I found that you update the "luci-openwrt-wireless", how can I update to the latest version?
Hi,
This is my steps:
Click OK then another error comes up:
/home/openwrt/openwrt/staging_dir/toolchain-x86_64_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/x86_64-openwrt-linux-uclibc/4.8.3/../../../../x86_64-openwrt-linux-uclibc/bin/ld: cannot find -lssp_nonshared
/home/openwrt/openwrt/staging_dir/toolchain-x86_64_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/x86_64-openwrt-linux-uclibc/4.8.3/../../../../x86_64-openwrt-linux-uclibc/bin/ld: cannot find -lssp
/home/openwrt/openwrt/staging_dir/target-x86_64_uClibc-0.9.33.2/usr/lib/libuci.so: warning: the use of mktemp' is dangerous, better use
mkstemp'
collect2: error: ld returned 1 exit status
Makefile:484: recipe for target 'orangerpcd' failed
make[5]: *** [orangerpcd] Error 1
make[5]: Leaving directory '/home/openwrt/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/orange-rpcd-2.16.08-c4ad159efa5fc40f610fa0cb11e25fda19f131ad/src'
Makefile:391: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/openwrt/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/orange-rpcd-2.16.08-c4ad159efa5fc40f610fa0cb11e25fda19f131ad'
Makefile:65: recipe for target '/home/openwrt/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/orange-rpcd-2.16.08-c4ad159efa5fc40f610fa0cb11e25fda19f131ad/.built' failed
make[3]: *** [/home/openwrt/openwrt/build_dir/target-x86_64_uClibc-0.9.33.2/orange-rpcd-2.16.08-c4ad159efa5fc40f610fa0cb11e25fda19f131ad/.built] Error 2
make[3]: Leaving directory '/home/openwrt/openwrt/feeds/juci/orange-rpcd'
package/Makefile:191: recipe for target 'package/feeds/juci/orange-rpcd/compile' failed
make[2]: *** [package/feeds/juci/orange-rpcd/compile] Error 2
make[2]: Leaving directory '/home/openwrt/openwrt'
package/Makefile:188: recipe for target '/home/openwrt/openwrt/staging_dir/target-x86_64_uClibc-0.9.33.2/stamp/.package_compile' failed
make[1]: *** [/home/openwrt/openwrt/staging_dir/target-x86_64_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/openwrt/openwrt'
/home/openwrt/openwrt/include/toplevel.mk:181: recipe for target 'world' failed
make: *** [world] Error 2
openwrt@ubuntu:~/openwrt$
with your script or without same issue...
juci and luci-base are not compatible, the compilation process crashes when tries to install files at same directory . Juci must not be selected if luci-base is selected and the other side around.
After building this I am not able to install due to missing dependency of Jucid. I see that on Makefile, and jucid.git is now orange-rpcd. I believe this is a Makefile issue. Anyways, I went ahead by installing all other packages. I am able to reach login page. I did create new user name and password using orangectl command . But I am still not able to login or use.
I am missing anything ?
This jucid package version is not compiling.
juci.c:206:13: error: 'GLOB_TILDE' undeclared (first use in this function)
glob(path, GLOB_TILDE, NULL, &glob_result);
Probably it is using a outdated jucid version.
Installed JUCI with owrt but when we access the web pages , one pop-up
observed with error "uncaught exception: TypeError: $rpc.juci.network is undefined "
Below is the error in console.
UCI failed to initialize! 01-juci.js:1:1794944
JUCIMain.prototype.$init/</< http://192.168.168.1/js/01-juci.js:1:1794944
n.Callbacks/j http://192.168.168.1/js/01-juci.js:1:909346
n.Callbacks/k.fireWith http://192.168.168.1/js/01-juci.js:1:910164
.Deferred/</e[f[0]] http://192.168.168.1/js/01-juci.js:1:911130
UCI.prototype.$init/< http://192.168.168.1/js/01-juci.js:1:1788766
n.Callbacks/j http://192.168.168.1/js/01-juci.js:1:909346
n.Callbacks/k.fireWith http://192.168.168.1/js/01-juci.js:1:910164
.Deferred/</e[f[0]] http://192.168.168.1/js/01-juci.js:1:911130
RevoRPC.prototype.$connect/socket.onmessage http://192.168.168.1/js/01-juci.js:1:1764257
window.onerror http://192.168.168.1/js/01-juci.js:1:1800530
$juci.redirect http://192.168.168.1/js/01-juci.js:1:1799578
$juci.redirectHome/< http://192.168.168.1/js/01-juci.js:1:1801358
JUCI Init
Is this something related to client side javascript or lua ? Also the following are succeeded as per console logs
RPC init 01-juci.js:1:1794425
connecting to rpc server at (ws://192.168.168.1/websocket/) 01-juci.js:1:1763223
RPC connection established! 01-juci.js:1:1763305
RPC initialized! 01-juci.js:1:1794635
UCI Init
Hello
Mkschreder can you update luaposix to ver.33.4.0 ?
Yesterday i changed it in feeds by myself and everything compiled correctly.
I cant login with root and root passwd after that, but compile was successful.
Used v2.16.04 branch
Martin hello again :)
Can you say, Juci is compatible with Atheros wifi cards ?
I was reading somewhere that you working with Broadcom only.
I know that Juci is only GUI but will it collaborate with Hostapd and ath10k?
Anyway i cant compile 15.05 with v2.16.XX because of luaposix compile error ....
Any advance?
When I update the new version (v1.15.11 => v1.15.12), can not pass the user name password, view the console log:
UCI failed to initialize!
The orangerpcd has a bug, please updae the feed of orangerpcd .
See mkschreder/orangerpcd@5f0a274
I'm not sure if this is because of how I installed it or my using trunk, etc. In feeds/packages/libs there is a libwebsockets that is pulling in vs 2.0.3. You use commit 0c7e5a94182b8bf5b5be2fc58141466bf54d5812. Can I switch to the newest? I'd rather keep it as close to the source feed as possible.
Edit:
While I'm at it. The lighttpd feed also isn't being overridden. I checked my command history and I ran:
./scripts/feeds install -f -a -p juci
but after I ran
./scripts/feeds install -a
The juci-full-openwrt Makefile still has +@PACKAGE_juci-uhttpd which brings in uhttpd.
'/home/fabian/playground/openwrt/build_dir/target-arm_arm926ej-s_musl-1.1.14_eabi/luaposix-release-v33.3.1'
CC ext/posix/posix.lo
In file included from ext/posix/ctype.c:22:0,
from ext/posix/posix.c:13:
./ext/include/_helpers.c:38:18: fatal error: term.h: No
such file or directory
The strange thing is, that it seems like the #include term.h in /ext/include/_helpers.c is not needed at all, removing the line "fixes" the build.
Does this feed installs the required uhttpd version when Juci is selected?
I've been unable to run Juci with current openwrt trunk and the root webpage just returns the index:
Index of /
../
modified: Thu, 01 Jan 1970 00:00:09 GMT
directory - 0.00 kbyte
cgi-bin/
modified: Wed, 30 Dec 2015 12:22:50 GMT
directory - 0.06 kbyte
css/
modified: Wed, 30 Dec 2015 12:22:50 GMT
directory - 0.42 kbyte
fonts/
modified: Wed, 30 Dec 2015 12:22:50 GMT
directory - 0.21 kbyte
img/
modified: Wed, 30 Dec 2015 12:22:50 GMT
directory - 0.42 kbyte
js/
modified: Wed, 30 Dec 2015 12:22:50 GMT
directory - 0.88 kbyte
config.json.gz
modified: Mon, 28 Dec 2015 04:56:33 GMT
application/x-gzip - 0.16 kbyte
index.html.gz
modified: Mon, 28 Dec 2015 04:56:33 GMT
application/x-gzip - 0.57 kbyte
reboot.html.gz
modified: Mon, 28 Dec 2015 04:56:33 GMT
application/x-gzip - 0.32 kbyte
Good day!
An error during compilation libblobpack:
make[3]: Entering directory '/home/builder/openwrt/buildroot/trunk/feeds/juci/libblobpack'
CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap /home/builder/openwrt/buildroot/trunk/build_dir/target-mips_34kc_musl-1.1.15/libblobpack-2.16.09-a024c6e3a2512741d94e3a48d72e734de7f73ff3:libblobpack-2.16.09-a024c6e3a2512741d94e3a48d72e734de7f73ff3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/builder/openwrt/buildroot/trunk/staging_dir/target-mips_34kc_musl-1.1.15/usr/include -I/home/builder/openwrt/buildroot/trunk/staging_dir/target-mips_34kc_musl-1.1.15/include -I/home/builder/openwrt/buildroot/trunk/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15/usr/include -I/home/builder/openwrt/buildroot/trunk/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15/include/fortify -I/home/builder/openwrt/buildroot/trunk/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15/include " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap /home/builder/openwrt/buildroot/trunk/build_dir/target-mips_34kc_musl-1.1.15/libblobpack-2.16.09-a024c6e3a2512741d94e3a48d72e734de7f73ff3:libblobpack-2.16.09-a024c6e3a2512741d94e3a48d72e734de7f73ff3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/builder/openwrt/buildroot/trunk/staging_dir/target-mips_34kc_musl-1.1.15/usr/include -I/home/builder/openwrt/buildroot/trunk/staging_dir/target-mips_34kc_musl-1.1.15/include -I/home/builder/openwrt/buildroot/trunk/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15/usr/include -I/home/builder/openwrt/buildroot/trunk/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15/include/fortify -I/home/builder/openwrt/buildroot/trunk/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15/include " LDFLAGS="-L/home/builder/openwrt/buildroot/trunk/staging_dir/target-mips_34kc_musl-1.1.15/usr/lib -L/home/builder/openwrt/buildroot/trunk/staging_dir/target-mips_34kc_musl-1.1.15/lib -L/home/builder/openwrt/buildroot/trunk/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15/usr/lib -L/home/builder/openwrt/buildroot/trunk/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15/lib -znow -zrelro " make -j1 -C /home/builder/openwrt/buildroot/trunk/build_dir/target-mips_34kc_musl-1.1.15/libblobpack-2.16.09-a024c6e3a2512741d94e3a48d72e734de7f73ff3/. AR="mips-openwrt-linux-musl-gcc-ar" AS="mips-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -iremap /home/builder/openwrt/buildroot/trunk/build_dir/target-mips_34kc_musl-1.1.15/libblobpack-2.16.09-a024c6e3a2512741d94e3a48d72e734de7f73ff3:libblobpack-2.16.09-a024c6e3a2512741d94e3a48d72e734de7f73ff3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=mips-openwrt-linux-musl-ld NM="mips-openwrt-linux-musl-gcc-nm" CC="mips-openwrt-linux-musl-gcc" GCC="mips-openwrt-linux-musl-gcc" CXX="mips-openwrt-linux-musl-g++" RANLIB="mips-openwrt-linux-musl-gcc-ranlib" STRIP=mips-openwrt-linux-musl-strip OBJCOPY=mips-openwrt-linux-musl-objcopy OBJDUMP=mips-openwrt-linux-musl-objdump SIZE=mips-openwrt-linux-musl-size CROSS="mips-openwrt-linux-musl-" ARCH="mips" ;
make[4]: Entering directory '/home/builder/openwrt/buildroot/trunk/build_dir/target-mips_34kc_musl-1.1.15/libblobpack-2.16.09-a024c6e3a2512741d94e3a48d72e734de7f73ff3'
Making all in src
make[5]: Entering directory '/home/builder/openwrt/buildroot/trunk/build_dir/target-mips_34kc_musl-1.1.15/libblobpack-2.16.09-a024c6e3a2512741d94e3a48d72e734de7f73ff3/src'
/bin/sh ../libtool --tag=CC --mode=compile mips-openwrt-linux-musl-gcc -DPACKAGE_NAME=\"libblobpack.so\" -DPACKAGE_TARNAME=\"libblobpack-so\" -DPACKAGE_VERSION=\"0.1.0\" -DPACKAGE_STRING=\"libblobpack.so\ 0.1.0\" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblobpack-so\" -DVERSION=\"0.1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_UNISTD_H=1 -I. -I/home/builder/openwrt/buildroot/trunk/staging_dir/target-mips_34kc_musl-1.1.15/usr/include -I/home/builder/openwrt/buildroot/trunk/staging_dir/target-mips_34kc_musl-1.1.15/include -I/home/builder/openwrt/buildroot/trunk/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15/usr/include -I/home/builder/openwrt/buildroot/trunk/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15/include/fortify -I/home/builder/openwrt/buildroot/trunk/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15/include -std=gnu99 -Wall -Werror -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wmissing-field-initializers -Wextra -Wformat=2 -Wno-format-nonliteral -Wpointer-arith -Wno-missing-braces -Wno-unused-parameter -Wno-unused-variable -Wno-inline -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap /home/builder/openwrt/buildroot/trunk/build_dir/target-mips_34kc_musl-1.1.15/libblobpack-2.16.09-a024c6e3a2512741d94e3a48d72e734de7f73ff3:libblobpack-2.16.09-a024c6e3a2512741d94e3a48d72e734de7f73ff3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MT libblobpack_la-blob.lo -MD -MP -MF .deps/libblobpack_la-blob.Tpo -c -o libblobpack_la-blob.lo `test -f 'blob.c' || echo './'`blob.c
libtool: compile: mips-openwrt-linux-musl-gcc -DPACKAGE_NAME=\"libblobpack.so\" -DPACKAGE_TARNAME=\"libblobpack-so\" -DPACKAGE_VERSION=\"0.1.0\" "-DPACKAGE_STRING=\"libblobpack.so 0.1.0\"" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libblobpack-so\" -DVERSION=\"0.1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_UNISTD_H=1 -I. -I/home/builder/openwrt/buildroot/trunk/staging_dir/target-mips_34kc_musl-1.1.15/usr/include -I/home/builder/openwrt/buildroot/trunk/staging_dir/target-mips_34kc_musl-1.1.15/include -I/home/builder/openwrt/buildroot/trunk/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15/usr/include -I/home/builder/openwrt/buildroot/trunk/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15/include/fortify -I/home/builder/openwrt/buildroot/trunk/staging_dir/toolchain-mips_34kc_gcc-5.3.0_musl-1.1.15/include -std=gnu99 -Wall -Werror -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wmissing-field-initializers -Wextra -Wformat=2 -Wno-format-nonliteral -Wpointer-arith -Wno-missing-braces -Wno-unused-parameter -Wno-unused-variable -Wno-inline -Os -pipe -mno-branch-likely -mips32r2 -mtune=34kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap /home/builder/openwrt/buildroot/trunk/build_dir/target-mips_34kc_musl-1.1.15/libblobpack-2.16.09-a024c6e3a2512741d94e3a48d72e734de7f73ff3:libblobpack-2.16.09-a024c6e3a2512741d94e3a48d72e734de7f73ff3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -MT libblobpack_la-blob.lo -MD -MP -MF .deps/libblobpack_la-blob.Tpo -c blob.c -fPIC -DPIC -o .libs/libblobpack_la-blob.o
blob.c: In function 'blob_field_init':
blob.c:42:17: error: implicit declaration of function 'htobe32' [-Werror=implicit-function-declaration]
attr->id_len = htobe32(len);
^
blob.c:42:2: error: nested extern declaration of 'htobe32' [-Werror=nested-externs]
attr->id_len = htobe32(len);
^
blob.c: In function 'blob_put_u16':
blob.c:162:8: error: implicit declaration of function 'htobe16' [-Werror=implicit-function-declaration]
val = htobe16(val);
^
blob.c:162:2: error: nested extern declaration of 'htobe16' [-Werror=nested-externs]
val = htobe16(val);
^
blob.c: In function 'blob_put_u64':
blob.c:172:8: error: implicit declaration of function 'htobe64' [-Werror=implicit-function-declaration]
val = htobe64(val);
^
blob.c:172:2: error: nested extern declaration of 'htobe64' [-Werror=nested-externs]
val = htobe64(val);
^
cc1: all warnings being treated as errors
Makefile:442: recipe for target 'libblobpack_la-blob.lo' failed
make[5]: *** [libblobpack_la-blob.lo] Error 1
make[5]: Leaving directory '/home/builder/openwrt/buildroot/trunk/build_dir/target-mips_34kc_musl-1.1.15/libblobpack-2.16.09-a024c6e3a2512741d94e3a48d72e734de7f73ff3/src'
Makefile:381: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/builder/openwrt/buildroot/trunk/build_dir/target-mips_34kc_musl-1.1.15/libblobpack-2.16.09-a024c6e3a2512741d94e3a48d72e734de7f73ff3'
Makefile:45: recipe for target '/home/builder/openwrt/buildroot/trunk/build_dir/target-mips_34kc_musl-1.1.15/libblobpack-2.16.09-a024c6e3a2512741d94e3a48d72e734de7f73ff3/.built' failed
make[3]: *** [/home/builder/openwrt/buildroot/trunk/build_dir/target-mips_34kc_musl-1.1.15/libblobpack-2.16.09-a024c6e3a2512741d94e3a48d72e734de7f73ff3/.built] Error 2
make[3]: Leaving directory '/home/builder/openwrt/buildroot/trunk/feeds/juci/libblobpack'
package/Makefile:196: recipe for target 'package/feeds/juci/libblobpack/compile' failed
make[2]: *** [package/feeds/juci/libblobpack/compile] Error 2
make[2]: Leaving directory '/home/builder/openwrt/buildroot/trunk'
package/Makefile:193: recipe for target '/home/builder/openwrt/buildroot/trunk/staging_dir/target-mips_34kc_musl-1.1.15/stamp/.package_compile' failed
make[1]: *** [/home/builder/openwrt/buildroot/trunk/staging_dir/target-mips_34kc_musl-1.1.15/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/builder/openwrt/buildroot/trunk'
/home/builder/openwrt/buildroot/trunk/include/toplevel.mk:192: recipe for target 'world' failed
make: *** [world] Error 2
diffconfig file:
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_TLWR740=y
CONFIG_BUSYBOX_CUSTOM=y
# CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6 is not set
CONFIG_BUSYBOX_CONFIG_FEATURE_IP_RARE_PROTOCOLS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_IP_SHORT_FORMS=y
CONFIG_BUSYBOX_CONFIG_FEATURE_IP_TUNNEL=y
CONFIG_BUSYBOX_CONFIG_SHA1SUM=y
CONFIG_LIGHTTPD_SSL=y
CONFIG_OPENSSL_WITH_EC=y
CONFIG_ORANGE_PARALLEL=y
CONFIG_PACKAGE_gre=y
CONFIG_PACKAGE_grev4=y
CONFIG_PACKAGE_juci=y
CONFIG_PACKAGE_juci-ddns=y
CONFIG_PACKAGE_juci-diagnostics=y
CONFIG_PACKAGE_juci-dnsmasq-dhcp=y
CONFIG_PACKAGE_juci-dropbear=y
CONFIG_PACKAGE_juci-ethernet=y
CONFIG_PACKAGE_juci-event=y
CONFIG_PACKAGE_juci-firewall-fw3=y
CONFIG_PACKAGE_juci-igmpinfo=y
CONFIG_PACKAGE_juci-mod-system=y
CONFIG_PACKAGE_juci-network-netifd=y
CONFIG_PACKAGE_juci-openwrt-wireless=y
CONFIG_PACKAGE_juci-realtime-graphs=y
CONFIG_PACKAGE_juci-sysupgrade=y
CONFIG_PACKAGE_juci-theme-openwrt=y
CONFIG_PACKAGE_juci-uhttpd=y
CONFIG_PACKAGE_juci-utils=y
CONFIG_PACKAGE_kmod-gre=y
CONFIG_PACKAGE_kmod-ipip=y
CONFIG_PACKAGE_kmod-iptunnel=y
CONFIG_PACKAGE_kmod-iptunnel4=y
CONFIG_PACKAGE_kmod-nf-conntrack6=y
CONFIG_PACKAGE_kmod-nfnetlink=y
CONFIG_PACKAGE_kmod-nft-core=y
CONFIG_PACKAGE_kmod-nft-nat=y
CONFIG_PACKAGE_kmod-nls-base=y
CONFIG_PACKAGE_kmod-tun=y
CONFIG_PACKAGE_libblobpack=y
CONFIG_PACKAGE_libiwinfo-lua=y
CONFIG_PACKAGE_liblua=y
CONFIG_PACKAGE_libmnl=y
CONFIG_PACKAGE_libncursesw=y
CONFIG_PACKAGE_libnftnl=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_liborange=y
CONFIG_PACKAGE_libpcre=y
CONFIG_PACKAGE_libpthread=y
CONFIG_PACKAGE_librt=y
CONFIG_PACKAGE_libubox-lua=y
CONFIG_PACKAGE_libubus-lua=y
CONFIG_PACKAGE_libuci-lua=y
CONFIG_PACKAGE_libusys=y
CONFIG_PACKAGE_libutype=y
CONFIG_PACKAGE_libwebsockets=y
CONFIG_PACKAGE_lighttpd=y
CONFIG_PACKAGE_lighttpd-mod-cgi=y
CONFIG_PACKAGE_lighttpd-mod-proxy=y
CONFIG_PACKAGE_lighttpd-mod-websocket=y
CONFIG_PACKAGE_lua=y
CONFIG_PACKAGE_luabitop=y
CONFIG_PACKAGE_luaposix33=y
CONFIG_PACKAGE_nftables=y
CONFIG_PACKAGE_orange-rpcd=y
CONFIG_PACKAGE_rpcd=y
CONFIG_PACKAGE_terminfo=y
CONFIG_PACKAGE_uboot-ar71xx-nbg460n_550n_550nh=y
CONFIG_PACKAGE_zlib=y
I use BuildRoot from trunk.
make[3]: Leaving directory '/home/openwrt/openwrt/package/utils/lua'
make[3]: Entering directory '/home/openwrt/openwrt/package/libs/libubox'
mkdir -p /home/openwrt/openwrt/dl
echo "Checking out files from the git repository..."; mkdir -p /home/openwrt/openwrt/tmp/dl && cd /home/openwrt/openwrt/tmp/dl && rm -rf libubox-2015-11-08 && [ ! -d libubox-2015-11-08 ] && git clone http://git.openwrt.org/project/libubox.git libubox-2015-11-08 --recursive && (cd libubox-2015-11-08 && git checkout 10429bccd0dc5d204635e110a7a8fae7b80d16cb && git submodule update) && echo "Packing checkout..." && rm -rf libubox-2015-11-08/.git && tar czf /home/openwrt/openwrt/tmp/dl/libubox-2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb.tar.gz libubox-2015-11-08 && mv /home/openwrt/openwrt/tmp/dl/libubox-2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb.tar.gz /home/openwrt/openwrt/dl/ && rm -rf libubox-2015-11-08;
Checking out files from the git repository...
Cloning into 'libubox-2015-11-08'...
fatal: unable to access 'http://git.openwrt.org/project/libubox.git/': Failed to connect to git.openwrt.org port 80: Connection timed out
Makefile:95: recipe for target '/home/openwrt/openwrt/dl/libubox-2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb.tar.gz' failed
make[3]: *** [/home/openwrt/openwrt/dl/libubox-2015-11-08-10429bccd0dc5d204635e110a7a8fae7b80d16cb.tar.gz] Error 128
make[3]: Leaving directory '/home/openwrt/openwrt/package/libs/libubox'
package/Makefile:191: recipe for target 'package/libs/libubox/compile' failed
make[2]: *** [package/libs/libubox/compile] Error 2
make[2]: Leaving directory '/home/openwrt/openwrt'
package/Makefile:188: recipe for target '/home/openwrt/openwrt/staging_dir/target-x86_64_uClibc-0.9.33.2/stamp/.package_compile' failed
make[1]: *** [/home/openwrt/openwrt/staging_dir/target-x86_64_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/openwrt/openwrt'
/home/openwrt/openwrt/include/toplevel.mk:181: recipe for target 'world' failed
make: *** [world] Error 2
openwrt@ubuntu:~/openwrt$
Something wrong with openwrt git...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.