I'm having trouble compiling diald 0.6. If you're wondering why I'm using an
old version it's because I'm running MkLinux Pre-R1 on a nubus Mac (2.0.x
kernel).
If anyone has a source rpm for this version please let me know. Otherwise,
if you can glean anything from the following compile errors I'd appreciate
the insight.
In each of the 3 steps in the installation: make depend, make, and make
install, there are many pages of errors. I'll include a little here.
I noticed the following in the diald README:
"If you are
planning to use diald with a kernel numbered 1.3.75 or greater, then you
MUST compile diald using the include files for that kernel."
This might be the problem, but I'm not sure how to set up the correct
include files.
>From make depend:
cc -E -M *.c > .depend
In file included from diald.h:45,
from buffer.c:13:
/usr/include/linux/in.h:66: warning: `IP_PMTUDISC_WANT' redefined
/usr/include/bits/in.h:53: warning: this is the location of the previous
definition
/usr/include/linux/in.h:67: warning: `IP_PMTUDISC_DONT' redefined
/usr/include/bits/in.h:52: warning: this is the location of the previous
definition
>From make:
In file included from diald.h:62,
from diald.c:28:
config.h:36: parse error before `LOCK_PREFIX'
In file included from diald.h:64,
from diald.c:28:
timer.h:17: parse error before `}'
In file included from diald.h:65,
from diald.c:28:
firewall.h:157: field `timer' has incomplete type
firewall.h:170: field `impulse' has incomplete type
In file included from diald.c:28:
diald.h:227: `daemon' redeclared as different kind of symbol
/usr/include/unistd.h:796: previous declaration of `daemon'
diald.c: In function `do_config':
diald.c:72: warning: implicit declaration of function `strdup'
diald.c:72: warning: assignment makes pointer from integer without a cast
diald.c:73: warning: assignment makes pointer from integer without a cast
diald.c: At top level:
diald.c:77: warning: return type of `main' is not `int'
diald.c: In function `main':
diald.c:127: warning: passing arg 1 of `__FD_ZERO' from incompatible pointer
type
diald.c:129: warning: passing arg 2 of `__FD_SET' from incompatible pointer
type
diald.c:130: warning: passing arg 2 of `__FD_SET' from incompatible pointer
type
diald.c:131: warning: passing arg 2 of `__FD_SET' from incompatible pointer
type
diald.c:135: warning: passing arg 2 of `__FD_ISSET' from incompatible
pointer type
diald.c:138: warning: passing arg 2 of `__FD_ISSET' from incompatible
pointer type
diald.c:141: warning: passing arg 2 of `__FD_ISSET' from incompatible
pointer type
diald.c: In function `become_daemon':
diald.c:179: `RUN_PREFIX' undeclared (first use in this function)
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]