Version 1.1.34 of the DCC

Gary Mills mills@cc.UManitoba.CA
Mon Apr 14 19:41:12 UTC 2003


On Sun, Apr 13, 2003 at 10:47:28AM -0600, Vernon Schryver wrote:
> Version 1.1.34 of the DCC source is in
> ttp://www.rhyolite.com/anti-spam/dcc/source/dccd.tar.Z and
> http://www.dcc-servers.net/dcc/source/dccd.tar.Z

I found a bug while compiling this under Solaris:

cc -D_REENTRANT   -I../include    -c -o dccif.o dccif.c
"dccif.c", line 79: syntax error before or at: 1
"dccif.c", line 80: invalid type combination
"dccif.c", line 80: cannot recover from previous errors
cc: acomp failed for dccif.c
gmake[1]: *** [dccif.o] Error 2
gmake: *** [all] Error 2

Here are the offending lines:

    77          u_int16_t port;
    78          DCC_SOCKU su;
----------------------------------------
    79          struct sockaddr_un sun;
----------------------------------------
    80          const char *cp;
    81          int error;

This is a classic Sun symbol problem.  The solution is to change
all instances of `sun' to `dccif_sun' in that file.

-- 
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-



More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.