Date: 10 May 2002 11:47:22 +0200 From: Tilman Linneweh <tilman@arved.de> To: FreeBSD stable list <freebsd-stable@freebsd.org>, ports@freebsd.org Cc: Steve Price <steve@freebsd.org> Subject: Open-motif with Xfree-4, getpwuid_r bug? Message-ID: <1021024042.55634.46.camel@tl.kom.tuwien.ac.at>
next in thread | raw e-mail | index | archive | help
--=-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 <bsd.port.mk> --=-xAu2Q3PXRkMHOb86SL5r-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1021024042.55634.46.camel>