lixuewei / rt-n56u

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

Ubuntu 12.04.4 x64 fails to compile #1253

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I use the following script to automate the build process and noticed the builds 
started failing on the 16th of April so I assume the conflicting commit was 
around that period. 

http://198.23.248.102/build.sh

Error log; http://pastebin.com/bv7Gfufa

Original issue reported on code.google.com by c_u_late...@hotmail.com on 21 May 2014 at 9:22

GoogleCodeExporter commented 9 years ago
ubuntu is not oficially supported as build system by the author.
neither are home made scripts.
however I do use ubuntu too.

your problem is solved quite easily tho.
cd /opt/rt-n56u/trunk/user/transmission/transmission-2.8x/
autoreconf -fiv

rebuild

Original comment by irher...@gmail.com on 21 May 2014 at 2:30

GoogleCodeExporter commented 9 years ago
http://rt-n56u.soulblader.com/files/current/
(http://rt-n56u.soulblader.com/files/current/build.txt)
As you can see it is built without any fails. Further more, I didn't add any 
fixes to script, which builds it.

Original comment by d...@soulblader.com on 22 May 2014 at 9:44

GoogleCodeExporter commented 9 years ago
What OS are you building on? Going straight from the wiki guide on a clean 
Ubuntu 12.04 format I produce the same error.

Original comment by c_u_late...@hotmail.com on 23 May 2014 at 8:22

GoogleCodeExporter commented 9 years ago
It is ubuntu 12.04.4 x86_64 server.
I can see you copy some saved config fire which overrides original one. I'd 
suggest you to check it from time to time for updates. You are building 
toolchain 3.4, while 3.0 is used in the orig config file.
The script you use, requires further development. There is much to fix... ;)
You can send me smth. like `dpkg --list' from that machine. I'll try to compare 
and check it. Or even better is to collect an explorer file 
(http://www.unix-consultants.com/examples/scripts/linux/linux-explorer/linux-exp
lorer.txt) 

Original comment by d...@soulblader.com on 24 May 2014 at 12:06

GoogleCodeExporter commented 9 years ago
I believe this is due to the version of autoconf used. RMerlin also runs into 
this issue for time to time with his AsusWRT version.

It can be fixed by manually downloading the configure file before building the 
firmware.

        cd /opt/rt-n56u/trunk/user/transmission/transmission-2.8x/
        rm -rf configure
        sudo git checkout configure

Original comment by c_u_late...@hotmail.com on 28 May 2014 at 10:16

GoogleCodeExporter commented 9 years ago
Try to download automake-1.14 
ftp://ftp.gnu.org/gnu/automake/automake-1.14.tar.gz.
Build and install it. But it shouldn't be defaut automake version.
/usr/bin/automake is a symlink to /usr/bin/automake-1.11 - check it is not 
changed.
Also make sure that there is not such symlink: /usr/local/bin/automake -> 
/usr/local/bin/automake-1.14.

BTW, there is no such need to clone the repository from googlecode each time. 
It can be cloned once and then updated locally on request. Read man pages on 
git, don't so lazy ;)
Something like should work:
# git stash
# git pull -f -ff origin master
# git stash clear

Original comment by d...@soulblader.com on 28 May 2014 at 6:09