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

Makefile:120: recipe for target 'sub-make' failed #1

Open
ruCyberPoison opened this issue Jul 14, 2018 · 2 comments
Open

Makefile:120: recipe for target 'sub-make' failed #1

ruCyberPoison opened this issue Jul 14, 2018 · 2 comments

Comments

@ruCyberPoison
Copy link

@firmadyne
@ddcc
Hello Devs,

Today i tried to compile a mipsel kernel with all files the repository give here but when i input the command:

make ARCH=mips CROSS_COMPILE=/opt/cross/mipsel-linux-musl/bin/mipsel-linux-musl- O=./build/mipsel -j8

also tried

make ARCH=mips CROSS_COMPILE=/opt/cross/mipsel-linux-musl/bin/mipsel-linux-musl- O=./build/mipsel -j8 all

I receive every time this error and i can't go to the next step cross-compilation

LD fs/built-in.o Makefile:120: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 root@ns2:/Firmware/kernel-v2.6.32#

LD drivers/built-in.o Makefile:120: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 root@ns2:/Firmware/kernel-v2.6.32#

so it's possible to fixes this without reinstall the OS actually i use Ubuntu 17.04 with this headers
4.13.0-46-generic

Rgds,
David Martins - Screamfox

@ddcc
Copy link
Collaborator

ddcc commented Jul 14, 2018

Is this the same as firmadyne/firmadyne#82 ?

@ruCyberPoison
Copy link
Author

Yes is similar like fimadyne/firmadyne#82

Do you know how can i install gcc 5.3.0 and g++ 5.3.0 i googled but nothing found for my ubuntu version (17.04 -latest version of ubuntu 17.04 )

Rgds

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

2 participants