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/05/14 21:58:48 UTC

[jira] [Updated] (TS-778) Compile Fails on Solaris 10 (gcc)

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

Leif Hedstrom updated TS-778:
-----------------------------

    Fix Version/s: 2.1.9

> Compile Fails on Solaris 10 (gcc)
> ---------------------------------
>
>                 Key: TS-778
>                 URL: https://issues.apache.org/jira/browse/TS-778
>             Project: Traffic Server
>          Issue Type: Bug
>    Affects Versions: 2.1.8
>         Environment: Solaris 10 x86 / gcc 4.4.2
>            Reporter: Igor Brezac
>            Assignee: John Plevyak
>             Fix For: 2.1.9
>
>
> g++ -DHAVE_CONFIG_H -DMGMT_USE_SYSLOG -I. -I../../lib/ts  -I../../proxy/hdrs -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Dsolaris -I/usr/local/include  -O3 -m64 -g -pipe -Wall -Werror -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof -MT IPRange.o -MD -MP -MF .deps/IPRange.Tpo -c -o IPRange.o IPRange.cc
> In file included from ../../lib/ts/Map.h:31,
>                  from ../../lib/ts/libts.h:96,
>                  from IPRange.h:27,
>                  from IPRange.cc:44:
> ../../lib/ts/Vec.h: In member function 'void Vec<C, A, S>::addx()':
> ../../lib/ts/Vec.h:627: error: there are no arguments to '__assert' that depend on a template parameter, so a declaration of '__assert' must be available
> ../../lib/ts/Vec.h:627: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
> In file included from ../../lib/ts/libts.h:96,
>                  from IPRange.h:27,
>                  from IPRange.cc:44:
> ../../lib/ts/Map.h: In constructor 'MapElem<K, C>::MapElem(uintptr_t)':
> ../../lib/ts/Map.h:57: error: there are no arguments to '__assert' that depend on a template parameter, so a declaration of '__assert' must be available
> make[2]: *** [IPRange.o] Error 1
> make[2]: Leaving directory `/src/trafficserver-2.1.8-unstable/mgmt/preparse'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/src/trafficserver-2.1.8-unstable/mgmt'
> make: *** [all-recursive] Error 1

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