Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | raw e-mail

[-- Attachment #1 --]

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



[-- Attachment #2 --]
# ex:ts=8
# 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=	open-motif-devel
PORTVERSION=	2.2.2
CATEGORIES=	x11-toolkits
MASTER_SITES=	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=	openMotif-${PORTVERSION}

MAINTAINER=	freebsdports@arved.de

HAS_CONFIGURE=	yes
#USE_IMAKE=yes

CONFIGURE_ENV=  LDFLAGS="${PTHREAD_LIBS}"

.if ${XFREE86_VERSION} >= 4
RUN_DEPENDS=	imake:${PORTSDIR}/devel/imake-4
MTREE_FILE=	/etc/mtree/BSD.x11-4.dist
.else
MTREE_FILE=	/etc/mtree/BSD.x11.dist
.endif

.include <bsd.port.mk>
help

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