Questions on how to compile software for the Raspberry Pi using other devices.
0
votes
1answer
58 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
votes
1answer
32 views
crosstool-nc install failure [closed]
I am trying to install crosstool-nc on ubuntu and it fails. I successfully ran configure, but when I run make it appears that m4 fails when bison is trying to create zconf.tab.c.
$ make
SED ...
0
votes
0answers
50 views
error when running a— cross-compiled executable
I have cross compiled vscpd program
Following is the backtrace from GDB. Here i am not getting what is causing this SIGILL
which terminates the program.
Does this error means --> libcrypto.so.1.0.0 ...
1
vote
0answers
125 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
51 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
82 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
0answers
34 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 ...
0
votes
1answer
125 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
...
0
votes
1answer
122 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
428 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 ...
3
votes
3answers
1k 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
86 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$ ...
0
votes
0answers
64 views
crosstool-ng build fails in ubuntu
When i am trying to build ct-ng build iam getting the below error. can anyone please help me to resolve this issue. Thanks in advance.
[DEBUG] Testing '! ( HOST = HOST )'
***[ERROR] Missing: ...
2
votes
0answers
494 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
1answer
503 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 ...
0
votes
0answers
189 views
Running GNURadio scripts on Raspberry Pi
An alternate line of thoughts from the question - Compiling GnuRadio on Raspberry Pi
If I cannot (or do not want to) compile GNURadio for the RaspbZerry Pi, can I at least use the GNURadio & ...
1
vote
2answers
796 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
287 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 ...
8
votes
2answers
2k 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
919 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:
...
4
votes
0answers
200 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
2k 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 ...
3
votes
1answer
508 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
274 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
275 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
642 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
764 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 ...
13
votes
3answers
725 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 ...
6
votes
1answer
1k 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 ...
6
votes
2answers
168 views
Will compiled binaries run on other Linux boxes?
I don't have a linux box at home, so I'd like to use my Raspberry Pi to try out some development on Linux. Will binaries compiled on it run on other, more standard Linux boxes, or will they only run ...
5
votes
2answers
3k views
How do I cross-compile the Kernel on a Ubuntu host?
I would like to understand more about how the kernel works. Part of this is to compile it myself. How do I cross-compile the Kernel on a Ubuntu host?
23
votes
4answers
2k views
Is there a Linux From Scratch (LFS) ARM equivalent
I'd like to demonstrate how it's possible to 'bootstrap' up from a near-bare installation of Linux to something useful and productive. The Tiny Core and LFS projects demonstrate this well. However ...
35
votes
5answers
14k views
How do I build a GCC 4.7 toolchain for cross-compiling?
I already asked this question on Stack Overflow, but I would like to know if anyone managed to build a GCC 4.7 toolchain for ARM cross-compilation (for a x86/x86-64 Linux host). There are many ...
