The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
28 views

Building kernel for BeagleBone Black lead me hdmi problems

I have successfully followed CLFS book to build RPi and BBB embedded systems. In RPi case the bootloader did not give me problems with device tree. Some years ago I would have to patch Torvalds' ...
0
votes
0answers
26 views

Syntax error: word unexpected (expecting “)”) [migrated]

Problem in short- In linux whenever we get the following error "Syntax error: word unexpected (expecting ")")", what does it generally mean? Problem in details- I have been trying to cross-compile ...
1
vote
1answer
33 views

Error compiling 64-bit on 32-bit machine with -m64

Here is the error I'm getting: g++ -m64 -g -Wall -DCPP -c -Wno-char-subscripts -o myprogram.oS64 myprogram.cpp myprogram.cpp:1: sorry, unimplemented: 64-bit mode not compiled in make: ...
0
votes
0answers
45 views

Cross compilation of gcc on ARM

I am getting the following error during cross compilation of gcc on ARM: TLS -o _udivsi3.o -MT _udivsi3.o -MD -MP -MF _udivsi3.dep -DL_udivsi3 -xassembler-with-cpp \ -c ...
0
votes
1answer
16 views

The X windows font path error occurs. What should I do to compile?

I have been used to cross-compile the X Windows. The X windows font path error occurs. What should I do to compile ? (==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 24 19:29:28 1980 (==) Using ...
0
votes
1answer
39 views

Cross-compiling ImageMagick on ARM

The following is for ImageMagick cross compiled on ARM, I have successfully cross compiled it but while using the convert binary on cross environment it gives following error: [root@FriendlyARM bin]# ...
1
vote
1answer
36 views

Cannot compile a linux kernel for an ARM board [closed]

I am trying to compile a linux kernel (2.6.32.70) for an ARM board (versatilepb), it is my first steps in embedded linux. At the end of the compilation, two compressed kernel images are generated ...
0
votes
0answers
20 views

install arm gcc on Wheezy [duplicate]

I'm trying to build an application for Debian 8 on ARM arch on a virtualmachine running Debian 7 using cross-compiler. But when I try to run sudo apt-get install gcc-arm-linux-gnueabihf I get an ...
1
vote
1answer
20 views

-lpopt is not found while cross compiling for aarch64

I am trying to cross compile for the 'aarch64' architecture from my ubuntu 12.04 desktop which is 64 bit (x86_64). So i installed the crosscompiler-toolchain for 'aarch64' with the 'synaptic package ...
0
votes
0answers
53 views

cmake: Failing to satisfy build dependencies while cross-compiling

I have been trying to cross compile OpenCV 3.0 with CUDA support on a NVidia Jetson TK1 (which supports CUDA) using Yocto Project. According to the OpenCV docs: To enable CUDA support, configure ...
124
votes
1answer
8k views

How is Mono magical?

I'm learning C#, so I made a little C# program that says Hello, World!, then compiled it with mono-csc and ran it with mono: $ mono-csc Hello.cs $ mono Hello.exe Hello, World! I noticed that when I ...
0
votes
1answer
80 views

Embedded Linux- Cross compiling firefox for arm

I am trying to cross compile Firefox (version 39) for Arm. But, I am getting the following error: /firefox-39.0/mozilla-release-849542617a46/build/unix/gold/ld: fatal error ...
-1
votes
1answer
33 views

IOCTL() Library for Windows [closed]

I am trying to cross compile my c code from debian linux to a windows platform. I have worked out most of the kinks but I am struggling with ioctl(). Windows doesn't seem to have a ioctl() equivalent ...
0
votes
1answer
116 views

configure: error: libarchive not found

When cross compiling I get: checking whether the /home/ekhnshr/epb2/jenkbuild/toolchain/bin/powerpc-linux-gnu-g++ linker (/home/ekhnshr/epb2/jenkbuild/toolchain/bin/powerpc-linux-gnu-ld) supports ...
2
votes
1answer
114 views

Compiler for 32-bit LSB MIPS MIPS32 architecture

I have a TV set top box that i'm currently experimenting on: I established a serial console connection to it through a serial port located on the board. I am trying to compile a simple C executable ...
1
vote
0answers
43 views

Installing armhf libboost-python-dev in amd64 cross environ

I'm trying to install libboost-python-dev for armhf in amd64 cross compilation build environment. apt install libboost-python-dev:armhf libboost-python-dev depends on python2.7-minimal, which ...
0
votes
0answers
130 views

QT Creator cross compiling for raspberry pi

I have used the instructions in link below for cross-compiling QT creator. While compiling qt base, I got the errors below after make -j 4. http://wiki.qt.io/RaspberryPi_Beginners_Guide collect2: ...
2
votes
0answers
64 views

How to properly set up a cross-compiling environment for Windows?

I'm working on an application written in C that's supposed to run on at least Linux and Windows. I usually work on Linux, so I'd like to be able to cross-compile my application for Windows. My ...
0
votes
1answer
485 views

Cannot run test program while cross compiling - cross compiling Firebird

I've tried to compile firebird server for arm linux, with cross-compiler (it's choosen - it's working properly). When using: ./autogen.sh --host=arm-linux-gnu I get this error: checking for ...
1
vote
1answer
36 views

Binary executable from Debian to Ubuntu?

I compiled some big c++ programs with gcc 4.9 on Debian. I want to know if the executable binary code is compatible and safe also on ubuntu, or must recompile program on Ubuntu?
0
votes
1answer
379 views

(Cross compile) How to specify the location of libraries for ld in Makefile?

I am compiling pciutils (but it's not important, it could be another source code) with a gcc ARM version. When I compile, the process stops because it cannot find the required libraries: ...
2
votes
1answer
201 views

Cross compiling ARM static lib with GCC for Mac iOS xCode projects

I'm cross compiling ARM targeted toy example static lib for the usage in Mac iOS xCode projects. In the lib there are only 2 files atoy.c and atoy.h with simple function taking 2 int arguments and ...
0
votes
0answers
26 views

Cross compiling ATI core drivers (fglrx-core)

I have a small custom Linux distribution I use to run numerical computations. It consist basically of a minimal Linux kernel plus essential file system on main memory. I want to add OpenCL support. ...
1
vote
1answer
385 views

How to redirect linker share library default path /lib64/libc.so.6, /lib64/libc.so.6: version `GLIBC_2.14' not found

My linux machine is x86_64-redhat-linux. However I am using another arm tool chain aarch64-linux-gnu-gcc on this machine to build(I don't need to run what I build on this machine, just build, so it ...
1
vote
1answer
40 views

Host and target machine

Can someone explain what host machine represent, and what target machine represent, when configuring cross-compilers?
2
votes
0answers
220 views

Errors cross-compiling with distcc

I'm currently attempting a build of the Raspbian kernel using both a cross-compiler (for the Raspberry Pi 2's ARM processor) and distcc, based on the instructions posted at the Raspberry Pi website. I ...
3
votes
1answer
259 views

Why does installing a libc6 for a different arch not work for armhf?

I am trying to get cross compilation working, on a 64 bit system that already has i386 enabled: $ dpkg --print-architecture amd64 $ dpkg --print-foreign-architectures i386 armhf Only jessie ...
1
vote
1answer
168 views

CLFS for ARMv7 neon

I am following CLFS book (GIT-20140613-arm version), and I have a issue when building GCC with armv7 and neon combination. Target info here. My host is a clean Debian 8 with gawk, build-essential, ...
0
votes
0answers
56 views

How to compile x86_64 resource object file?

I am trying to build x86_64 windows executable. It has some resources that need to be compiled with windres. However, it genrates i386 object file from given resources which consequently fails to link ...
0
votes
1answer
45 views

Cannot find -lgmodule-2.0

I try to cross compile bluez-utils-3.36 from the sources. But i always get this error after executing makecommand. ...
2
votes
2answers
118 views

How to find out triplet without gcc?

I try to find out the triplet for my device, because i try to cross compile, but there is no gcc installed on the target device and i am not allowed to install it. With gcc installed i could just ...
-1
votes
0answers
118 views

How to use BlueZ tools? [closed]

I successfully compiled bluez-libs-3.36 and bluez-utils-3.36, and got the programs sdptool,hcitool and hciconfig. I copied them to my device and exectued chmod a+x on all three of them. But if I try ...
1
vote
3answers
218 views

How to use my cross-compiler to compile something?

I informed about cross-compiling and found many information on how to create one, but very little information on how to use it. I would like to compile the tool bluez-utils-3.36 from this site with ...
1
vote
1answer
29 views

Where to find this toolchain?

I am searching for the toolchain arm-linux-gcc-4.4.3.tgz. I need to download it, but it seems like this file does not exist anymore. If i don't find this file, i have to create it by myselve. Can ...
1
vote
1answer
288 views

How to Cross Compile elfutils

My system (uname --all) Linux shyamdaramubtnb 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux My target ARM Cortex A7 I am in the process of cross ...
0
votes
1answer
321 views

member ../lib/lk/liblk.a(debugfs.o) in archive is not an object, error while cross compiling perf

i get the following error when i try to cross compile perf tool for arm ../lib/lk/liblk.a: member ../lib/lk/liblk.a(debugfs.o) in archive is not an object what i have done ? cd ...
-1
votes
2answers
251 views

Squid cross compile

I've been trying to cross compile the Squid 3.5.7 on ARM Cortex A8 (Linux). I downloaded it from http://www.squid-cache.org/Versions/v3/3.5/ I have arm-linux-gnueabi-gcc and arm-linux-gnueabi-g++. ...
0
votes
0answers
152 views

How build of ASUS Merlin firmware

I'm trying to build newest ASUS-Merlin firmware on Ubuntu. My build fails with: make[7]: Entering directory `/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/src' /bin/bash ../libtool ...
1
vote
0answers
162 views

Cross compile gdb for mips and make executable file small like one in OpenWrt

I would like to cross compile gdb for mips, but the normal version is too big for my small embedded device. I was wondering how those guys on OpenWrt make it ~3mb. I downloaded gdb ipk, extracted ...
1
vote
0answers
294 views

“Illegal instruction” on a static MIPS binary

On my MIPS box I'm trying to run a program. I use a cross compiler for mips. When I run my program, I'm getting Illegal instruction I pulled of one binary from it, called cputest. It basically ...
0
votes
1answer
174 views

Cross compile for ARM without installing anything

I have to cross compile bluez for another machine, but i am not allowed to install anything on the host machine. I never did this before. How can i get started? Host machine: Processor: Intel(R) ...
2
votes
1answer
162 views

Set up enviroment for cross-compilation to i386, armel, armhf, arm64 and mips with no libglib2 conflicts

I'm trying to set up a build environment for a software in Debian Jessie. I need to produce amd64, i386 and eventually armel and armhf binaries of the software. It would be cool if I could ...
0
votes
1answer
259 views

i686-cm-linux-gcc: Command not found

While cross compiling OpenWRT, I have I have replaced OpenWRT's toolchain with toolchain i686 architecture. But, I am getting below mentioned error: make[5]: Leaving directory ...
1
vote
1answer
92 views

Cross compiling a software module

I'm trying to compile dropbear with the GNU ARM tool chain. I've went through this guide and managed to successfully build all the required tools. They are located in a directory: ...
2
votes
0answers
207 views

How to make iwconfig fully work on embedded Linux

The target embedded Linux is ARM Xilinx Zynq, and I am working in CentOS to compile to ARM using Xilinx's tool. The target OS is working now and I want to setup the wifi using iwconfig. I downloaded ...
0
votes
1answer
300 views

Cross compile ports freebsd 11

I want to make cross compile environment for raspberrypi. Now I have VM with qemu-arm based cross compilation environment (based on this article), and it is VERY SLOW. I think that native i386 ...
1
vote
1answer
27 views

Is there a gnu-as variant for targetting 64-bit code from a 32-bit system?

I need to cross compile from a 32-bit system for a 64-bit target with gnu as, but the script doing the compilation produces the error message that x86_64-linux-as cannot be found. Is there a 32-bit ...
0
votes
1answer
126 views

Platform Device Drivers

I was just going through the code of kernel. I have a raspberry Pi board. I want to interface the touch screen with my board. I want to develop the Platform driver for that. As per the documentation ...
0
votes
0answers
15 views

Automatic build errors resolving

Again I am compiling from scratch a big OSS project for custom embedded environment and receive a lot of errors like: warning: libXXX, needed by YYY, not found fatal error: XXX: No such file or ...
4
votes
1answer
757 views

Can I write C programs for Linux on OS X?

In case I'm writing a program (of any kind) in C, that is meant to be run on Linux environment, can I write it under OS X? (concurrency wise for example) I'm asking this because I like programming in ...