Go to advanced search

by Phate
Thu Jul 16, 2015 6:38 am
Forum: C/C++
Topic: Application segfaults before main is called
Replies: 2
Views: 615

Re: Application segfaults before main is called

Hello Jamesh, thanks for your answer. Sadly I got no notification regarding your post so I was not able to write back earlier. Your hint was a good one. As this specific file is compiled as a static library it has somehow some other compiler options. It is compiled in thumb mode but the application ...
by Phate
Mon Jul 06, 2015 4:44 pm
Forum: C/C++
Topic: Application segfaults before main is called
Replies: 2
Views: 615

Application segfaults before main is called

Hello, I have some problem with an application which I try to get running on an raspberry. I have cross-compiled some other applications with my build environment and it worked every time. But this time the application never reaches the main function and segfaults before. I tried to use gdb and came...
by Phate
Wed Mar 20, 2013 2:48 pm
Forum: C/C++
Topic: [solved] Problems with libudev
Replies: 0
Views: 1556

[solved] Problems with libudev

Hi! I have some problems with libudev on Raspbian. I have an application that watches for connections of block devices (in this case usb sticks). On my host (Ubuntu 12.04) this works fine, but on Raspbian it does not work. while (1) { /* * this will block until there is a monitor event */ dev = udev...
by Phate
Wed Mar 20, 2013 9:46 am
Forum: C/C++
Topic: Cross-Compiling applications for Raspbian [solved]
Replies: 5
Views: 22947

Re: Cross-Compiling applications for Raspbian

Thank you danidelrr! That did really work out that way. For all other people who will run into a similar problem: Just open the .so-file with an texteditor and remove the absolute paths. This needs to be done for libpthread.so and libc.so After this there will be another problem: Some libraries use ...
by Phate
Tue Mar 19, 2013 4:05 pm
Forum: C/C++
Topic: Cross-Compiling applications for Raspbian [solved]
Replies: 5
Views: 22947

Cross-Compiling applications for Raspbian [solved]

Hi! I have setup a development platform based on Ubuntu 12.04 to cross-compile some of my applications for Raspberry Pi using Raspbian. I used Debootstrap to get a Raspbian environment on my hostsystem. Now I can chroot with Qemu into this environment and install needed development libraries (with a...

Go to advanced search