You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2011/08/31 17:30:10 UTC

[jira] [Updated] (TS-928) Compile problem in TsErrataUtil on FreeBSD 8

     [ https://issues.apache.org/jira/browse/TS-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-928:
-----------------------------

    Fix Version/s: 3.1.1

> Compile problem in TsErrataUtil on FreeBSD 8
> --------------------------------------------
>
>                 Key: TS-928
>                 URL: https://issues.apache.org/jira/browse/TS-928
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.1
>         Environment: FreeBSD 8.2, 32-bit, gcc (GCC) 4.2.1 20070719 
>            Reporter: Radim Kolar
>              Labels: build-failure, freebsd, wccp
>             Fix For: 3.1.1
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira