I’ve trying to cross compile an app for iMX6 CPU using linaro-gcc and a dedicated rootfs. The app might be linked to OpenVG and the standard pthread libraries. It compiles fine but the linker failed to link to the OpenVG library so I added the linker switch -L/home/ae/Documents/toradex/col-imx6/colibri-…
Tag: linux
DHClient override renewal time
My ubuntu machine is receiving a renewal time of 7000 seconds from the DNS server. I want to change this on the ubuntu machine to be longer via the dhclient.conf. I can’t change the dhcp sever. However all the examples I try don’t seem to be the correct syntax. For instance if I add at the top of …
‘pecl install ibm_db2’ can’t find library
I’m trying to install ibm_db2 through pecl: Then when it asks for an install dir, I have tried various places only to have the same result. It goes through a bunch of checks etc., then tries to ‘make’ and gets an error: It always looks there for the libraries. And they exist, because when I …
Docker cgroup.procs no space left on device
After some problem with Docker and my dedicated server with a Debian (the provider give some OS image without some features needed by Docker, so I recompiled Linux kernel yesterday and activate the features needed, I followed some instruction in blog). Now I was happy to have success with docker I tried to cr…
Visual Studio Code Segmentation Fault on Debian
I downloaded and extracted VS Code in a Debian x64 VM and tried to run it. It complained about missing glibc libraries (I have 2.13, it needs 2.15). I followed these steps to get Ubuntu DEBs. Using those, VS Code throws a segmentation fault when I run it. gdb tells me: Why won’t Visual Studio Code run f…
Writing a background program with command line interaction [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 7 years ago. Improve this question I’m just playing around and want to write a c++ program that monitor…
What is the difference between xen-linux-system-3.16.0-4-amd64 and xen-linux-system-amd64 in Debian 8 Jessie
I’m looking to migrate to Debian 8 Jessie and new Xen. I see that there two xen-linux-system-* packages available in Jessie: xen-linux-system-3.16.0-4-amd64 xen-linux-system-amd64 I have installed them, one at the time, and both install Xen Hypervisor version 4.4.1. What is the difference between them? …
Strange error while trying to deploy qt5 app on raspberry pi
I have a project which I’ve made on Ubuntu 14.04 LTS, but then, I wanted to test if the Raspberry Pi was capable of running this little program of mine. Then I’ve followed the instructions on this link to compile and build qt5 natively on the Pi. I’ve managed to install qt5 without problems,…
Why we call the signal function in the start of the linux c program?
The program is very simple, I have a handler function named fintr() and the program is: Can I put signal(SIGINT,fintr); at the end of the function main()? And why do we have to put it in the beginning of main()? Answer Putting it at the end means it will come after the while (1) … loop, so no, you can&#…
How to mount image using mount(2)
I cannot mount some IMAGE on the MacOSX 10.10 via C function mount(). I use following code And when I start the program I get the error “mount() is failed! Error(Operation not supported by device).” And image was mounted if I use the following command: Also, when I use mount() on the Linux –…