ports/85756: Linker error when upgrading port security/stunnel 4.10_3 -> 4.11

Aaron Dalton aaron at daltons.ca
Mon Sep 5 17:50:05 UTC 2005


>Number:         85756
>Category:       ports
>Synopsis:       Linker error when upgrading port security/stunnel 4.10_3 -> 4.11
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 05 17:50:04 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Aaron Dalton
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD chariss.finch.st 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1: Sat Mar 5 16:29:20 MST 2005 ross at chariss.finch.st:/usr/src/sys/i386/compile/CHARISS i386


	
>Description:
Attached is the error I have been receiving when I try to portupgrade or 
manually rebuild.

>How-To-Repeat:
	
>Fix:

	

--- error.txt begins here ---
--->  Upgrading 'stunnel-4.10_3' to 'stunnel-4.11' (security/stunnel)
--->  Building '/usr/ports/security/stunnel'
===>  Building for stunnel-4.11
Making all in src
cd .. && make  am--refresh
/bin/sh /usr/local/bin/libtool15 --tag=CC --mode=link cc  -O -pipe 
-mcpu=pentiumpro -Wall -Wshadow -Wcast-align -Wpointer-arith 
-I/usr/local/include   -rpath=/usr/local/lib -lc_r -o stunnel   client.o 
log.o options.o  protocol.o network.o resolver.o  ssl.o sthreads.o 
stunnel.o  pty.o  -lutil  -L/usr/local/lib -lssl -lcrypto -lwrap
cc -O -pipe -mcpu=pentiumpro -Wall -Wshadow -Wcast-align -Wpointer-arith 
-I/usr/local/include -rpath=/usr/local/lib -o stunnel client.o log.o 
options.o protocol.o network.o resolver.o ssl.o sthreads.o stunnel.o pty.o  
-lutil -L/usr/local/lib -lssl -lcrypto -lwrap
sthreads.o: In function `sthreads_init':
sthreads.o(.text+0xfd): undefined reference to `pthread_attr_init'
sthreads.o(.text+0x111): undefined reference to 
`pthread_attr_setdetachstate'
sthreads.o(.text+0x125): undefined reference to 
`pthread_attr_setstacksize'
sthreads.o: In function `create_client':
sthreads.o(.text+0x1eb): undefined reference to `pthread_create'
*** Error code 1

Stop in /usr/ports/security/stunnel/work/stunnel-4.11/src.
*** Error code 1

Stop in /usr/ports/security/stunnel/work/stunnel-4.11.
*** Error code 1

Stop in /usr/ports/security/stunnel.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portupgrade33555.42 make
** Fix the problem and try again.
--- error.txt ends here ---


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



More information about the freebsd-ports-bugs mailing list