Ticket #511 (closed defect: duplicate)
FreeBSD compile fails
| Reported by: | anonymous | Owned by: | jan |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | core | Version: | 1.4.10 |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Need User Feedback: | Blocking: |
Description
ake all-recursive Making all in src if /usr/local/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/local/lib\"" -I. -I. -I.. -D_REENTRANT -DEXTENSIONS -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -Wall -W -Wshadow -pedantic -MT mod_evasive.lo -MD -MP -MF ".deps/mod_evasive.Tpo" -c -o mod_evasive.lo mod_evasive.c; then mv -f ".deps/mod_evasive.Tpo" ".deps/mod_evasive.Plo"; else rm -f ".deps/mod_evasive.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -DLIBRARY_DIR=\"/usr/local/lib\" -I. -I. -I.. -D_REENTRANT -DEXTENSIONS -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -Wall -W -Wshadow -pedantic -MT mod_evasive.lo -MD -MP -MF .deps/mod_evasive.Tpo -c mod_evasive.c -fPIC -DPIC -o .libs/mod_evasive.o
In file included from fdevent.h:52,
from base.h:25, from mod_evasive.c:5:
/usr/include/sys/event.h:57: error: syntax error before "u_short" In file included from /usr/include/sys/event.h:122,
from fdevent.h:52, from base.h:25, from mod_evasive.c:5:
/usr/include/sys/_lock.h:38: error: syntax error before "u_int" In file included from /usr/include/sys/event.h:123,
from fdevent.h:52, from base.h:25, from mod_evasive.c:5:
/usr/include/sys/_mutex.h:40: error: syntax error before "mtx_recurse" *** Error code 1
Stop in /root/lighttpd-1.4.10/src. *** Error code 1
Stop in /root/lighttpd-1.4.10. *** Error code 1
Stop in /root/lighttpd-1.4.10.

