Skip to main content

All Questions

Tagged with
0 votes
1 answer
8 views

NVCC compilation error: exception specification is incompatible with that of previous function "cospi"

When I try to compile a simple CUDA program, e.g. the vectorAdd sample, I get errors about incompatible exception specifications: $ nvcc -I ../../../Common/ -ccbin g++-13 -Wno-deprecated-gpu-targets ...
einpoklum's user avatar
  • 133k
1 vote
0 answers
33 views

"Objcopy: error: the input file '*.dll' is empty" when running the edk2 build script in linux

I've been trying to build the edk2 from source in a Kali 2023.3 VM, followed every step from the linux guide, but I got a few error messages just like the one in the title for some files like "...
Parsa Mousavi's user avatar
0 votes
0 answers
104 views

Why does clang fail on mabi but not gcc?

Given my file test.c: #include <stdarg.h> int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); } I try: $ clang -m64 -c -g -O2 -mabi=ms test.c -Wall -Wextra which ...
theEpsilon's user avatar
  • 1,919
0 votes
1 answer
513 views

Undefined reference to xdr_float,...,etc

Having trouble linking to the 'rpc' library. My system is OpenSUSE Leap 15.5. Here is the output from the shell (Bash): gcc -o build/user/gee/Mautocorr.o -c -O2 -x c -std=gnu11 -Wall -pedantic -...
UserX's user avatar
  • 33
0 votes
1 answer
307 views

Not able to run anything from OpenCV in C++

I've been using opencv with python for a while now (in a venv) and I have to try opencv in C++ for functionnality. However, I cannot seem to be able to run anything. What was done I tried installing ...
Vincent Pelletier's user avatar
0 votes
1 answer
79 views

How can I write a hexadecimal viewer in C? [duplicate]

I'm working on a code for a homework. Our teacher gave us this example. We gotta write a code about a hexadecimal viewer. This one must write down lines, edit, map characters and edit. #include <...
Miguel Salazar's user avatar
0 votes
1 answer
711 views

Compiling the kernel

I'm doing these steps to update the kernel from version 6.1.0-18-amd64 to version 6.7 but patching with version 6.8. The steps are as follows: tar xvf /usr/src/linux-6.7.tar.xz xzcat /usr/src/patch-...
Agustin Ignacio Genoves's user avatar
0 votes
1 answer
638 views

How to install gcc-5.5.0 in raspberry pi 4B-64bit

I have a project that requires a low version of the gcc compiler to be installed on the Raspberry PI, and I have tried two approaches, neither of which has worked. I tried two approaches. The first ...
Huanzze's user avatar
0 votes
1 answer
254 views

Cross compile ncurses for armv7

I use arm-linux-gnueabihf cross-compiling ncurses, An error occurred at the "make install" step strip: Unable to recognise the format of the input file `/home/chumeng/cross_compile/gcc-...
李昊泽's user avatar
0 votes
0 answers
364 views

Syntax errors in perl header files when compiling Oracle Pro*C

I am migrating Oracle Pro*C programs from Solaris (Sparc) to RHEL (Intel) some of which include Perl so have included the Perl header directory in the compile command (see below). I am getting errors ...
RichB's user avatar
  • 11
0 votes
1 answer
655 views

Make compile error -- pango/pango.h: No such file or directory -- but I have pango installed

I have no idea what source file to edit or how to ammend the line. I am installing xplanet-1.3.0 on ubuntu 22.04 from source. I have installed the prerequisites as necessary. ./configure works fine. ...
Molly's user avatar
  • 153
0 votes
0 answers
280 views

Troubles in build GCC continuing

So i tried to build the gcc in lfs needed to build glibc refering to the chapter 5.3 and got this error make[2]: *** [Makefile:13792: configure-stage2-zlib] Error 1 yes checking for an ANSI C-...
LinuxDefUser's user avatar
1 vote
0 answers
67 views

Getting clang: error: linker command failed with exit code 1 (use -v to see invocation) when using code runner in VSCode on Ubuntu System

The program is structured as follows: main.c: #include <stdio.h> #include "../include/test.h" int main(){ moo(); return 0; } test.c: #include <stdio.h> #include ".....
Saumya 's user avatar
0 votes
1 answer
547 views

Archlinux PHP-8.2.12 Source Build

I am unable to compile the latest PHP from source on Arch Linux. I have looked up several how to install documentations but they are for Ubuntu/Debian. Am I missing a library or do I need to specify ...
svarlitskiy's user avatar
0 votes
0 answers
124 views

error: expected unqualified-id before ���)’ when I compile a c++ project

I'm having this error when trying to compile a cpp hook project /root/lib-173/hook.cpp:14:77: error: expected constructor, destructor, or type conversion before ‘(’ token rcmp::hook_function<...
Adriano Kramer's user avatar

15 30 50 per page
1
2 3 4 5
27