Questions on how to compile software for the Raspberry Pi using other devices.

learn more… | top users | synonyms

0
votes
0answers
14 views

Cannot find -lgcc -lc

Raspberry Pi newbie here. :) I'm trying to compile the FreeRTOS port to Raspberry Pi, but when I compile, I get the error: arm-none-eabi-ld: cannot find -lgcc arm-none-eabi-ld: cannot find -lc make: ...
0
votes
0answers
27 views

how to install cross-compiled opencv's libraries on raspbery pi

My problem is may be complicated, I'll try to detail I cross compiled opencv for ARM (Raspberry Pi) from my host, and everything works fine. I also tried to cross compile an example and it also ...
0
votes
0answers
49 views

Raspberry Pi Kernel Compilation issue - fixdep permission denied

I am trying to compile RPi kernel on Kali Linux. I have downloaded GIT & the tools-master from git. Can anyone help me in resolving this issue & understand why this error comes? Below is the ...
0
votes
0answers
203 views

ARM Cross-Compile RaspberryPi Impossible Constraint in 'asm' FD_ZERO

I am attempting to cross compile from an Ubuntu 14.04 machine for Raspberry Pi ARM. I used the raspberry pi toolchain here: https://github.com/raspberrypi/tools And I crosscompiled Qt 4.8.6 using ...
0
votes
1answer
59 views

How to compile a Linux raspberrypi 3.6.11+ kernel

I use the following method a kernel module for openvswitch wget https://github.com/raspberrypi/linux/archive/rpi-3.6.y.tar.gz tar xvfz rpi-3.6.y.tar.gz ln -s /usr/src/linux-rpi-3.6.y ...
1
vote
0answers
61 views

GLIBCXX_3.4.19 not found

I am trying to run a program, written in C++ using the new C++11 standard. I use Code::Blocks on my PC and cross-compile for the Raspberry Pi using these tools: https://github.com/raspberrypi/tools/. ...
1
vote
2answers
57 views

Raspbian kernel source compilation configuration

I try to compile Raspbian, [ http://hermess.no-ip.org/rpi/index.php ] when I Prime kernel with the old config: make ARCH=arm CROSS_COMPILE=${CCPREFIX} oldconfig I get a lot lot of dialog messages, so ...
2
votes
3answers
662 views

DHT11 module compilation error

I try to compile the source code of DHT11 module given in [https://www.endian.se/content/?p=127] . I have followed the step of KERNEL compilation in ...
0
votes
0answers
872 views

cross compile qt 5.2

I'm following this tutorial to cross compile qt 5.2. But I'm getting this error: You have already accepted the terms of the license. ...
0
votes
0answers
258 views

Cross-compilation with OpenCV

I'm stuck in cross-compilation my RPi with OpenCV, my project just one file main.cpp and build success in my computer by this tut. I want to run it in RPi. I read this tut but can't understand much, ...
3
votes
1answer
106 views

How to cross compile large projects?

Read through the posts on the website, and tried many scratchbox2/qemu attempts. I am beat when it comes to compiling large projects, that have many dependences. I found it easy to compile a single .c ...
0
votes
0answers
68 views

libncursesw not found

I'm trying to cross-compile htop on an x86 Ubuntu 13.10 machine for Raspberry Pi ARM architecture. I've a crosstool-ng toolchain correctly configured, but when I use the command: ./configure ...
3
votes
0answers
467 views

Mongodb cross compilation on linux for Raspberry Pi

I have raspberry pi model B. I want to build mongodb on my Linux system and want to copy build onto raspberry pi. I am using mongo-non86 to build mongodb. I have changed compilers to compile it with ...
0
votes
2answers
288 views

Raspberry Pi kernel configuration for USB mouse and keyboard

I've been trying cross compile kernel using this guide. http://elinux.org/Rpi_kernel_compilation#2._Cross_compiling_from_Linux. However, all my kernel doesn't support USB mouse and keyboard. In the ...
4
votes
1answer
367 views

Respberry Pi fails to boot with custom kernel

I'm trying to cross compile my kernel with touchscreen enabled, however my Respberry Pi fails to boot with the custom kernel. I was trying to compile the kernel on my ubuntu 10.4 (x64) with different ...
1
vote
0answers
89 views

Missing libcofi_rpi.so on host machine

I successfully cross-compiled a simple hello-world.c program for Raspberry Pi Board on my Ubuntu 12.04 host machine by following the instructions given in this ...
5
votes
1answer
353 views

How can I cross-compile to the Raspberry Pi using Clang/LLVM?

I would like to cross-compile C-family languages (C, C++, Objective-C, and Objective-C++) to the Raspberry Pi using Clang and LLVM on a build computer of a different architecture. How may I do this?
0
votes
0answers
239 views

Boost generated successfully but can't generate a makefile. Where did I go wrong?

Even though CMake has successfully configured and generated the makefile with Boost, I just can't produce an executable file for ARM processor using the make command as shown below. Here is my ...
5
votes
1answer
253 views

Can I just copy the libraries built in ARM to Windows (x86) in order to cross compile a source code to ARM?

Regarding cross compiling an external library to ARM. Can I just copy the built libraries in ARM (e.g. raspberry pi) to Windows and link them in CMake in order to compile a source code to be deployed ...
5
votes
1answer
2k views

Cross Compiling to Raspberry Pi from Windows with External Libraries

Following this guide, http://www.a2p.it/wordpress/tech-stuff/development/remote-debugging-raspberrypi/ , I was able to cross compile from Windows to Raspberry Pi. But is it possible to cross compile ...
4
votes
2answers
2k views

Difference between 3.6.11 and 3.6.11+?

On my Raspberry Pi uname -r gives me 3.6.11+ but in the 3.6.y sources the make file has: VERSION = 3 PATCHLEVEL = 6 SUBLEVEL = 11 EXTRAVERSION = I am trying to compile a module. I (skipping some ...
0
votes
2answers
352 views

How do I tell which version arm cpu on my Pi?

When compiling a package for Pi. I come across with something like this CFLAGS += -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp #-mcpu=cortex-a8 and CFLAGS += -mtune=arm1176jzf-s ...
5
votes
1answer
372 views

Cross compiling

We're using eclipse on both windows and linux on pc's to program in C/C++ for the Raspberry Pi as geany's editor is too sluggish for us working on the RPi itself. We're now starting to get issues ...
0
votes
1answer
2k views

Raspberry Pi Cross-Compilation Failure (arm-linux-gnueabi-gccgcc)

I am cross compiling a Linux kernel for my Raspberry Pi from an AMD64 Ubuntu 13.04 system. I found this page to be of help (How do I cross-compile the Kernel on a Ubuntu host?), but I still get errors ...
2
votes
2answers
777 views

Emulating “Baking Pi”

Evening! I'm running through the amazing Baking Pi tutorials, which actually convinced me to buy an rPi in the first place. I realize I (obviously) can't emulate the "status" light, but I read all of ...
0
votes
1answer
478 views

How to solve Qt5 illegal instruction issue in cross-compilation?

I have cross-compiled Qt5 following http://thebugfreeblog.blogspot.it/2012/11/bring-up-qt-50-on-raspberry-pi.html instructions. Unfortunately I have an error when I try to run the compiled program on ...
1
vote
0answers
330 views

No image file after make (3.6 kernel compiling)

Overview: I wanted to compile 3.6.11+ linux kernel for my raspberry, after the make command, there were no image files in arch/arm/boot. What I've done: 1 Download the linux code from ...
0
votes
1answer
159 views

How to make cross compile development enviroment that can use shared libraries from Pi?

I was able to install toolchain and compile programs that use basic c libs. But that is not really useful when compiling big programs. I've learned that, when cross compiling, compiler will look for ...
0
votes
1answer
412 views

Cross compiling, missing packages

I've set up a cross compile toolchain for raspberry pi and I can compile basic helloworld and run it on raspberry. I'm stuck at compiling some open-source programs as ./configure is complaining about ...
0
votes
1answer
606 views

Is it possible to cross compile from Arch Linux host with qemu and chroot and how?

I was looking this post and trying to make in on my Arch Linux x86_64 host, but without success. I can't chroot inside and I've noticed that Arch doesn't have qemu-arm-static bins, and it looks that ...
1
vote
1answer
2k views

tutorial on crosscompiling .deb packages?

I'd really like to get to know debian packaging for the RPi I have read several useful tutorials on how to crosscompile with tools from https://github.com/raspberrypi/tools/tree/master/arm-bcm2708 ...
1
vote
1answer
1k views

How to prepare development environment under openSUSE?

I need to prepare development environment for AVR8 and RaspberryPi. I have installed AVR toolchain from http://download.opensuse.org/repositories/CrossToolchain:/avr/. Where to get cross-compiler for ...
2
votes
2answers
1k views

Raspbian source code

I´m using Raspbian on RaspBerry Pi and it´s working ok, but now I want to modify the distro according to my needs. I know the source for the kernel is found in kernel.org, but I haven't been able to ...
4
votes
3answers
12k views

Compile my RPi programs on my PC [duplicate]

Since I got my RPi, I have been playing with it and I am really happy that I bought it! I use various programs on it but it takes a long time to build them. So I had an idea. What if I could build my ...
2
votes
2answers
270 views

How to fix build error when building Linaro GCC crosscompiler crossstool-ng-1.17.0?

Crosstool-ng-1.17.0 build-fails-on-ubuntu-12-04.I am getting the below error when i am trying to build crosstool-ng-1.17.0. Please help me to fix the issue. shiny@ubuntu:~/crosstool-ng-1.17.0$ ...
2
votes
0answers
1k views

raspberry pi booting failed on custom kernel

hello I have compiled my custom kernel and pack initramfs into it. I have created two partition fat32 and ext3. fat32 contains bootloaders and kernel and ext3 contains rootfs. I have made a raw disk ...
3
votes
0answers
773 views

Compiling Qt Multimedia for Raspberry Pi

Thanks for taking a look, now to buisness. Ive setup a cross compile env for my raspberry pi following http://qt-project.org/wiki/RaspberryPi_Beginners_guide I have been able to port most of my ...
1
vote
2answers
2k views

crosstool-ng build fails on ubuntu 12.04

I am trying to follow this tutorial http://www.bootc.net/archives/2012/05/26/how-to-build-a-cross-compiler-for-your-raspberry-pi/ There are no known issues that relate to this 404 not found error ...
1
vote
1answer
522 views

How to run program that accesses GPIO as remote application in Eclipse?

Cross-compilation with remote launch from Eclipse is very useful approach to develop RaspberryPi applications. There is a serious security problem however. One who need access to GPIO (ex, using ...
9
votes
2answers
5k views

building kernel image (.img) including ramdisk

I have build my Linux kernel (3.0.1) for my raspberry pi with those following steps. 1. Downloading kernel source 2. tar xvf source.tar.bz2 3. downloading arm cross compilation tool. 4. tar xvf ...
2
votes
1answer
2k views

How do you build Open CV programs for raspberry pi using a cross compiler?

I have a cross compiler that allows me to compile code on Mac OS x 10.7 and produce binaries for the Raspberry Pi. Compiling simple "helloworld.cpp" programs works like this: ...
5
votes
1answer
438 views

Problems with close, read & write filedescriptors while cross-compiling on x86 Linux using Eclipse

Even though I am including <fcntl.h>, I keep getting 'write' was not declared in this scope 'read' was not declared in this scope 'close' was not declared in this scope even though the ...
4
votes
1answer
4k views

Compile Qt Application for Pi from Windows

How do I compile an app I made in Qt Creator to my Raspberry Pi? Here's my current setup: Qt Creator 2.4.1 running on Windows 7. I'm using MinGW for windows development, and Yagarto is installed is ...
4
votes
1answer
860 views

Are there any technical limitations when running hard-float binaries on a soft-float OS?

Since the hardware is generally the same between Raspberry Pi's, the target hardware is known to have a hardware floating point unit. I also understand that some operating systems opt to use soft-FP ...
3
votes
1answer
695 views

Unloading kernel module does not remove /dev/ device file

I have had success following tutorials for developing kernel modules, running them on a Ubuntu 12.04 LTS virtual machine. Particularly the example in this tutorial works fine on Ubuntu on a 3.2.0 ...
4
votes
1answer
440 views

No modules found in custom Arch kernel

In order to test the patch linked to in the following post: https://github.com/raspberrypi/linux/issues/29#issuecomment-6884170 I need to compile a custom kernel for my pi. To do this I followed the ...
5
votes
1answer
699 views

How do I compile code?

I would like to compile some code on the Raspberry PI, what is the best way to do this, I'm using Arch Linux, I checked and with the pacman I can install only the gcc 4.6, do I need cross compiler?
5
votes
1answer
1k views

Can I run hardfp software on a softfp kernel?

How to build a GCC 4.7 toolchain for cross-compiling? explains how to build a cross-compiling GCC and advises choosing softfp, but I understand that hardfp would be much faster. Will software ...
14
votes
3answers
986 views

How do I install node.js if my package manager doesn't include it?

Node.js, server side javascript sitting on top of Google's v8 engine, is not available for install from the Debian squeeze's default repositories and doesn't easily compile for ARM. Are there any ...
7
votes
1answer
2k views

How do I install distcc?

I have read How to build a GCC 4.7 toolchain for cross-compiling? and have successfully built a simple test program that works on my RPi. To do this, I had to run arm-unknown-linux-gnueabi-gcc ...