Why not compile this from ports?? Most likely it'll be much easier... Later, Eric Parusel Systems Administrator Global Relay Communications ----- Original Message ----- From: "Ilya" <mail@krel.org> To: <syslog-ng@lists.balabit.hu> Sent: Wednesday, September 19, 2001 9:04 PM Subject: [syslog-ng]compile fail on FreeBSD 4.4-RC
any ideas?
gcc -DHAVE_CONFIG_H -I. -I/usr/tmp/syslog-ng-1.5.10/src -I. -g -O2 -Wall
-I/usr/local/include/libol -D_GNU_SOURCE -c nscache.c In file included from nscache.c:55: /usr/include/netinet/in.h:233: syntax error before `in_addr_t' /usr/include/netinet/in.h:285: syntax error before `u_char' In file included from /usr/include/netinet/in.h:475, from nscache.c:55: /usr/include/netinet6/in6.h:122: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:144: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:149: syntax error before `u_int32_t' /usr/include/netinet6/in6.h:610: syntax error before `*' /usr/include/netinet6/in6.h:612: syntax error before `*' /usr/include/netinet6/in6.h:612: warning: data definition has no type or storage class /usr/include/netinet6/in6.h:613: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:614: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:629: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:634: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:636: syntax error before `u_int8_t' nscache.c: In function `nscache_new': nscache.c:112: structure has no member named `s_addr' nscache.c: In function `nscache_lookup': nscache.c:178: structure has no member named `s_addr' nscache.c:183: structure has no member named `s_addr' nscache.c:183: structure has no member named `s_addr' nscache.c:245: structure has no member named `s_addr' nscache.c:245: structure has no member named `s_addr' nscache.c:247: fixed or forbidden register 0 (ax) was spilled for class AREG. nscache.c:247: This may be due to a compiler bug or to impossible asm nscache.c:247: statements or clauses. nscache.c:247: This is the instruction: (insn 56 55 58 (parallel[ (set (reg:SI 2 %ecx) (udiv:SI (reg/v:SI 2 %ecx) (reg:SI 1 %edx))) (set (reg:SI 1 %edx) (umod:SI (reg/v:SI 2 %ecx) (reg:SI 1 %edx))) ] ) 243 {udivmodsi4} (insn_list 49 (insn_list 55 (nil))) (expr_list:REG_DEAD (reg/v:SI 2 %ecx) (expr_list:REG_DEAD (reg:SI 1 %edx) (expr_list:REG_UNUSED (reg:SI 2 %ecx) (nil))))) *** Error code 1
Stop in /usr/tmp/syslog-ng-1.5.10/src.
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng