Questions tagged [arm-linux]
12 questions
1
vote
0 answers
How solve c++ POCO lib linking error on ARM Linux
I try to link the Poco C++ library with my project on ARM Linux, but I get the linking error.
Link error message:
foo.so: undefined reference to `Poco::JSON::Object::Object(int)'
foo.so: undefined reference to `Poco::JSON::Array::Array(int)'
foo.so:…

karen.nik98
- 59
- 1
- 4
1
vote
0 answers
Numpy from wheel on armv7l: Original error was: No module named 'numpy.core._multiarray_umath'
I'm trying to set up the numpy module for python 3.9.8 on an armv7l device with no internet connection.
I've tried many versions, but I keep getting this error:
Python 3.9.8 (main, Jan 13 2022, 11:11:29)
[GCC 7.2.0] on linux
Type "help",…

Iulian98
- 31
- 3
1
vote
0 answers
How can I cross-compile openssl for arm-none-eabi-gcc
I want to use the SM2 algorithm from OpenSSL on my stm32 develop board,
when I searched a method for that, I found all solutions is to compile OpenSSL by arm-none-linux-gnueabi, so I did it as described.
After getting a libcrypt.so, I want to use…

Julian
- 9
- 2
1
vote
0 answers
A new issue: fatal error: stdio.h: No such file or directory
I tried to use gcc to compile .c file, but the issue occurs as shown,
fatal error: stdio.h: No such file or directory
# gcc hello.c -o hello
hello.c:1:9: fatal error: stdio.h: No such file or directory
1 | #include
| …

HeadzzZ
- 99
- 1
- 8
1
vote
0 answers
backport Synopsys DesignWare AXI DMA Driver on linux 4.14.226
I am trying to use snps (Synopsys) DMA controller driver with linux version 4.14.226.
while testing Audio playback with ALSA we found issue so we took the many changes from linux…

pandey
- 11
- 1
1
vote
3 answers
Cross compiling c application library referring other libraries symbolically linked
I am trying to build an application(libnodeapplication) which is dependent on a shared library(libnode.so) which in turn depends on another shared library(libgentoo-5.so.100) which I have pasted at the same location as the libnode(inside…

Raulp
- 7,758
- 20
- 93
- 155
0
votes
0 answers
code that contains FFTW3 library cannot compiled by arm-linux-gnueabihf-gcc
Environment: Ubuntu 16.04 LTS by using virtualbox in Windows 11
Problem: The code that contains FFTW3 library can be compiled by gcc, but cannot be compiiled by arm-linux-gnueabihf-gcc in Terminal from Ubuntu 16.04.
#include
#include…

Pandadog
- 1
- 1
0
votes
0 answers
Cross compile boost library for Raspberry Pi 4 32-bit gives gnu/linux insted of sysv and doesn't work on pi
I have a raspberry pi board and I want to cross compile the boost to use date_time lib form Ubuntu 22.04 host. every time I try to compile and check the file type using file command it gives this
libboost_date_time.so.1.66.0: ELF 32-bit LSB shared…

Hisham Yakan
- 1
- 2
0
votes
1 answer
How does the linux kernel know about the initrd when booting with a device tree?
I am writing a bootloader for my Arm board (32-bit i.MX6) and want to boot the Linux kernel using a device tree and an initrd file located at a static location in memory.
I looked to U-Boot as a reference and I see I can use the bootm command to…

BakaOsaka
- 53
- 6
0
votes
0 answers
linux-xlnx kernel updating from 3.17.0 to 5.15.0, get_fs(), set_fs() macros
I am new to kernel driver development and I am trying update kernel version of a legacy project.
Example code is below
#include
struct file *file_open(const char *path, int flags, int rights)
{
struct file *filptr = NULL;
…

selim
- 11
- 1
0
votes
1 answer
bash script to sort the return strings of a function
I started a script that run on a linux satellite receiver and run the 'dvbsnoop' tool. I need help to finish the script because i do not know hot to handle the results from the 'dvbsnoop' tool.
#!/bin/bash
# Asign to variable 'b' the service…

ASiX
- 5
- 3
0
votes
1 answer
azure-macro-utils not present in rootfs when adding meta-iot-cloud to bitbake
I added the meta-iot-cloud layer to bitbake and updated the local.conf file with:
CORE_IMAGE_EXTRA_INSTALL += "packagegroup-cloud-azure"
bitbake runs successfully and everything except the azure-macro-utils-c is in the rootfs, though there is a…

fin121
- 21
- 3