javitu / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 2 forks source link

Compilation problem if openvpn is enabled (missing ACLOCAL), success if disabled #1291

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.compile rt-n56u_3.0.3.8-83.trx
2.
3.

What is the expected output? What do you see instead?
no error

What version of the product are you using? On what operating system?
un-release version 3.0.3.8-83.trx

Please describe the problem as detailed as it's possible.
compiler is looking for ACLOCAL folder, i think. Disabling, manage to get it 
compile successfully with the ff info.
#===========================================
# Pack final image and write headers
# For No padded, need write kernel size in image header to correct mount 
partition in mtd drivers address
img file: /opt/rt-n56u/trunk/images/RT-N56U_3.0.3.8-083.trx
Product ID:   RT-N56U
Created:      Sat Jul 19 22:39:54 2014
Image Type:   MIPS Linux Kernel Image (lzma compressed)
Data Size:    7077471 Bytes = 6911.59 kB = 6.75 MB
Load Address: 0x80000000
Entry Point:  0x802BF750
Kernel Size:  0x0012C560
Kernel Ver.:  3.0
FS Ver.:      3.8

Original issue reported on code.google.com by leandro.ong@gmail.com on 19 Jul 2014 at 2:58

GoogleCodeExporter commented 9 years ago
I compile using virtualbox ubuntu 12.04

Original comment by leandro.ong@gmail.com on 19 Jul 2014 at 3:18

GoogleCodeExporter commented 9 years ago
this is what I disabled
### Include OpenVPN. IPv6 required. openssl ~1.2MB, openvpn ~0.4MB
#CONFIG_FIRMWARE_INCLUDE_OPENVPN=y

Original comment by leandro.ong@gmail.com on 19 Jul 2014 at 3:38

GoogleCodeExporter commented 9 years ago
Download automake from GNU project.
# wget -O- http://ftp.gnu.org/gnu/automake/automake-1.14.tar.gz | tar zx

Install it.
# ./configure && make install

Remove links to aclocal and automake 1-14.
rm -f /usr/local/bin/{aclocal,automake}

Original comment by d...@soulblader.com on 20 Jul 2014 at 9:21

GoogleCodeExporter commented 9 years ago
Issue 1287 has been merged into this issue.

Original comment by d...@soulblader.com on 20 Jul 2014 at 9:23

GoogleCodeExporter commented 9 years ago
thanks, will recompile. Is it okay for me to switch to toolchain that use 
kernet 3.4?

Original comment by leandro.ong@gmail.com on 20 Jul 2014 at 9:32

GoogleCodeExporter commented 9 years ago
Which one should I delete from the ff:
location: /usr/local/bin
1. aclocal
2. aclocal-1.14
3. automake
4. automake-1.14

Original comment by leandro.ong@gmail.com on 20 Jul 2014 at 9:46

GoogleCodeExporter commented 9 years ago
I think I got, will remove #1 (aclocal) and #3 (automake).

Original comment by leandro.ong@gmail.com on 20 Jul 2014 at 9:47

GoogleCodeExporter commented 9 years ago
No more compilation error with openvpn. Here is my compilation result.
#===========================================
# Pack final image and write headers
# For No padded, need write kernel size in image header to correct mount 
partition in mtd drivers address
img file: /opt/rt-n56u/trunk/images/RT-N56U_3.4.3.8-083.trx
Product ID:   RT-N56U
Created:      Sun Jul 20 21:22:49 2014
Image Type:   MIPS Linux Kernel Image (lzma compressed)
Data Size:    7281592 Bytes = 7110.93 kB = 6.94 MB
Load Address: 0x80000000
Entry Point:  0x802D2C20
Kernel Size:  0x001397C0
Kernel Ver.:  3.4
FS Ver.:      3.8

Original comment by leandro.ong@gmail.com on 20 Jul 2014 at 1:36

GoogleCodeExporter commented 9 years ago
You may close this issue. Thanks again

Original comment by leandro.ong@gmail.com on 20 Jul 2014 at 1:42

GoogleCodeExporter commented 9 years ago
You are welcome!
Btw, I've just finished new HowTo
https://code.google.com/p/rt-n56u/wiki/HowToMakeFirmwareEasyWay

Original comment by d...@soulblader.com on 20 Jul 2014 at 4:25