Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Feb 1995 19:57:13 -0800 (PST)
From:      Morgan Davis <root@io.cts.com>
To:        hackers@FreeBSD.org
Subject:   Error building xvnews, cuserid?
Message-ID:  <199502050357.TAA09402@io.cts.com>

next in thread | raw e-mail | index | archive | help
I just grabbed the three xview packages from ftp.freebsd.org and
installed them (and many of the sample programs give weird errors or
die, but that's another matter).

I grabbed so that I could build xvnews 2.3.  All builds fine, but the
link fails:

gcc -o xvnews -m486 -O2      -L/usr/X11R6/lib getdate.o main.o
server.o textsw_regexp.o xv_articles.o xv_err.o   xv_getauthor.o
xv_init.o xv_init_newsrc.o xv_newsrc.o   xv_parse_newsrc.o xv_post.o
xv_props.o xv_regex.o xv_search.o   xv_sort.o xv_stuff.o
xvnews_stubs.o xvnews_ui.o xv_drag.o xv_kill.o -Lguide -lguidexv
-Lguide/libguide -lguide -L/usr/openwin/lib -lxview -lolgx -lX11      
xv_post.o: Undefined symbol `_cuserid' referenced from text segment
xv_post.o: Undefined symbol `_cuserid' referenced from text segment
xv_post.o: Undefined symbol `_cuserid' referenced from text segment
xv_post.o: Undefined symbol `_cuserid' referenced from text segment
*** Error code 1

Stop.


There are calls to a function cuserid().  Any idea which library
should be included to allow it to build right?  Or some other
configuration setting that'll fix it?

uname -a reports:

FreeBSD io.cts.com 2.1.0-Development FreeBSD 2.1.0-Development #0: Sat
Jan 28 15:28:45 PST 1995     root@io.cts.com:/usr/src/sys/compile/IO i386



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