|
From: | Kevin Schroeder |
Subject: | [bug-mailutils] Compile error |
Date: | Sat, 2 Oct 2004 13:07:05 -0500 |
Hello. I'm trying to compile the mailutils
0.5 on a Solaris 8 system and I'm getting the following error:
In file included from
daemon.c:30:
../include/mailutils/daemon.h:25: error: parse error before "__P" ../include/mailutils/daemon.h:26: error: parse error before "__P" daemon.c: In function `daemon_create_pidfile': daemon.c:64: error: `daemon_remove_pidfile' undeclared (first use in this function) daemon.c:64: error: (Each undeclared identifier is reported only once daemon.c:64: error: for each function it appears in.) make[4]: *** [daemon.lo] Error 1 make[4]: Leaving directory `/usr/local/src/mailutils-0.5/mailbox' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/local/src/mailutils-0.5/mailbox' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/local/src/mailutils-0.5/mailbox' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/mailutils-0.5' make: *** [all] Error 2 What do I need to change to make it compile?
The "offending" lines are
extern int daemon_create_pidfile __P
((const char *));
extern void daemon_remove_pidfile __P ((void)); Thanks
Kevin
|
[Prev in Thread] | Current Thread | [Next in Thread] |