Subject: pkg/27249: privoxy fails to build under NetBSD1.6.2
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mlelstv@serpens.de>
List: pkgsrc-bugs
Date: 10/13/2004 12:21:24
>Number:         27249
>Category:       pkg
>Synopsis:       privoxy fails to build under NetBSD1.6.2
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 13 10:22:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael van Elst Mlelstv
>Release:        NetBSD 1.6.2_STABLE
>Organization:
	
>Environment:
	
	
System: NetBSD fud 1.6.2_STABLE NetBSD 1.6.2_STABLE (FUD) #6: Tue Sep 21 21:32:28 MEST 2004 src@fud:/d/0/src/sys/arch/i386/compile/FUD i386
Architecture: i386
Machine: i386
>Description:
Building privoxy-3.0.3 under 1.6.2 fails with:

gcc: unrecognized option `-pthread'
gcc -L/usr/pkg/lib -Wl,-R/usr/pkg/lib  -pthread -o privoxy actions.o cgi.o cgiedit.o cgisimple.o deanimate.o encode.o errlog.o filters.o gateway.o jbsockets.o jcc.o killpopup.o list.o loadcfg.o loaders.o miscutil.o parsers.o ssplit.o urlmatch.o  pcrs.o pcre/get.o pcre/maketables.o pcre/study.o pcre/pcre.o pcre/pcreposix.o   
gcc: unrecognized option `-pthread'
errlog.o: In function `log_error':
errlog.o(.text+0x135): undefined reference to `pthread_self'
jcc.o: In function `listen_loop':
jcc.o(.text+0x1be0): undefined reference to `pthread_attr_init'
jcc.o(.text+0x1beb): undefined reference to `pthread_attr_setdetachstate'
jcc.o(.text+0x1c08): undefined reference to `pthread_create'
jcc.o(.text+0x1c27): undefined reference to `pthread_attr_destroy'
collect2: ld returned 1 exit status

>How-To-Repeat:
Try to build www/privoxy under NetBSD-1.6.2

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: