uname -a
FreeBSD 4.9-RELEASE
gcc -v
gcc version 2.95.4 20020320 [FreeBSD]
install with ports
error info:
make all-recursive
Making all in src
source='mod_flv_streaming.c' object='mod_flv_streaming.lo' libtool=yes DEPDIR=.deps depmode=gcc /bin/sh ../depcomp /bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/local/lib/lighttpd\"" -I. -I.. -D_REENTRANT -DEXTENSIONS -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -O -pipe -I/usr/local/include -Wall -W -Wshadow -pedantic -std=gnu99 -c -o mod_flv_streaming.lo mod_flv_streaming.c
mkdir .libs
cc -DHAVE_CONFIG_H -DLIBRARY_DIR=\"/usr/local/lib/lighttpd\" -I. -I.. -D_REENTRANT -DEXTENSIONS -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -O -pipe -I/usr/local/include -Wall -W -Wshadow -pedantic -std=gnu99 -c mod_flv_streaming.c -Wp,-MD,.deps/mod_flv_streaming.TPlo -fPIC -DPIC -o .libs/mod_flv_streaming.o
cc1: unknown C standard `gnu99'
In file included from mod_flv_streaming.c:2:
/usr/include/stdlib.h:111: warning: ANSI C does not support `long long'
/usr/include/stdlib.h:117: warning: ANSI C does not support `long long'
In file included from mod_flv_streaming.c:5:
base.h:487: warning: comma at end of enumerator list
*** Error code 1
Stop in /usr/ports/www/lighttpd/work/lighttpd-1.4.15/src.
*** Error code 1
Stop in /usr/ports/www/lighttpd/work/lighttpd-1.4.15.
*** Error code 1
Stop in /usr/ports/www/lighttpd/work/lighttpd-1.4.15.
*** Error code 1
Stop in /usr/ports/www/lighttpd.
*** Error code 1
Stop in /usr/ports/www/lighttpd.