Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2002 10:47:48 -0700 (PDT)
From:      bruno <bruno@mail.tinkerbox.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41852: port wx-gtk-devel is not linked with pthread libs
Message-ID:  <200208211747.g7LHlmmH020854@duron.bschwand.net>

next in thread | raw e-mail | index | archive | help

>Number:         41852
>Category:       ports
>Synopsis:       port wx-gtk-devel is not linked with pthread libs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 21 10:50:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     bruno
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
tinkerbox.org
>Environment:
System: FreeBSD duron.bschwand.net 4.6-STABLE FreeBSD 4.6-STABLE #1: Tue Jul 30 11:15:37 PDT 2002 bruno@duron.bschwand.net:/usr/obj/usr/src/sys/MYKERNEL i386



>Description:
	when building an application linking with wx-gtk, 
	the following messages appear:
	unresolved reference to pthread_create
	etc.
>How-To-Repeat:
	build a port dependent on wx-gtk-devel
>Fix:

--- Makefile.orig       Wed Aug 21 10:30:04 2002
+++ Makefile    Wed Aug 21 10:32:26 2002
@@ -37,6 +37,7 @@
                          -I${LOCALBASE}/include \
                          -I${X11BASE}/include" \
                LDFLAGS="-L${LOCALBASE}/lib -liconv \
+                        ${PTHREAD_LIBS} \
                         -L${X11BASE}/lib" \
                GTK_CONFIG_2_0="no"
 



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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208211747.g7LHlmmH020854>