Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
20 views

Libsanitizer Error When Building GCC Cross-Compiler

I'm encountering compilation issues while building a GCC cross-compiler for RISC-V. Here is the last part of the GCC make command output if it might be helpful: ../../../../../src/gcc-14.1.0/...
lotobis's user avatar
-1 votes
0 answers
17 views

Error while compiling with makefile and gcc [closed]

I'm new to this forum, so please forgive me for any mistakes. I'm encountering an error while compiling a project created with CubeMX 6.12.0. The error message is: make[1]: arm-none-eabi-gcc: Argument ...
massimo perdigo's user avatar
0 votes
0 answers
21 views

Unable to generate intermediate .i files (preprocessed files) in Linux kernel

In Linux kernel, I need to analyze the source code files, I choose intermediate .i files (preprocessed files) to analyze because of the macro definitions (preprocessed files have the macro definitions ...
XI HUANG's user avatar
1 vote
1 answer
65 views

dSYM not generated when building with make

On macOS 12.7.5 (Monterey) using gcc to compile *.c: gcc version 13.2.0, with gnu make 3.81, (I prefer command line tools over XCode), when I pass CFLAGS = -g in a makefile I get full debugging ...
perlboy's user avatar
  • 106
1 vote
0 answers
77 views

/usr/bin/ld multiple definition of during compile

I just want to mention that I didnt write this code or modify it in any way prior to trying to compile it. I have just been copying the source from EL5 to 6 to 7 and compiling it. I think when it went ...
ZCT's user avatar
  • 329
0 votes
1 answer
30 views

Issue with building Unikey on Ubuntu 22.04

I'm trying to install Unikey (a program for typing Vietnamese) on Ubuntu 22.04 by following the instructions on the Unikey Linux page. While running ./configure was successful, I encountered an error ...
Mikochien's user avatar
1 vote
1 answer
96 views

Compiling Ruby C API (cross-platform)

The include statements presented here corresponds to the values of RbConfig::CONFIG["rubyhdrdir"] and RbConfig::CONFIG["rubyarchhdrdir"], so I thought using RbConfig to setup the ...
siery's user avatar
  • 501
0 votes
3 answers
84 views

Why does Make automatically execute a cc command?

I'm trying to learn how to use Make! So I have this simple Makefile, all: main other main: main.c other.o gcc main.c -o main echo "Compiled main.exe" other: other.o other.c: ...
verpas's user avatar
  • 93
0 votes
2 answers
65 views

Flags used during compilation

I am compiling huge C code base, And we are using Make build system to automate the build process. Basically we use lot of flags which are scattered across multiple make files and those compiler flags ...
kp_query's user avatar
0 votes
0 answers
32 views

How to compile testsuite for libgomp coming from GNU gcc git?

Source git : git://gcc.gnu.org/git/gcc.git Directory structure : gcc/libgomp/testsuite$ ls config lib libgomp.c++ libgomp.fortran libgomp.oacc-c libgomp.oacc-c-c++-common ...
ABHISHEK SINHA's user avatar
-5 votes
1 answer
105 views

C++ Compiler error : The term 'make' is not recognized as the name of a cmdlet [closed]

I want to compile cpp project in vscode and I write "make to terminal after that I have a error :enter image description here What do you think about this error .How I solve this? I can't ...
bilaltan's user avatar
0 votes
1 answer
46 views

Using precompiled header with dependency generation

ers: I'm trying to combine precompiled headers with dependency generation (-MM). Final goal is to generate dependency file for make. Not able to combine them together with -fpch-deps. The motivation ...
dash-o's user avatar
  • 14.2k
0 votes
1 answer
65 views

C makefile with multiple archives

I have a directory that contains both headers and source for a small collection of hobby OpenGL programs. My goal is create two main header files: "toolbox.h" and "geometry.h". ...
James Watson's user avatar
0 votes
1 answer
283 views

make: cc: No such file or directory

I use ubuntu 24.04 lts. I am trying to compile Makefile of my DEXP ZH-UTC2 usb-ethernet adapter with make command. That is how Makefile of the driver looks like: TARGET = ax_usb_nic KDIR = /lib/...
chipichippichappachapppa's user avatar
0 votes
0 answers
59 views

Undefined reference to function (Prob makefile error)

I have a code that is not running probably because a error in my makefile file. I have to run 3 functions from a external library but i cant use them because of thet undefined error My implementation ...
Enzo R.C.'s user avatar

15 30 50 per page
1
2 3 4 5
121