tech-toolchain archive

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

Re: Cross compiling Kernel with all options enabled and compiler wrapper



On 8/20/25 9:47 AM, Nando Schenk wrote:
/home/nando/Documents/Schule/Maturitaetsarbeit/neu/netbsd-src-ftp/src/ tools/texinfo/../../external/gpl2/texinfo/dist/lib/system.h:127:12: error: conflicting types for 'strncasecmp'; have 'int(void)'
   127 | extern int strncasecmp ();
       |            ^~~~~~~~~~~
/usr/include/strings.h:120:12: note: previous declaration of 'strncasecmp' with type 'int(const char *, const char *, long unsigned int)'   120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
       |            ^~~~~~~~~~~

That sounds like the combination of a long-term issue with visibility on Linux and newer GCC defaulting to break old code. Explicitly using -std=gnu99 in HOST_CFLAGS might help.

Joerg


Home | Main Index | Thread Index | Old Index