18.06.2 Fails to build

GinDiamond
 
Posts: 48
Joined: Thu Mar 31, 2016 11:02 pm

18.06.2 Fails to build

Thu Feb 14, 2019 9:38 pm

I've tried the new tutorial to build openwrt for the vocore2 ultimate (I want to add ext3 filesystem support).

At first, I thought if I just follow the tutorial as is, I could then change things later with less trouble.
However, I followed the tutorial but get this error upon make:

Code: Select all
make[4]: Entering directory '/root/Desktop/openwrt/build_dir/target-mipsel_24kc_musl/hostapd-full-internal/hostapd-2018-05-21-62566bc2/hostapd'
../src/ap/sta_info.o: In function `ap_sta_add':
sta_info.c:(.text.ap_sta_add+0x12e): undefined reference to `sta_track_claim_taxonomy_info'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:1298: hostapd] Error 1


What am I missing again?

ArkEngr
 
Posts: 29
Joined: Tue Oct 20, 2015 1:58 pm

Re: 18.06.2 Fails to build

Thu Feb 14, 2019 9:53 pm

I built but it took me 2 trys to follow the directions exactly.

GinDiamond
 
Posts: 48
Joined: Thu Mar 31, 2016 11:02 pm

Re: 18.06.2 Fails to build

Fri Feb 15, 2019 2:40 pm

I tried two more times and did a clean clone and followed the directions exactly, but I still get the sta error.

ArkEngr
 
Posts: 29
Joined: Tue Oct 20, 2015 1:58 pm

Re: 18.06.2 Fails to build

Fri Feb 15, 2019 6:40 pm

Look in your private messages for a link to a copy of my build tree

GinDiamond
 
Posts: 48
Joined: Thu Mar 31, 2016 11:02 pm

Re: 18.06.2 Fails to build

Thu Feb 28, 2019 10:50 pm

I found the solution for me.

It turns out if you build Openwrt in steps, it works fine. Right after you do the git checkout of the 18.06.2 version, do make menuconfig and set it up for a basic vocore2 setup (targets). Build after that. When it finishes, you can then do the patches and it works fine.

ICore
 
Posts: 17
Joined: Wed Jan 11, 2017 2:42 am

Re: 18.06.2 Fails to build

Sun Mar 03, 2019 3:55 am

Is this the tutorial you followed ?
https://github.com/Vonger/vocore2

Can i still compile openwrt for other routers like d-link using the same openwrt source?

Vonger
 
Posts: 720
Joined: Sun Oct 19, 2014 6:00 am

Re: 18.06.2 Fails to build

Sun Mar 03, 2019 11:50 am

ICore wrote:Is this the tutorial you followed ?
https://github.com/Vonger/vocore2

Can i still compile openwrt for other routers like d-link using the same openwrt source?


maybe need to modify some dts

Valeron70
 
Posts: 11
Joined: Sat Dec 23, 2017 3:36 pm

Re: 18.06.2 Fails to build

Mon Mar 04, 2019 7:07 pm

I also build 18.06.2 for Vocore2.
By Vonger's tutorial I build it ok on Ubuntu 18.04, but I wanted to add sftp server and vfat support. And I get this error upon make:
Code: Select all
Package base-files is missing dependencies for the following libraries:
libc.so.0
libm.so.0
libstdc++.so.6
Makefile:202: recipe for target '/home/pve/openwrt/bin/targets/ramips/mt76x8/packages/base-files_194.2-r7676-cddd7b4c77_mipsel_24kc.ipk' failed
make[3]: *** [/home/pve/openwrt/bin/targets/ramips/mt76x8/packages/base-files_194.2-r7676-cddd7b4c77_mipsel_24kc.ipk] Error 1
make[3]: Leaving directory '/home/pve/openwrt/package/base-files'
time: package/base-files/compile#0.35#0.07#0.50
package/Makefile:107: recipe for target 'package/base-files/compile' failed
make[2]: *** [package/base-files/compile] Error 2
make[2]: Leaving directory '/home/pve/openwrt'
package/Makefile:103: recipe for target '/home/pve/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed
make[1]: *** [/home/pve/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/pve/openwrt'
/home/pve/openwrt/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2

What to do?

Vonger
 
Posts: 720
Joined: Sun Oct 19, 2014 6:00 am

Re: 18.06.2 Fails to build

Tue Mar 05, 2019 1:09 am

looks like some package is missing, maybe you need also select libstdc++ in Base System(menuconfig first level)

Valeron70
 
Posts: 11
Joined: Sat Dec 23, 2017 3:36 pm

Re: 18.06.2 Fails to build

Tue Mar 05, 2019 3:42 am

libc, libstdcpp has been selected, but no effect
https://yadi.sk/i/E-a-41m4YfR22A

Return to VoCore2/Lite/Ultimate

Who is online

Users browsing this forum: No registered users and 2 guests