On Feb 17, 6:27 am, adam jvok <ajv...@gmail.com> wrote:
> A few weeks ago I posted about cross-compiling usinghttp://freshmeat.net/projects/crosstool-ng/<http://www.google.com/url?sa=D&q=http://freshmeat.net/projects/crosst...>
> Douglas replied, pointing me towardhttp://cnusers.org<http://www.google.com/url?sa=D&q=http://cnusers.org&usg=AFQjCNFNMQV-E...>
> I've just tried this, and believe me, cnusers will make your life a lot
> easier (at least on this platform) than crosstool-ng.
> Thanks for the pointer, Douglas.
>
> So next, trying to do something useful I attempted to cross-compile MySQL.
> This is now working.
> I'm posting my steps below in the hope that:
> (i) someone can advise how to do this better;
> (ii) it may, possibly, help someone else.
>
> Here we go:
>
> 1. Setup the cross-compiler tool chain:
> ============================
> Register withhttp://cnusers.org<http://www.google.com/url?sa=D&q=http://cnusers.org&usg=AFQjCNFNMQV-E...>.
> mkdir $HOME/cnusers
> cd $HOME/cnusers
> download CNS2100-LSDK-6.8.2.zip to $HOME/cnusers
> unzip CNS2100-LSDK-6.8.2.zip
> cd CNS2100-LSDK-6.8.2
> bunzip2 CNS2100-LSDK-6.8.2.tar.bz2
> tar xvf CNS2100-LSDK-6.8.2.tar
>
> 2. Build MySQL.
> ============
> cd $HOME/cnusers
> Download the source fromhttp://dev.mysql.com/downloads/mirror.php?id=382175#mirrorse.g.
> wgethttp://mysql.ntu.edu.tw/Downloads/MySQL-5.1/mysql-5.1.43.tar.gz
But when i do:
make
Have this error:
/home/operador/cnusers/CNS2100-LSDK-6.8.2/CNS2100-LSDK-6.8.2/tools/arm-
uclibc-3.4.6/bin/../lib/gcc/arm-linux-uclibc/3.4.6/../../../../arm-
linux-uclibc/bin/ld: basedll_appbase.o: Relocations in generic ELF
(EM: 3)
/home/operador/cnusers/CNS2100-LSDK-6.8.2/CNS2100-LSDK-6.8.2/tools/arm-
uclibc-3.4.6/bin/../lib/gcc/arm-linux-uclibc/3.4.6/../../../../arm-
linux-uclibc/bin/ld: basedll_appbase.o: Relocations in generic ELF
(EM: 3)
/home/operador/cnusers/CNS2100-LSDK-6.8.2/CNS2100-LSDK-6.8.2/tools/arm-
uclibc-3.4.6/bin/../lib/gcc/arm-linux-uclibc/3.4.6/../../../../arm-
linux-uclibc/bin/ld: basedll_appbase.o: Relocations in generic ELF
(EM: 3)
/home/operador/cnusers/CNS2100-LSDK-6.8.2/CNS2100-LSDK-6.8.2/tools/arm-
uclibc-3.4.6/bin/../lib/gcc/arm-linux-uclibc/3.4.6/../../../../arm-
linux-uclibc/bin/ld: basedll_appbase.o: Relocations in generic ELF
(EM: 3)
/home/operador/cnusers/CNS2100-LSDK-6.8.2/CNS2100-LSDK-6.8.2/tools/arm-
uclibc-3.4.6/bin/../lib/gcc/arm-linux-uclibc/3.4.6/../../../../arm-
linux-uclibc/bin/ld: basedll_appbase.o: Relocations in generic ELF
(EM: 3)
basedll_appbase.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [/home/operador/cnusers/wxwidgets/wxWidgets-2.8.10/lib/
libwx_baseu-2.8.so.0.6.0] Error 1
Everyone have a solutión?
> --
> You received this message because you are subscribed to the Google
> Groups "DealExtreme NAS" group.
> To post to this group, send email to dealextr...@googlegroups.com
> To unsubscribe from this group, send email to
> dealextreme-na...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/dealextreme-nas-?hl=en
--
jh
And have this error:
hecking whether we are using the GNU C compiler... yes
checking whether arm-linux-uclibc-gcc accepts -g... yes
checking for arm-linux-uclibc-gcc option to accept ANSI C... none
needed
checking if the C compiler requires -ext o...
checking whether we are using the Metrowerks C compiler... no
checking whether we are using the IBM xlC C compiler... no
checking build system type... i686-pc-linux-gnu
checking host system type... Invalid configuration `arm-linux-uclibc':
system `uclibc' not recognized
configure: error: /bin/bash conftools/config.sub arm-linux-uclibc
failed
configure: error: /bin/bash './configure' failed for src/expat
> ...
>
> read more »