bug-inetutils
[Top][All Lists]
Advanced

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

error compiling inetutils 2.5 on macOS Sonoma


From: Erik A Johnson
Subject: error compiling inetutils 2.5 on macOS Sonoma
Date: Sat, 30 Dec 2023 04:02:33 +0000

compiling inetutils 2.5 on macOS Sonoma gives an error compiling src/syslogd.c because the third argument in the prototype for ttymsg is "char *" but macOS /usr/include/util.h has it as "const char *”.

The following is a hack to fix:

perl -i.orig -ple 's/(ttymsg\s*\(struct iovec\s*\*,\s*int,\s*)(char\s*\*)/$1const $2/;' src/syslogd.c



reply via email to

[Prev in Thread] Current Thread [Next in Thread]