*BSD News Article 94571


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!EU.net!main.Germany.EU.net!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!news.gtn.com!klemm.gtn.com!not-for-mail
From: andreas@klemm.gtn.com (Andreas Klemm)
Newsgroups: comp.windows.x.apps,comp.unix.bsd.freebsd.misc
Subject: Re: XBL compile chokes...please help
Date: 27 Apr 1997 22:08:31 GMT
Organization: private site ``powered by FreeBSD'', see http://www.FreeBSD.ORG/
Lines: 41
Message-ID: <5k0iov$bku$1@klemm.gtn.com>
References: <334DAA3C.41C67EA6@javanet.com>
NNTP-Posting-Host: klemm.gtn.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
To: "John D. Szumowski" <harpo@javanet.com>
Xref: euryale.cc.adfa.oz.au comp.windows.x.apps:13648 comp.unix.bsd.freebsd.misc:39844


[Posted and mailed]

In article <334DAA3C.41C67EA6@javanet.com>,
	"John D. Szumowski" <harpo@javanet.com> writes:
> I am trying to get xbl 1.0h to compile.
> Being relatively new to UNIX (I use FreeBSD 2.2 and XFree86 3.1.2), I am
> unsure as to what I should do about the following:
> (output of make, 1st ran ./configure)
> 
> cc -m486 -O2 -L/usr/X11R6/lib bl.o initdisp.o initgc.o initwin.o
> options.o bloc.o transfo.o initbuffer.o help.o demo.o movingbloc.o
> loop.o draw.o opbloc.o realtime.o initbloc.o menu.o initmenu.o score.o
> sound.o buttons.o movingbutton.o zoo.o gameevent.o -lXExExt -lXext -lX11
> -lgnumalloc -lm -o bl
> *** Error code 1
> 
> Stop.
> score.c:315:Undefined symbol '_cuserid' refrenced from text segment.

man cuserid
CUSERID(3)             FreeBSD Library Functions Manual             CUSERID(3)

NAME
     cuserid - get user name associated with effective UID

SYNOPSIS
     #include <stdio.h>

     char *
     cuserid(char *s)

DESCRIPTION
     The cuserid function is made obsolete by getpwuid.
     It is available from the compatibility library, libcompat.

Hint: link with -lcompat

-- 
powered by
   Symmetric MultiProcessor FreeBSD
      http://www.freebsd.org/~fsmp/SMP/SMP.html