/srv/irclogs.ubuntu.com/2013/07/17/#ubuntu-arm.txt

=== das_plague is now known as prpplague
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
matheushi, I want to know if is possible to install ubuntu 12.04 server in a ARM® Cortex™-A7 Dual-Core04:07
matheusI want to install ubuntu 12.04 server in the cubieboard with ARM® Cortex™-A7 Dual-Core. Is that possible?04:09
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== W1N9Zr1418 is now known as W1N9Zr0
=== ynezz_ is now known as ynezz
=== doko_ is now known as doko
=== chihchun is now known as chihchun_afk
=== ahs3` is now known as ahs3
=== prpplague is now known as das_plague
yokotest321 i need some help crosscompiling a library for the arm platform. I am getting errors while compiling the library I get following error during crosscompile:syslex.l:31:21: fatal error: sysinfo.h: No such file or directory compilation terminated. make[2]: *** [syslex.o] Error 1 following is the config.log file : http://pastebin.com/eezqmJ9d and following is the install script : http://pastebin.com/fAErAqSQ15:49
yokotest321trying to compile inside virtualbox machine15:50
rbasakTry installing libc6-dev:<arch> if you haven't already. Eg. libc6-dev:armhf15:51
yokotest321rbasak: does my ,/configure command looks ok in the install script? thanks for your help15:53
rbasakI'm not sure, sorry. I don't see anything that's obviously wrong.15:55
yokotest321rbasak: so on my development machine(virtualbox) i should install the libc6-dev correct?15:56
rbasakYou probably want to use /usr/include/arm-linux-gnueabihf/sys/sysinfo.h though, which is architecture specific. You should be able to install it inside your VM even though your machine isn't armhf thanks to multiarch.15:56
rbasakNo, you specifically want libc6-dev:armhf15:56
rbasakhttps://help.ubuntu.com/community/MultiArch15:56
rbasakhttps://wiki.ubuntu.com/MultiarchSpec15:57
rbasakhttps://wiki.ubuntu.com/MultiarchSpec#apt_sources15:57
rbasakYou want a line like "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports precise main universe" in /etc/apt/sources.list. Then you should be able to "apt-get update && apt-get install libc6-dev:armhf". Replace precise with whichever release you're using.15:59
rbasakI hope that helps. I may be completely off the mark, but doing that shouldn't cause any harm.16:00
yokotest321rbasak: how abt this package: sudo apt-get install libc6-dev-armhf-cross16:02
rbasakyokotest321: quite possibly. There are multiple ways to do it, and I'm not sure which is the current best way16:05
yokotest321rbasak: but i already have that file from the linaro toolchain which I am using for this crosscompilation.16:06
yokotest321find . -name 'sysinfo*' ./arm-linux-gnueabihf/libc/usr/include/arm-linux-gnueabi/sys/sysinfo.h ./arm-linux-gnueabihf/libc/usr/include/arm-linux-gnueabihf/sys/sysinfo.h16:06
yokotest321rbasak: so somehow its not able to locate that file during this compilation16:07
yokotest321rbasak: if you don't mind could crosscheck once again my install script? how can I specify this libc path for this armhf toolchain to be used during this crosscompilation16:10
=== chuck_ is now known as zul
=== wendar_ is now known as wendar
yokotest321rbasak: hey, i am still having issues with that compilation error.18:38
yokotest321rbasak: i tried modifying the ./configure command to ../binutils-2.21.1/configure --target=msp430 --host=${TARGET} --prefix=$INSTALL_PATH --host_configargs=${EXT_INCLUDE}18:40
yokotest321rbasak: where EXT_INCLUDE='-I${TOOLCHAINDIR}/${TARGET}/libc/usr/include -L${TOOLCHAINDIR}/${TARGET}/libc/usr/lib'18:41
=== das_plague is now known as prpplague

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!