227,588 questions
-2
votes
0
answers
33
views
Linux Sockets Correct Syntax Gcc Console App compiles with list of undefined errors unexplained? [closed]
#include <stdio.h>
#include <string.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <netdb.h>
#include &...
0
votes
0
answers
23
views
Local unit testing apache airflow
Cannot Run Apache Airflow Unit Tests: sqlalchemy.exc.OperationalError: unable to open database file
I am attempting to run a single unit test within the Apache Airflow repository (airflow-core/tests/...
2
votes
0
answers
56
views
Android (Linux) libc problems when creating an execuatable shared object
I have 2 files:
crt.c:
const char service_interp[] __attribute__((section(".interp"))) = "${LD_SO}";
extern void _exit (int __status) __attribute__ ((__noreturn__));
int main();
...
2
votes
1
answer
122
views
Is it possible to load a function symbol from an executable
I have 2 files:
foo.c:
#include <stdio.h>
int Main(int a) {
printf("A%dB",a);
}
int main() {
return Main(1);
}
bar.c:
extern int Main(int);
int main() {
return Main(2);
}
...
Advice
0
votes
3
replies
44
views
How to set physical machine access when mount to docker container?
I'm trying to run postgresql. after checking their document, I added this volume mount
/path/to/data:/var/lib/postgresql/18/docker
my container failed immedeately,
chmod: changing permissions of '/var/...
-1
votes
0
answers
40
views
My GPU is not working, it is MSI RTX 5070 [closed]
My gpu is not detected in my computer. I have installed 580.105.08.run, cuda 13.0. I confirmed everything installed successfully but still problem persists.
0
votes
0
answers
39
views
How can I connect to HFSQL C/S using python on Linux?
I am trying to connect to a legacy HFSQL (HyperFileSQL) Client/Server database using Python (pyodbc) on a Linux Ubuntu machine.
I have followed the official documentation to install the specific ODBC ...
-4
votes
0
answers
72
views
Write FPDMA Queued Error: Minecraft Server [closed]
A friend and I have been running a Minecraft server on an Ubuntu server, and its been going great. For the last month everything has been running smoothly, until just last week we started getting this ...
0
votes
0
answers
65
views
Why Does Trying to Load rJava Keep Resulting in an Error?
I am trying to run r5r for a transit network based analysis.
I am using R 4.4.3 in Positron on Fedora 41.
Some context for me is that I have a couple years of R underneath my belt, but I am absolutely ...
0
votes
0
answers
32
views
Monitor sigprocmask calls with Syscall User Dispatch?
I'm using prctl(PR_SET_SYSCALL_USER_DISPATCH, ...) to enable Syscall User Dispatch with a SIGSYS handler that gets called when the application issues any syscall. The prctl() call also marks the code ...
-3
votes
0
answers
25
views
How to handle crontab across multiple users on the same virtual machine? [closed]
Me and my team are working on a RHEL virtual machine and we were wondering how to handle the same crontabs from multiple users.
When one of the users does set a crontab no one but the user itself can ...
-1
votes
0
answers
34
views
How to fix terminal on linux? [closed]
I was using the root directory for exploring the file system and i look for some dev, bin , sbin and so on and after sometime i open my terminal and saw this : zsh compinit: insecure files, run ...
3
votes
1
answer
195
views
Why does sequential array access have a high cache miss rate?
I have the following C code that I am testing to understand perf and caching. It sequentially accesses an array of doubles.
// test.c
#include <stdio.h>
#include <stdlib.h>
#include <...
2
votes
0
answers
93
views
+100
In-Order Delivery of UIO Interrupts for Userspace Driver [closed]
I have multiple UIO interrupts defined. I am using Linux 6.12 without the realtime config (so, using the default scheduler, CFS).
My userspace driver is using poll in a loop to watch these interrupts ...
-1
votes
0
answers
67
views
i686-elf-gcc "Error: invalid instruction suffix for 'push'/'pop'" [closed]
I'm following the barebones guide on OSDev Wiki and I'm trying to compile my kernel.c file with
i686-elf-gcc -ffreestanding -O2 -m32 -c kernel.c -o kernel.o
but I constantly get the following ...