Category : linux

I load a path name with cmake add_definitions(-DMY_PATH =${CMAKE_INSTALL_FULL_DATADIR}/path) and want to use as a string in my C++ program to load some data. For this the stringification operator # is really handy – I use the macro provided in this answer which is the same as here. Now when I have "linux" or "unix" ..

Read more

I was experimenting with a kind of plugin system for my other project written mainly in C and littlebit of C++. Lets say some developer creates a plugin (lets say derived class maybe!) crashes, it can cause whole program to crash. This is designed to be run on linux only! Basic requirement i am setting ..

Read more

I am getting this error for one of CPP lib. undefined symbol: _Z11gb_baseNameNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE And the server details are : cat /etc/redhat-release Red Hat Enterprise Linux release 8.4 (Ootpa) g++ (GCC) 11.0.1 20210423 (prerelease) Copyright (C) 2021 Free Software Foundation, Inc. Same lib is working on different server. Any one please update me the cause of ..

Read more

According to https://ineclabs.com/image-zimage-uimage-vmlinuz-linux-kernel/ Image: The generic Linux kernel binary image file. I have an ARM64 kernel that I compiled with make Image and it’s recognized by linux as a Windows executable. At least it gets the windows icon. On Cutter, I opened and got it recognized by pe64 According to Documentation/arm64/booting.rst, this is the kernel ..

Read more