Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.1
-
FreeBSD 8.2, 32-bit, gcc (GCC) 4.2.1 20070719
Description
TF with --enable-wccp do not compile on FreeBSD. I have gnu sed, flex and bison updated to their latest versions.
/bin/sh ../../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../lib/ts -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5 -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c -o TsErrataUtil.lo TsErrataUtil.cc
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../../lib/ts -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5 -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c TsErrataUtil.cc -fPIC -DPIC -o .libs/TsErrataUtil.o
cc1plus: warnings being treated as errors
TsErrataUtil.cc: In function 'ts::Errata ts::msg::vlogf_errno(ts::Errata&, ts::NumericType<unsigned int, ts::MsgIdTag>, ts::NumericType<unsigned int, ts::CodeTag>, const char*, char*&)':
TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
gmake[3]: *** [TsErrataUtil.lo] Error 1
gmake[3]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib'
gmake: *** [all-recursive] Error 1
-
-
- Error code 1
-
Stop in /home/hsn/ports/trafficserver.