Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to build juciwrt for 4mb flash and transfer the system to USB flash drive #2

Open
ghost opened this issue Jun 24, 2016 · 7 comments

Comments

@ghost
Copy link

ghost commented Jun 24, 2016

Tell me how to build juciwrt. With packages kmod-usb-core kmod-usb-ohci kmod-usb-uhci kmod-usb-storage kmod-fs-ext4 block-mount. And all the necessary packages for juciwrt. The router is available only 4 megabytes to install the firmware, and remains 500-600kb. So I want to put all the minimum, connect a USB flash drive and transfer the system to it, and then put juci. But when building my firmware weighs 5 or 4.8 megabytes (((

@mkschreder
Copy link
Owner

No longer supported. You can use what has already been produced and slim it
down perhaps - or design your own micro gui. Or use basic luci.
On 24 Jun 2016 05:02, "Aleksey" notifications@github.com wrote:

Tell me how to build juciwrt. With packages kmod-usb-core kmod-usb-ohci
kmod-usb-uhci kmod-usb-storage kmod-fs-ext4 block-mount. And all the
necessary packages for juciwrt. The router is available only 4 megabytes to
install the firmware, and remains 500-600kb. So I want to put all the
minimum, connect a USB flash drive and transfer the system to it, and then
put juci. But when building my firmware weighs 5 or 4.8 megabytes (((


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#2, or mute the thread
https://github.com/notifications/unsubscribe/AERqid91-MVatbD_Y42pfcs_vK-mqLfjks5qO0iqgaJpZM4I9bOO
.

@ghost
Copy link
Author

ghost commented Jun 24, 2016

I am can install based os. And after installing os. install juci. Now i build juciwrt and all packages as modules.And I try)

If this option does not work, I can try to put the latest version openwrt. Then transfer the system to a USB flash drive. And then set juci has a of ready package.

Maybe you have a Skype or e-mail, for faster communication with you?))
My e-mail: aleksey-nyaka@yandex.ru, my Skype: hideki-sempaii

@mkschreder
Copy link
Owner

juciwrt is rather outdated. Use latest feed with openwrt CC.
On 24 Jun 2016 10:52, "Aleksey" notifications@github.com wrote:

I am can install based os. And after installing os. install juci. Now i
build juciwrt and all packages as modules.And I try)

If this option does not work, I can try to put the latest version openwrt.
Then transfer the system to a USB flash drive. And then set juci has a of
ready package.

Maybe you have a Skype or e-mail, for faster communication with you?))
My e-mail: aleksey-nyaka@yandex.ru, my Skype: hideki-sempaii


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#2 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AERqiZ3fppPnAO4smzup4BIzjJe6jcnUks5qO5rXgaJpZM4I9bOO
.

@ghost
Copy link
Author

ghost commented Jun 24, 2016

latest feed
bug((
build error openwrt + juci #49
Need fix it -_-

@mkschreder
Copy link
Owner

Can't you just disable mod_extforward in lighttpd? "grep EXTFORWARD
.config" then comment it out.
On 24 Jun 2016 11:08, "Aleksey" notifications@github.com wrote:

latest feed
bug(( build error openwrt + juci #49
mkschreder/juci#49
Need fix it -_-


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#2 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AERqiSjGFauuHFREEeZApyEQyKbRl6abks5qO56KgaJpZM4I9bOO
.

@ghost
Copy link
Author

ghost commented Jun 24, 2016

CONFIG_PACKAGE_lighttpd-mod-extforward is not set

my .config http://pastebin.com/1hgSyx1x

Can't you just disable mod_extforward in lighttpd? "grep EXTFORWARD .config" then comment it out.

@ghost
Copy link
Author

ghost commented Jun 24, 2016

install -d -m0755 /home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips/tmp-openssl-util/etc/ssl
cp -fpR /home/kota/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/openssl-1.0.2h/ipkg-install/etc/ssl/openssl.cnf /home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips/tmp-openssl-util/etc/ssl/
install -d -m0755 /home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips/tmp-openssl-util/etc/ssl/certs
install -d -m0755 /home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips/tmp-openssl-util/etc/ssl/private
chmod 0700 /home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips/tmp-openssl-util/etc/ssl/private
install -d -m0755 /home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips/tmp-openssl-util/usr/bin
install -m0755 /home/kota/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/openssl-1.0.2h/ipkg-install/usr/bin/openssl /home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips/tmp-openssl-util/usr/bin/
SHELL= /home/kota/openwrt/staging_dir/host/bin/flock /home/kota/openwrt/tmp/.root-copy.flock -c 'cp -fpR /home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips/tmp-openssl-util/. /home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips/'
rm -rf /home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips/tmp-openssl-util
touch /home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/root-ramips/stamp/.openssl-util_installed
if [ -f /home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/pkginfo/openssl.default.install.clean ]; then rm -f /home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/pkginfo/openssl.default.install /home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/pkginfo/openssl.default.install.clean; fi; echo "openssl-util" >> /home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/pkginfo/openssl.default.install
make[3]: Leaving directory '/home/kota/openwrt/package/libs/openssl'
make[3]: Entering directory '/home/kota/openwrt/feeds/juci/lighttpd'
CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kec -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float  -I/home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/include -I/home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/include -I/home/kota/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/kota/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/include " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kec -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float  -I/home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/include -I/home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/include -I/home/kota/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/kota/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/include " LDFLAGS="-L/home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/lib -L/home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/lib -L/home/kota/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/usr/lib -L/home/kota/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/lib " make -j1 -C /home/kota/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/lighttpd-23644e8f150baac0aa5199a6820234d8e7898231/. AR="mipsel-openwrt-linux-uclibc-gcc-ar" AS="mipsel-openwrt-linux-uclibc-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kec -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float" LD=mipsel-openwrt-linux-uclibc-ld NM="mipsel-openwrt-linux-uclibc-gcc-nm" CC="mipsel-openwrt-linux-uclibc-gcc" GCC="mipsel-openwrt-linux-uclibc-gcc" CXX="mipsel-openwrt-linux-uclibc-g++" RANLIB="mipsel-openwrt-linux-uclibc-gcc-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 CROSS="mipsel-openwrt-linux-uclibc-" ARCH="mipsel" ;
make[4]: Entering directory '/home/kota/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/lighttpd-23644e8f150baac0aa5199a6820234d8e7898231'
make  all-recursive
make[5]: Entering directory '/home/kota/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/lighttpd-23644e8f150baac0aa5199a6820234d8e7898231'
Making all in src
make[6]: Entering directory '/home/kota/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/lighttpd-23644e8f150baac0aa5199a6820234d8e7898231/src'
make  all-am
make[7]: Entering directory '/home/kota/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/lighttpd-23644e8f150baac0aa5199a6820234d8e7898231/src'
/bin/bash ../libtool  --tag=CC   --mode=compile mipsel-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -DHAVE_VERSION_H -DLIBRARY_DIR="\"/usr/lib/lighttpd\"" -DSBIN_DIR="\"/usr/sbin\"" -I. -I..   -I/home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/include -I/home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/include -I/home/kota/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/kota/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/include  -D_REENTRANT -D__EXTENSIONS__ -I/home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/include -DOPENSSL_NO_KRB5  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES  -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kec -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float  -Wall -W -Wshadow -pedantic -std=gnu99 -MT mod_extforward.lo -MD -MP -MF .deps/mod_extforward.Tpo -c -o mod_extforward.lo mod_extforward.c
OpenWrt-libtool: compile:  mipsel-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -DHAVE_VERSION_H -DLIBRARY_DIR=\"/usr/lib/lighttpd\" -DSBIN_DIR=\"/usr/sbin\" -I. -I.. -I/home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/include -I/home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/include -I/home/kota/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/usr/include -I/home/kota/openwrt/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/include -D_REENTRANT -D__EXTENSIONS__ -I/home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/usr/include -DOPENSSL_NO_KRB5 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kec -mdsp -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -Wall -W -Wshadow -pedantic -std=gnu99 -MT mod_extforward.lo -MD -MP -MF .deps/mod_extforward.Tpo -c mod_extforward.c  -fPIC -DPIC -o .libs/mod_extforward.o
In file included from base.h:23:0,
                 from mod_extforward.c:1:
mod_extforward.c: In function 'mod_extforward_uri_handler':
mod_extforward.c:442:10: error: 'addrs_left' undeclared (first use in this function)
   UNUSED(addrs_left);
          ^
buffer.h:131:28: note: in definition of macro 'UNUSED'
 #define UNUSED(x) ( (void)(x) )
                            ^
mod_extforward.c:442:10: note: each undeclared identifier is reported only once for each function it appears in
   UNUSED(addrs_left);
          ^
buffer.h:131:28: note: in definition of macro 'UNUSED'
 #define UNUSED(x) ( (void)(x) )
                            ^
Makefile:1348: recipe for target 'mod_extforward.lo' failed
make[7]: *** [mod_extforward.lo] Error 1
make[7]: Leaving directory '/home/kota/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/lighttpd-23644e8f150baac0aa5199a6820234d8e7898231/src'
Makefile:945: recipe for target 'all' failed
make[6]: *** [all] Error 2
make[6]: Leaving directory '/home/kota/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/lighttpd-23644e8f150baac0aa5199a6820234d8e7898231/src'
Makefile:435: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/home/kota/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/lighttpd-23644e8f150baac0aa5199a6820234d8e7898231'
Makefile:365: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/kota/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/lighttpd-23644e8f150baac0aa5199a6820234d8e7898231'
Makefile:316: recipe for target '/home/kota/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/lighttpd-23644e8f150baac0aa5199a6820234d8e7898231/.built' failed
make[3]: *** [/home/kota/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/lighttpd-23644e8f150baac0aa5199a6820234d8e7898231/.built] Error 2
make[3]: Leaving directory '/home/kota/openwrt/feeds/juci/lighttpd'
package/Makefile:191: recipe for target 'package/feeds/juci/lighttpd/compile' failed
make[2]: *** [package/feeds/juci/lighttpd/compile] Error 2
make[2]: Leaving directory '/home/kota/openwrt'
package/Makefile:188: recipe for target '/home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile' failed
make[1]: *** [/home/kota/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/kota/openwrt'
/home/kota/openwrt/include/toplevel.mk:181: ошибка выполнения рецепта для цели «world»
make: *** [world] Ошибка 2
kota@kota:~/openwrt$ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant