Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 7 years ago. Improve this question I’m in a course for C++ programming. Our professor created a linux validation script a…
make implies new Extracting
I created a Buidroot package with the both following files : .mk Config.in I succedded in compiling the package by using the above .mk file. However, because I wanted to modify the source code into output/build I note the following behavior (After removing only .stamp_built) : I obtain a new Extracting, Patch…
How to copy files and folders from one remote server to another remote server using scp command? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …
Linux Qt QSystemTrayIcon in console application
I have a working qt application. It is not a MainWindow application and has no GUI elements at all so far. It runs on startup of the linux box (as a background service). However, it has to wait for ~40-60 seconds until it can start while the IP/DHCP sorts its self out. So I wanted to give the user some
How can I run a python script on many files to get many output files?
I am new at programming and I have written a script to extract text from a vcf file. I am using a Linux virtual machine and running Ubuntu. I have run this script through the command line by changing my directory to the file with the vcf file in and then entering python script.py. My script knows which file t…
for each line of a file, grep a specific string and make string substitution
I have a file containing more than 14000 records. What I want to do is to process this file line by line and replace a String by anodher string returned by grep command. For example: Line : My grep command to get Class.java string is (Class.java is juste an example): I must, for each line, replace the TAG str…
/usr/bin/ld cannot find -l
I have written a few programs and while trying to compile them using g++,as thus, I keep getting the following error: fwlib32.h is the library I am trying to include. The shared object file libfwlib32.so is present in /usr/local/lib as well as /usr/lib. But I am unable link to it. I have tried all the solutio…
Linking error “undefined reference” about boost static library during compiling
I am trying to compile my C++ project on Linux x64 with boost libraries 1.57. This project is compiled with scons and I successfully compiled it on my Arch Linux, but this time failed on a Ubuntu machine. I added -lboost_coroutine flag for linking but the error “undefined reference” still existed.…
Recreate and send packet captured by nfqueue
I capture all the packets in one side with help of nfqueue, “record” them (all the data: ip info, next protocol info etc) with nfq_get_payload and deliver them into another side with help of udp. How can I restore this packet on another side and then send to myself(2 side) like there is no udp-enc…
Implementing poll in a Linux kernel module
I have a simple character device driver that allows you to read from a custom hardware device. It uses a DMA to copy data from the device’s memory into kernel space (and then up to the user). The read call is very simple. It starts a DMA write, and then waits on a wait queue. When the DMA completes, the