Asher, Try this: netinet/in.h:#define INADDR_NONE 0xffffffff /Mick
-----Original Message----- From: Asher Yanich [mailto:ayanic01@cs.fiu.edu] Sent: Thursday, May 10, 2001 4:32 PM To: syslog-ng@lists.balabit.hu Subject: [syslog-ng]Compile error...
Solaris 2.6 : gcc -DHAVE_CONFIG_H -I. -I/a/mustang.cs.fiu.edu./disk/33/a/depot/syslog-ng/share/src/s yslog-ng-1.5.6/src -I. -O2 -Wall -I/a/mustang.cs.fiu.edu./disk/33/a/depot/syslog-ng/share/src/l ibol-0.2.22/src -D_GNU_SOURCE -c nscache.c nscache.c: In function `nscache_new': nscache.c:112: `INADDR_NONE' undeclared (first use in this function) nscache.c:112: (Each undeclared identifier is reported only once nscache.c:112: for each function it appears in.) gmake[3]: *** [nscache.o] Error 1 gmake[3]: Leaving directory `/a/mustang.cs.fiu.edu./disk/33/a/depot/syslog-ng/share/src/sy slog-ng-1.5.6/src' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/a/mustang.cs.fiu.edu./disk/33/a/depot/syslog-ng/share/src/sy slog-ng-1.5.6/src' gmake[1]: *** [all-recursive-am] Error 2 gmake[1]: Leaving directory `/a/mustang.cs.fiu.edu./disk/33/a/depot/syslog-ng/share/src/sy slog-ng-1.5.6/src' gmake: *** [all-recursive] Error 1
Same error with 1.5.5a.. sent message to the list but list was down a few weeks ago...
Thanks, Asher
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng
nscache.c: In function `nscache_new': nscache.c:112: `INADDR_NONE' undeclared (first use in this function) nscache.c:112: (Each undeclared identifier is reported only once nscache.c:112: for each function it appears in.) gmake[3]: *** [nscache.o] Error 1 gmake[3]: Leaving directory `/a/mustang.cs.fiu.edu./disk/33/a/depot/syslog-ng/share/src/sy slog-ng-1.5.6/src'
Index: nscache.c =================================================================== RCS file: /var/cvs/syslog-ng/src/nscache.c,v retrieving revision 1.3 diff -u -r1.3 nscache.c --- nscache.c 2001/04/14 08:02:17 1.3 +++ nscache.c 2001/05/11 08:12:23 @@ -109,7 +109,7 @@ } for (i = 0; i < cache->size; i++) { - cache->entries[i].addr.s_addr = INADDR_NONE; + cache->entries[i].addr.s_addr = 0; cache->entries[i].name = NULL; cache->entries[i].expire = 0; cache->entries[i].used = 0; -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
participants (2)
-
Balazs Scheidler
-
Ohrberg, Mick