[Varnish] #1167: 3.0.3rc1 Compile Error on Solaris 10 with gcc 4.3.3

Varnish varnish-bugs at varnish-cache.org
Wed Jul 11 11:21:45 CEST 2012


#1167: 3.0.3rc1 Compile Error on Solaris 10 with gcc 4.3.3
--------------------------+-------------------------------------------------
 Reporter:  Dommas        |       Owner:  slink
     Type:  defect        |      Status:  new  
 Priority:  normal        |   Milestone:       
Component:  port:solaris  |     Version:  trunk
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------
 Hi,

 I get a compile error while trying to build 3.0.3-rc1 for Solaris 10 using
 gcc 4.3.3 from OpenCSW.
 Building 3.0.2 and earlier using the same method always worked.

 # CC="/opt/csw/gcc4/bin/gcc" CFLAGS="-O3 -fPIC -pthreads -fomit-frame-
 pointer -m64 -L/opt/csw/lib/amd64 -I/opt/csw/include " LDFLAGS="-lumem
 -pthreads" ./configure --prefix=$PREFIX --with-gnu-ld=yes
 # make
 ...

 cache_waiter_ports.c: In function 'vca_main':
 cache_waiter_ports.c:228: error: 'cache_param' undeclared (first use in
 this function)
 cache_waiter_ports.c:228: error: (Each undeclared identifier is reported
 only once
 cache_waiter_ports.c:228: error: for each function it appears in.)

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1167>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list