-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
I tried both with Recorder straight from git and the 2.3.2 release, but keep getting this error when building:
% make
Consolidate compiler generated dependencies of target recorder
[ 4%] Building C object lib/CMakeFiles/recorder.dir/recorder-posix.c.o
/home/robl/work/Recorder/lib/recorder-posix.c:42: warning: "_GNU_SOURCE" redefined
42 | #define _GNU_SOURCE
|
<command-line>: note: this is the location of the previous definition
/tmp/ccIsYwVa.s: Assembler messages:
/tmp/ccIsYwVa.s:1425: Error: symbol `pread64' is already defined
/tmp/ccIsYwVa.s:4723: Error: symbol `open64' is already defined
/tmp/ccIsYwVa.s:7799: Error: symbol `fopen64' is already defined
/tmp/ccIsYwVa.s:10294: Error: symbol `pwrite64' is already defined
/tmp/ccIsYwVa.s:12852: Error: symbol `lseek64' is already defined
make[2]: *** [lib/CMakeFiles/recorder.dir/build.make:132: lib/CMakeFiles/recorder.dir/recorder-posix.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:896: lib/CMakeFiles/recorder.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
I am on Ubuntu 22.04.1,
using gcc-11.2.0
libc version: 2.35-0ubuntu3.1
Metadata
Metadata
Assignees
Labels
No labels