/usr/include/x86_64-kfreebsd-gnu/bits/fcntl2.h:74:1: error: redefinition of 
'int open(const char*, int, ...)'
/usr/include/x86_64-kfreebsd-gnu/bits/fcntl2.h:42:1: error: 'int open(const 
char*, int, ...)' previously defined here

Looks like libc headers?

No it is due to combination of hardening-flags-in-compiler and qpxtool itself:

#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)

...

typedef off_t off64_t;
#define stat64   stat
#define fstat64  fstat
#define open64   open
#define pread64  pread
#define pwrite64 pwrite
#define lseek64  lseek

Without hardening flags, it produces only twice the same prototype,
but with hardening flags, it produces twice the similar inline function.

Petr


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Reply via email to