From owner-freebsd-ports Fri May 10 2:42:21 2002 Delivered-To: freebsd-ports@freebsd.org Received: from tl.kom.tuwien.ac.at (tl.kom.tuwien.ac.at [128.130.34.35]) by hub.freebsd.org (Postfix) with ESMTP id 33BA137B400; Fri, 10 May 2002 02:42:06 -0700 (PDT) Received: from tl.kom.tuwien.ac.at (localhost [127.0.0.1]) by tl.kom.tuwien.ac.at (8.12.2/8.12.2) with ESMTP id g4A9lOTc039792; Fri, 10 May 2002 11:47:24 +0200 (CEST) (envelope-from tilman@arved.de) Received: (from tilman@localhost) by tl.kom.tuwien.ac.at (8.12.2/8.12.2/Submit) id g4A9lNCs039791; Fri, 10 May 2002 11:47:23 +0200 (CEST) X-Authentication-Warning: tl.kom.tuwien.ac.at: tilman set sender to tilman@arved.de using -f Subject: Open-motif with Xfree-4, getpwuid_r bug? From: Tilman Linneweh To: FreeBSD stable list , ports@freebsd.org Cc: Steve Price Content-Type: multipart/mixed; boundary="=-xAu2Q3PXRkMHOb86SL5r" X-Mailer: Ximian Evolution 1.0.3 Date: 10 May 2002 11:47:22 +0200 Message-Id: <1021024042.55634.46.camel@tl.kom.tuwien.ac.at> Mime-Version: 1.0 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=-xAu2Q3PXRkMHOb86SL5r Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi Stable-list, Hi ports-list, Hi steve. I am currently trying to fix the opem-motif-devel port. I am getting the following error: cc -O -pipe -march=pentium -Wall -Wno-unused -Wno-comment -pthread -o .libs/wmldbcreate wmldbcreate.o ../../lib/Xm/.libs/libXm.so -L/usr/X11R6/lib -lXt -lSM -lICE -lXext -lXp -lX11 -Wl,--rpath -Wl,/usr/X11R6/lib ../../lib/Xm/.libs/libXm.so: undefined reference to `getpwuid_r' ../../lib/Xm/.libs/libXm.so: undefined reference to `getpwnam_r' *** Error code 1 From grepping through /usr/src i think it must be posix_getpwuid_r Since #find . | xargs grep getpwuid_r Binary file ./work/openMotif-2.2.2/lib/Xm/.libs/libXm.so.3 matches Binary file ./work/openMotif-2.2.2/lib/Xm/.libs/libXm.so matches Binary file ./work/openMotif-2.2.2/lib/Xm/.libs/libXm.a matches Binary file ./work/openMotif-2.2.2/lib/Xm/Xmos.o matches Binary file ./work/openMotif-2.2.2/lib/Xm/Xmos.lo matches Doesn't find anything in open-motif src, It must be somewhere in the libraries, but which? X? pthread? I am lost somehow, and dunno how to proceed. I've attached my Makefile, and hope someone has time, to look at this. regards arved --=-xAu2Q3PXRkMHOb86SL5r Content-Disposition: attachment; filename=Makefile Content-Transfer-Encoding: quoted-printable Content-Type: text/x-makefile; name=Makefile; charset=ISO-8859-1 # ex:ts=3D8 # New ports collection makefile for: motif # Date created: 5 December 1994 # Whom: asami # # $FreeBSD: ports/x11-toolkits/open-motif-devel/Makefile,v 1.12 2002/05/08 = 21:03:16 obrien Exp $ # PORTNAME=3D open-motif-devel PORTVERSION=3D 2.2.2 CATEGORIES=3D x11-toolkits MASTER_SITES=3D ftp://ftp.uk.linux.org/pub/linux/openmotif/2.2/src/ \ http://ftp.motifzone.net/2.2/src/ \ ftp://ftp.sgi.com/other/motifzone/2.2/src/ DISTNAME=3D openMotif-${PORTVERSION} MAINTAINER=3D freebsdports@arved.de HAS_CONFIGURE=3D yes #USE_IMAKE=3Dyes CONFIGURE_ENV=3D LDFLAGS=3D"${PTHREAD_LIBS}" .if ${XFREE86_VERSION} >=3D 4 RUN_DEPENDS=3D imake:${PORTSDIR}/devel/imake-4 MTREE_FILE=3D /etc/mtree/BSD.x11-4.dist .else MTREE_FILE=3D /etc/mtree/BSD.x11.dist .endif .include --=-xAu2Q3PXRkMHOb86SL5r-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message