Git Product home page Git Product logo

juci-openwrt-feed's People

Contributors

klukonin avatar mkschreder avatar p4u avatar vincentriou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

juci-openwrt-feed's Issues

You do not have an RPC connection to the router!

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

With what version?

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

Compiling with LEDE :Package liborange is missing dependencies

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

Feed

What is this?

Is this still up to date?

What is it supposed to be?

can't have juci run up while following the instructions

Hi,

This is my steps:

  1. Install all prerequisites including run "./ubuntu-bootstrap.sh" on a Ubuntu 14.04 LTS.
  2. git clone juci-openwrt-feed into this PC.
  3. Run ./build-uml-image.sh
  4. Setup tap0 as said in the readme in https://github.com/mkschreder/juci
  5. run "./openwrt-uml-vmlinux ubd0=openwrt-uml-ext4.img eth0=tuntap,tap0" in the output bin/uml
  6. change the IP setting after uml openwrt starts up, also as juci readme said.
  7. Using Firefox to access 192.168.2.100, the browser always show an endless rolling wheel with blank page.
  8. Check and find openwrt using original lighttpd, so ln -sf ../../../feeds/juci/libwebsockets libwebsockets && ln -sf ../../../feeds/juci/lighttpd lighttpd.
  9. go back to make openwrt manually with make V=99. When it is done, run it as step 5.
  10. Now it displays this page:

image

Click OK then another error comes up:

image

orangerpcd build failed

/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 usemkstemp'
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...

Conflict with luci-base

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.

juci-full-openwrt depends upon Jucid

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 ?

jucid doesn't compile

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.

uncaught exception: TypeError: $rpc.juci.network is undefined

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

luaposix33

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

Hardware

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?

[v1.15.12]:Login Error

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!

Conflict with trunk libwebsockets

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.

luaposix33 fails to compile because of missing term.h

'/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.

Modified uhttpd

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

Error compiling libblobpack

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.

build error

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...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.