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