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

FS#287 - Missing crosscompiler in imagebuilder? (ramips - A5-V11 platform) #5384

Closed
openwrt-bot opened this issue Nov 16, 2016 · 2 comments
Closed
Labels

Comments

@openwrt-bot
Copy link

openwrt-bot commented Nov 16, 2016

christoph:

Hi,

I tried to build an image for the A5-V11 platform (ramips) with todays' trunk. I downloaded the imagebuilder lede-imagebuilder-ramips-rt305x.Linux-x86_64.tar.xz, extracted it, and run make image PLATFORM="A5-V11"

Then I received this error:

... make[4]: Entering directory '/home/ck/lede/lede-imagebuilder-ramips-rt305x.Linux-x86_64/target/linux/ramips/image' cp /home/ck/lede/lede-imagebuilder-ramips-rt305x.Linux-x86_64/build_dir/target-mipsel_24kc_musl-1.1.15/linux-ramips_rt305x/vmlinux-initramfs /home/ck/lede/lede-imagebuilder-ramips-rt305x.Linux-x86_64/build_dir/target-mipsel_24kc_musl-1.1.15/linux-ramips_rt305x/vmlinux-3g300m-initramfs mipsel-openwrt-linux-musl-cpp -nostdinc -x assembler-with-cpp -I/home/ck/lede/lede-imagebuilder-ramips-rt305x.Linux-x86_64/build_dir/target-mipsel_24kc_musl-1.1.15/linux-ramips_rt305x/linux-4.4.30/arch/mips/boot/dts -I/home/ck/lede/lede-imagebuilder-ramips-rt305x.Linux-x86_64/build_dir/target-mipsel_24kc_musl-1.1.15/linux-ramips_rt305x/linux-4.4.30/arch/mips/boot/dts/include -undef -D__DTS__ -o /home/ck/lede/lede-imagebuilder-ramips-rt305x.Linux-x86_64/build_dir/target-mipsel_24kc_musl-1.1.15/linux-ramips_rt305x/3G300M.dtb.tmp ../dts/3G300M.dts bash: mipsel-openwrt-linux-musl-cpp: command not found make[4]: *** [Makefile:298: legacy-image-3G300M] Error 127 make[4]: Leaving directory '/home/ck/lede/lede-imagebuilder-ramips-rt305x.Linux-x86_64/target/linux/ramips/image' make[3]: *** [Makefile:297: legacy-images-make] Error 2 make[3]: Leaving directory '/home/ck/lede/lede-imagebuilder-ramips-rt305x.Linux-x86_64/target/linux/ramips/image' make[2]: *** [Makefile:171: build_image] Error 2 make[2]: Leaving directory '/home/ck/lede/lede-imagebuilder-ramips-rt305x.Linux-x86_64' make[1]: *** [Makefile:118: _call_image] Error 2 make[1]: Leaving directory '/home/ck/lede/lede-imagebuilder-ramips-rt305x.Linux-x86_64' make: *** [Makefile:196: image] Fehler 2

The error says that mipsel-openwrt-linux-musl-cpp is not found (I guess, it's a cross-compiler?). Is this a bug or did I something wrong?

Bests,
Christoph

(Background: I am trying to use a LEDE image for this project: https://github.com/probonopd/minikrebs)

@openwrt-bot
Copy link
Author

openwrt-bot commented Jan 13, 2017

mkresin:

Sorry, I did not received a notification about your reopen request. Your imagebuilder commandline is wrong and therefore the imagebuild builds all images. And some of the images still have this bug. But the image for the A5-V11 is fine.

Please use:

make image PROFILE="a5-v11"

And check the syntax via

make help

@openwrt-bot
Copy link
Author

openwrt-bot commented Jan 13, 2017

christoph:

Thank you for the hint- everything is fine now. However, the minikrebs webradio image becomes to large for the A5-V11 device :-/

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

No branches or pull requests

1 participant