Questions about cross compilation - creating executable code for a platform different than the one on which compiler is running.

learn more… | top users | synonyms

0
votes
0answers
24 views

How to reset /usr directory?

I am using Ubuntu 14.04 When I am cross compiling, the compiler goes to x86 folder in /usr/include instead of arm folder. There is no arm folder in /usr/include, I don't know why, so it shows some ...
0
votes
0answers
56 views

How to cross compile 'systemd' for arm platform on ubuntu 16.04?

I tried to use systemd in qemu for arm platform. I need to cross compile the systemd for that, I don't know how to cross compile systemd. If anyone knows post the answer and what are all the steps ...
0
votes
1answer
17 views

How can I learn all the options I can pass to DEB_BUILD_OPTIONS?

I'm compiling debian packages with xdeb, and I'm trying to understand how this variable DEB_BUILD_OPTIONS works and I might be able to specify 32-bit over 64-bit for a userspace app. The best way I'...
-2
votes
1answer
32 views

fatal error: lz4.h: No such file or directory #include “lz4.h” [duplicate]

Compiling (C++): prod/coretech/hub/compression/lz4_compressor.os prod/coretech/hub/compression/lz4_compressor.cc:31:17: fatal error: lz4.h: No such file or directory #include "lz4.h" ...
0
votes
0answers
18 views

SSH bash 24: command not found

I am trying to setup cross compiling with Ubuntu vm and beaglebone black debian, after writing C++ script and sftp the file to the BBB I tried to SSH to the BBB. The error I get when i put the correct ...
0
votes
0answers
53 views

Android Kernel problem

When I run cross-compile for Android using the command ARCH=arm CROSS_COMPILE=~/media/sf_android/linaro-arm-eabi-4.9-master/bin/arm-eabi- make msm8226-sec_defconfig, I get this error: sound/soc/...
0
votes
0answers
68 views

Cross compiling IoTivity on Yocto

I wanted IoTivity applications for yocto i686(x32) on Ubuntu 14.04 x86_64, so i downloaded the yocto toolchain for host i586(x32) "poky-eglibc-i686-core-image-sato-i586-toolchain-1.6.sh" and also ...
0
votes
0answers
111 views

Problem with Cross-Compiling (C compiler doesn't work) [SOLVED]

I'm trying to compile the latest version of tcpdump (for monitoring network traffic) by using Cross-Compiling to create an Android binary. I'm following this steps: http://www.androidtcpdump.com/...
1
vote
0answers
46 views

Is libffi.pc broken on Ubuntu?

I'm trying to cross-compile wayland (from freedesktop.org) for a Trusty Tahr armhf environment. To set up the cross-compile I have an arm pkg-config script that properly sets PKG_CONFIG_LIBDIR and ...
0
votes
0answers
20 views

What's involved in making a x86 program run on android chroot ubuntu

I'd like to get libfreenect running on embedded 12.04 ubuntu, in an android chroot jail. I know enough about debian to navigate the file system and identify devices and compile other people's code and ...
0
votes
0answers
32 views

add executable to path not working

I am aware that: 1- defining an executable to PATH is done in .bashrc file or .profile or in etc/profile or etc/environment. 2- to get effect, I have to source the file (source ) or restart the ...
-1
votes
1answer
651 views

How do I create a Windows executable with PyInstaller on Ubuntu?

I created a game using pygame, and I wish to export it to a .exe file. I've used pyinstaller for this, as it is available for Ubuntu. When I run the --onefile game, it works perfectly fine (on my ...
0
votes
0answers
29 views

Digi Realport driver for iMX6

I am attempting to install the Digi Realport drivers on an Adlink SMARC SoM running Ubuntu 12.04 (3.0.35). First, I know that Digi does not specifically support arm architectures, but I want to give ...
0
votes
0answers
37 views

Which file in gcc generates object file after compiling?

I want to print something at the compile time but only if successful compilation occurs. As .o file is created only if there are no errors, where can I place the echo statement? I've already built ...
0
votes
0answers
18 views

Compile SLADE on Ubuntu

I want to compile slade on ubuntu 14.04 but when i downloaded the source code and opened the .sln file via MonoDevelop and clicked the Build button it said build succesful but no files found... Does ...
0
votes
1answer
73 views

Linking IDE with right compiler for ARM cross compiling

I have installed Eclipse as IDE and gcc-4.7-arm-linux-gnueabihf: sudo apt-get install gcc-4.7-arm-linux-gnueabihf to be able to develop code for ARM and cross compile it on my Ubuntu. But I don't ...
2
votes
1answer
144 views

GCC --disable-nls, --enable-languages, --without-headers Unrecognized

I'm trying to make a bash script that will install a gcc cross-compiler for i686-elf on a Debian computer, but I keep getting the same error: configure: creating ./config.status config.status: ...
1
vote
0answers
43 views

Building Ubuntu for ARM TI AM437x

The following wiki shows how to compile the Ubuntu kernel for arm : https://wiki.ubuntu.com/KernelTeam/ARMKernelCrossCompile. Here, ti-omap4 configuration has been used. I would like to build the ...
0
votes
0answers
29 views

crosscompile ubuntu-win7

Ubuntu 14.04, mingw 32bit and 64bit are installed. To crosscompile for Windows 7 64bit I issue ./configure --host=x86_64-w64-mingw32 make It doesn't work, it complains about missing header files. ...
3
votes
0answers
61 views

Compile or Cross-compile open source driver for Aquaris E4.5 Ubuntu Phone

I am trying to connect an OTG USB-Ethernet adapter on the Aquaris E4.5 running kernel 3.4.67. The adapter is Cable Matters AX88179 which has open source drivers available for linux. The installation ...
0
votes
1answer
198 views

14.04.01 32-bit: Missing g++ 64-bit include files when cross-compiling

So, I've got 32-bit Xubuntu 14.04.1 installed. We have some interface code where we intend to release SOs for the various platforms we support, and Windows DLLs. (Yes I know, binary release bad, but ...
0
votes
0answers
101 views

How to cross compile ARM lib for use in xCode on Mac OS X?

How to cross compile a static lib in C for armv7 architecture to be used in iOS app projects developed and linked in xCode on Mac OS X machine?
0
votes
0answers
21 views

Mingw32 with gcc 4.8+

I'm working on crossbuildable project that needs mingw32 in order to be compiled for win32 under Linux. I used default mingw32 from ubuntu repositories and that's was OK. But now I need to compile ...
1
vote
0answers
100 views

How to cross compile to an old i486/i586 architecture (Vortex86DX)

I need to cross compile to Vortex86DX. It seens to have a i486/i586 architecure. What packages is needed to install on Ubuntu ? As stated here, just asking the compiler to -match=i586 doesn´t work ...
0
votes
0answers
108 views

Eclipse doesn't transfer a binary file correctly by SSH . Error: No such file or directory

Im having a trouble with remote access to transfer the executable file from my PC to my Beaglebone Black with Eclipse Luna. The transferring is not working properly. My PC is Ubuntu 14.10 64bits. ...
2
votes
2answers
457 views

Why a single cross compiling doesnt work? Error: bash: ./test1: No such file or directory

I'm using my Ubuntu 14.10 x64 PC to cross compile to run my programs in my Beaglebone Black but I'm getting a strange error when I try to run the compiled program in my BBB. The command lines bellow ...
1
vote
1answer
163 views

Solving the package dependency list automatically for building ubuntu touch

I'm following the guide in XDA Link to install nexus 9 device with Ubuntu touch. But I'm stuck in the installation of tool-chain and cross compiler. I am stuck in the following sudo apt-get install ...
0
votes
0answers
29 views

Cross-compilation with Scratchbox

I want to use the Scratchbox toolkit in the concept of cross-compilation. In fact, I want my C# application to be compiled on a PC and to run it on an ARM processor target. Has someone been ...
0
votes
1answer
276 views

Error while loading shared library libz.so.1 while cross compiling for arm-linux

I'm trying to cross compile an opencv app on Ubuntu 14.04 to run on an ARM core. I can compile the open cv app fine on Ubuntu with g++ test.c -o test -I /usr/include/opencv -I /usr/include/opencv2 -L ...
0
votes
1answer
2k views

Building a windows executable in qt on a Linux system

I have been having the hardest time trying to compile a .pro file in Linux to make a windows executable. I have read all the links in the world on using mingw and nothing has worked as of yet. Is ...
0
votes
0answers
206 views

install multiarch -dev package - apt does not resolve dependencies

I want to build third party software that uses the mcrypt and curl libraries. I have an armhf system and an x86_64 system, both Ubuntu 15.04. On the target I can do user@armhf:~$ sudo apt-get install ...
1
vote
1answer
907 views

Cross compling Gstreamer for ARM

Hi i was trying to compile Gstreamer for ARM platform. I am facing some issues as followed i have set INSTALL_PATH installed glib at INSTALL_PATH ./configure --prefix=$INSTALL_PATH CC=arm-poky-linux-...
4
votes
2answers
9k views

fatal error: netlink/genl/genl.h: No such file or directory

I am cross-compiling hostapd for openwrt. I am getting fatal error: netlink/genl/genl.h: No such file or directory. I already have libnl-3.2.24 installed. If i directly compile (not cross-compile) ...
1
vote
2answers
886 views

Raspberry Pi C++11 std::thread: pure virtual method called

Ubuntu 14.04. I've installed gcc-arm-linux-gnueabihf, g++-arm-linux-gnueabihf (tried 4.8 and 4.9 from utopic). Code that uses std::thread: #include <iostream> #include <chrono> #include &...
2
votes
1answer
732 views

Help with cross-compiling for ARM

I have recently been trying to cross-compile programs for ARM. However, when I run make, I always get an error within a minute or less that says something like /usr/lib/gcc-cross/arm-linux-gnueabihf/...
1
vote
0answers
172 views

How to cross compile the qtmultimedia-opensource-src for armhf?

Repost from https://answers.launchpad.net/ubuntu/+source/qtmultimedia-opensource-src/+question/264619 Cross I can't figure out how to build it with cross compiler (on trusty-amd64 for utopic-armhf):...
1
vote
1answer
330 views

Compiling and running camera-app with Ubuntu SDK

Got camera-app, revno: 542. Host - 14.04, Ubuntu SDK. Target Desktop getting runtime qml error when trying to run the 'camera' run configuration: file:///home/user/camera-app/camera-app.dev/camera-...
1
vote
1answer
396 views

How to cross-compile a Qt package for armhf with sbuild?

I have a Qt application that I would like to cross-compile for armhf. I've set up an sbuild chroot using the following command: mk-sbuild --target armhf trusty However, when I run debuild -S and ...
0
votes
1answer
543 views

How to link against libuuid when cross compiling on Ubuntu for target Pico Zed Arm

My compile line is: $GCC -O0 -o ONVIFTargetServiceDiscovery ONVIFTargetServiceDiscovery.o Utilities.o Logger.o Socket.o -luuid -lpthread Where: GCC="arm-linux-gnueabi-g++" When executed, this ...
1
vote
1answer
729 views

How to add xterm to terminfo

I am using Xilinx' petalinux tools to build and use embedded linux. My host development machine is a VM running Ubunto 14.04.1 LTS. My board is a Xilinx ZC706 with a Xilinx Z7045 Zynq SoC. When ...
6
votes
1answer
2k views

How to Cross Build Latest Stable Qemu with x86_64-w64-mingw32

Installed the mingw and cloned the "latest stable" branch of QEMU with sudo apt-get install -y mingw-w64 cd ~/ git clone -b stable-2.2 git://git.qemu.org/qemu.git cd ~/qemu Then from @http://wiki....
0
votes
1answer
1k views

how to use openwrt and compile firmwre in ubuntu

I am first time using Ubuntu. I want to use open wrt on Ubuntu. i want tutorial on using the open WRT on Ubuntu. I want to compile my project on open WRT but i does not know anything how to use open ...
0
votes
1answer
112 views

sbuild errors “but it is not going to be installed”

My goal is to cross-build debian package, so I test on something simple - ncurses. I follow this guide consisting of two commands: https://wiki.linaro.org/Platform/DevPlatform/CrossCompile/...
1
vote
1answer
2k views

Install crossbuild-essential-armhf on amd64

Right now, while working on my laptop ( amd64 ), i can already compile code thru ssh on a beaglebone ( armhf ). What I'm trying to do now, is being able to use any IDE to debug that code ( codeblocks,...
0
votes
1answer
210 views

I am unable to download eglibc 2.14 source through svn as www.eglibc.org seems to be down since the last 2 days. Is there an alternate way?

I am trying to build a cross-compiler using crosstool-ng 1.12.2. It bails out while trying to download the eglibc 2.14 packages. Here is the log: DEBUG] ==> Executing: 'svn' 'export' '-r' 'HEAD'...
0
votes
1answer
9k views

when building u-boot /bin/bash: arm-none-linux-gnueabi-gcc: command not found

I am currently running Ubuntu 12.0.4 on a 64 bit machine. I have an AM335X development board. Along with the kit came the compressed kernel (linux 3,2), rootfs, u-boot, and ARM cross compiler (arm-...
1
vote
1answer
163 views

Error compiling Kernel-aodv for ARM

I'm about to implement AODV on ARM board SabreLite and I'm facing some problems. So, I use the latest version of AODV located here (http://sourceforge.net/projects/aodvuu/). I've follow the ...
1
vote
1answer
2k views

Should `arm-none-eabi-gcc` include a `stdio.h`?

I'm trying to build a simple example from the SDK for the TI CC3200 (Cortex M4), but when I try to compile it complains about stdio.h. make CC ../main.c ../main.c:45:19: fatal error: stdio.h: No ...
1
vote
0answers
239 views

SDL app code arm linaro cannot find -lSDL

I'm using gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux to cross compile the following SDL code. usingubuntu-14.04 #include "SDL/SDL.h" int main( int argc, char* args[] ) { //The images ...
0
votes
2answers
4k views

Toolchain binaries cannot be found

Trying to build recent version of u-boot bootloader for my mini2440 ARM board I managed to download a toolchain package from codesourcery and extract it to following path: /usr/local/arm-2008q3/ I ...