Hi,
Box is Mandrake 8.0 final, kernel 2.4.3-20mdk. I get the following
error when trying to compile daemontools. It also happened to me on a
Redhat 7.1 box. I think it's something gcc version 2.96 2731
related. Somebody please help me patch this file so it will compile.
This is the error I am receiving:
./compile tai64nlocal.c
tai64nlocal.c: In function `main':
tai64nlocal.c:58: warning: assignment makes pointer from integer without
a cast
tai64nlocal.c:59: dereferencing pointer to incomplete type
tai64nlocal.c:61: dereferencing pointer to incomplete type
tai64nlocal.c:63: dereferencing pointer to incomplete type
tai64nlocal.c:65: dereferencing pointer to incomplete type
tai64nlocal.c:67: dereferencing pointer to incomplete type
tai64nlocal.c:69: dereferencing pointer to incomplete type
make: *** [tai64nlocal.o] Error 1
Here are lines 59-69 from tai64nlocal.c
---
out(num,fmt_ulong(num,(unsigned long) (1900 + t-tm_year)));
out(-,1);
out(num,fmt_uint0(num,(unsigned int) (1 + t-tm_mon),2));
out(-,1);
out(num,fmt_uint0(num,(unsigned int) t-tm_mday,2));
out( ,1);
out(num,fmt_uint0(num,(unsigned int) t-tm_hour,2));
out(:,1);
out(num,fmt_uint0(num,(unsigned int) t-tm_min,2));
out(:,1);
out(num,fmt_uint0(num,(unsigned int) t-tm_sec,2));
Thanks,
Mike