Gavin Smith wrote: > getprogname.c: In function 'getprogname': > getprogname.c:255:4: error: #error "getprogname module not ported to this OS" > 255 | # error "getprogname module not ported to this OS" > | ^~~~~ > make[5]: *** [Makefile:3572: libgnu_la-getprogname.lo] Error 1
Never seen this before. The compiler that you use is x86_64-linux-gnu-gcc, therefore I guess the OS is GNU/Linux. What are the values of HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME and HAVE_DECL_PROGRAM_INVOCATION_NAME in config.h ? If you have several config.h files, can you look in each of them, and which config.h file is being actually used? > This is always the risk with adding more gnulib modules, due to the > dependencies > they can bring in. It brings in a large amount of code for the sake of > a function that is only called once. Yes. But that code is well-tested by many packages on many platforms. Bruno
