Subject: pkg/24535: www/mozilla fails to build (getprotobyname_r)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <collver1@comcast.net>
List: netbsd-bugs
Date: 02/22/2004 13:45:43
>Number:         24535
>Category:       pkg
>Synopsis:       www/mozilla fails to build (getprotobyname_r)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 23 15:42:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6ZK
>Organization:
Never wear your best pants when you go to fight for freedom.
>Environment:
System: NetBSD sanctum 1.6ZK NetBSD 1.6ZK (SANCTUM) #0: Sat Feb 21 02:26:05 PST 2004 root@sanctum:/usr/src/sys/arch/i386/compile/SANCTUM i386
Architecture: i386
Machine: i386
>Description:
	There's an undefined reference to getprotobyname_r() in www/mozilla.
>How-To-Repeat:
	Build mozilla on NetBSD i386 1.6ZK.

	g++  -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/include  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -O2 -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/include -Dunix -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2 -o regxpcom regxpcom.o -Wl,-R/usr/pkg/lib/mozilla -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/X11R6/lib   -L../../../dist/bin -L../../../dist/lib ../../../dist/lib/libxpcomglue.a ../../../dist/lib/libembedstring.a -L/usr/pkgsrc/www/mozilla/work/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -L/usr/pkg/lib -L/usr/lib -pthread   -lm -lintl -Wl,--export-dynamic
../../../dist/bin/libnspr4.so: undefined reference to `getprotobyname_r'
../../../dist/bin/libnspr4.so: undefined reference to `getprotobynumber_r'
>Fix:
	I am not sure how to fix this.
>Release-Note:
>Audit-Trail:
>Unformatted: