Problem compiling on FreeBSD
Hi I'm trying to compile syslog-ng_1.5.20 on FreeBSD 4.6.2-RELEASE, but I get the error below. I'm using Libol 0.3.3. Anyone got some clues to what might be wrong? gcc -DHAVE_CONFIG_H -I. -I/tmp/syslog-ng-1.5.20/src -I. -g -O2 -Wall -I/usr/local/include/libol -D_GNU_SOURCE -c afremctrl.c gcc -DHAVE_CONFIG_H -I. -I/tmp/syslog-ng-1.5.20/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:467, 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:612: syntax error before `*' /usr/include/netinet6/in6.h:614: syntax error before `*' /usr/include/netinet6/in6.h:614: warning: data definition has no type or storage class /usr/include/netinet6/in6.h:615: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:616: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:631: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:636: syntax error before `u_int8_t' /usr/include/netinet6/in6.h:638: 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 /tmp/syslog-ng-1.5.20/src. *** Error code 1 Best regards Nicolai Gylling
participants (1)
-
Nicolai Strøm Gylling