[04:07] <matheus> hi, I want to know if is possible to install ubuntu 12.04 server in a ARM® Cortex™-A7 Dual-Core
[04:09] <matheus> I want to install ubuntu 12.04 server in the cubieboard with ARM® Cortex™-A7 Dual-Core. Is that possible?
[15:49] <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/fAErAqSQ
[15:50] <yokotest321> trying to compile inside virtualbox machine
[15:51] <rbasak> Try installing libc6-dev:<arch> if you haven't already. Eg. libc6-dev:armhf
[15:53] <yokotest321> rbasak: does my ,/configure command looks ok in the install script? thanks for your help
[15:55] <rbasak> I'm not sure, sorry. I don't see anything that's obviously wrong.
[15:56] <yokotest321> rbasak: so on my development machine(virtualbox) i should install the libc6-dev correct?
[15:56] <rbasak> You 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] <rbasak> No, you specifically want libc6-dev:armhf
[15:56] <rbasak> https://help.ubuntu.com/community/MultiArch
[15:57] <rbasak> https://wiki.ubuntu.com/MultiarchSpec
[15:57] <rbasak> https://wiki.ubuntu.com/MultiarchSpec#apt_sources
[15:59] <rbasak> You 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.
[16:00] <rbasak> I hope that helps. I may be completely off the mark, but doing that shouldn't cause any harm.
[16:02] <yokotest321> rbasak: how abt this package: sudo apt-get install libc6-dev-armhf-cross
[16:05] <rbasak> yokotest321: quite possibly. There are multiple ways to do it, and I'm not sure which is the current best way
[16:06] <yokotest321> rbasak: but i already have that file from the linaro toolchain which I am using for this crosscompilation.
[16:06] <yokotest321> find . -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.h
[16:07] <yokotest321> rbasak: so somehow its not able to locate that file during this compilation
[16:10] <yokotest321> rbasak: 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 crosscompilation
[18:38] <yokotest321> rbasak: hey, i am still having issues with that compilation error.
[18:40] <yokotest321> rbasak: i tried modifying the ./configure command to ../binutils-2.21.1/configure --target=msp430 --host=${TARGET} --prefix=$INSTALL_PATH --host_configargs=${EXT_INCLUDE}
[18:41] <yokotest321> rbasak: where EXT_INCLUDE='-I${TOOLCHAINDIR}/${TARGET}/libc/usr/include -L${TOOLCHAINDIR}/${TARGET}/libc/usr/lib'