Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

build issue: _REENTRANT redefined



Hi!

I tried building NetBSD as of a couple minutes ago as usual with
MKLLVM=yes but as a new option I added MKSANITIZER=yes as well.

I see lots of:

In file included from /usr/src/external/gpl2/lvm2/dist/libdm/misc/dmlib.h:26:0,
                 from /usr/src/external/gpl2/lvm2/dist/libdm/datastruct/bitset.c:18:
/usr/src/external/gpl2/lvm2/dist/include/lib.h:26:0: error: "_REENTRANT" redefined [-Werror]
 #define _REENTRANT

and also:

cc1: error: unrecognized command line option '-Wno-macro-redefined' [-Werror]

I have MKDEBUG=yes MKDEBUGLIB=yes MKLLVM=yes MKSANITIZER=yes.
 Thomas


Home | Main Index | Thread Index | Old Index