[Varnish] #304: Build fails on "undefined reference to `pthread_self'"

Varnish varnish-bugs at projects.linpro.no
Mon Sep 1 17:07:30 CEST 2008


#304: Build fails on "undefined reference to `pthread_self'"
------------------------+---------------------------------------------------
 Reporter:  bonetruck2  |       Owner:  des                      
     Type:  defect      |      Status:  new                      
 Priority:  normal      |   Milestone:  Varnish 2.0 code complete
Component:  build       |     Version:  2.0                      
 Severity:  normal      |    Keywords:  beta1                    
------------------------+---------------------------------------------------
 The tech preview release built and ran fine.  However, the current beta1
 now fails to build with the following error:

 cc -O2 -pipe -o .libs/varnishadm varnishadm.o
 -L../../lib/libvarnish/.libs -lvarnish -lm
 -L../../lib/libvarnishcompat/.libs -lvarnishcompat
 -Wl,-rpath,/usr/local/lib
 ../../lib/libvarnish/.libs/libvarnish.so.1.0: undefined reference to
 `pthread_self'
 collect2: ld returned 1 exit status
 *** Error code 1

 I'm guessing there may be differences between pthread and pthread_np.

 Any other information I can provide to help diagnose this?

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/304>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list