Compiling openwrt - error

Kampi
 
Posts: 14
Joined: Tue Nov 25, 2014 6:50 am

Compiling openwrt - error

Tue Nov 25, 2014 7:23 am

Hello,

I want compile a new openwrt, using this Guide:

http://vonger.cn/?p=1585

But I got the error

make -r world: build failed. Please re-run make with V=s to see what's going on
make: *** [world] Fehler 1

Has anybody an idea what is wrong?

darksoul
 
Posts: 45
Joined: Fri Nov 14, 2014 2:29 am

Re: Compiling openwrt - error

Tue Nov 25, 2014 2:05 pm

Try to build like this: make V=s
You will get log where you have errors.

Kampi
 
Posts: 14
Joined: Tue Nov 25, 2014 6:50 am

Re: Compiling openwrt - error

Tue Nov 25, 2014 2:16 pm

Hello,

found the misstake. I have compiled it with

make -j 4

again and now I got no errors.

Ton
 
Posts: 22
Joined: Sun Nov 16, 2014 4:35 pm

Re: Compiling openwrt - error

Tue Nov 25, 2014 7:09 pm

Following that tutorial I had two problems:

g++ is needed, but not installed. Do you need to do
sudo apt-get install build-essentials
to get that?

Secondly, I get an error:
/reset.c:90:3: error: implicit declaration of function 'mdelay'

I think the file is in:
/home/ton/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_rt305x/linux-3.14.18/arch/mips/ralink

I can add #include <linux/delay.h> to reset.c, but from the tutorial I expect the thing to compile without errors?

charliex
 
Posts: 42
Joined: Sun Nov 16, 2014 5:34 pm
Location: los angeles

Re: Compiling openwrt - error

Wed Nov 26, 2014 7:34 pm

it should compile without errors, i just pulled the main git tree and compiled it.

-j 4 shouldn't fix errors, all that does is run parallel steps in the makefile where it can.

Peter H
 
Posts: 58
Joined: Wed Nov 12, 2014 10:24 pm

Re: Compiling openwrt - error

Wed Nov 26, 2014 10:27 pm

It took me a couple of days to get OpenWRT to build, just because one of the GIT repos it needed was inaccessible. You don't say what the original error was, but if it was a network access problem, it might just fix itself after a few hours or days.

Ton
 
Posts: 22
Joined: Sun Nov 16, 2014 4:35 pm

Re: Compiling openwrt - error

Thu Nov 27, 2014 5:28 pm

Yes, mine is compiling ok now. probably a hickup somewhere

Return to VoCore & VoCore+Dock

Who is online

Users browsing this forum: No registered users and 6 guests