Cross-compile for mips router

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
Loafter
Posts: 12
Joined: Mon Jan 27, 2014 6:57 am

Cross-compile for mips router

Post by Loafter » Mon Jan 27, 2014 7:16 am

Good day! I would like to ask a question about cross-compilation .
I tried to compile from source under mips 32 bit platform using a cross-compiler . I configured by selecting option 32-bit Linux . I edited the make file replaced on crossing analogues :

mips-unknown-linux-gnu-gcc- ar
INIA -unknown-linux-gnu-ranlib

after compilation error occurs

/home/andrew/Desktop/mips-toolchan/lib/gcc/mips-unknown-linux-gnu/4.8.2/../../../../mips-unknown-linux-gnu/bin/ar: creating tmp / as / vpnbridge.a
/home/andrew/Desktop/mips-toolchan/lib/gcc/mips-unknown-linux-gnu/4.8.2/../../../../mips-unknown-linux-gnu/bin/ar: creating tmp / as / vpncmd.a
mips-unknown-linux-gnu-ranlib tmp / as / vpncmd.a
mips-unknown-linux-gnu-ranlib tmp / as / vpnbridge.a
tmp / hamcorebuilder src / bin / hamcore / src/bin/BuiltHamcoreFiles/unix/hamcore.se2
tmp / hamcorebuilder: 1 : tmp / hamcorebuilder: Syntax error: word unexpected (expecting ")")
I do not understand how to fix it
what used hamcorebuilder? It must be compiled under the build-machine? how to fix the make file in order that he would normally working out ?

Post Reply