From owner-freebsd-hackers Sat Feb 4 20:06:05 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id UAA03393 for hackers-outgoing; Sat, 4 Feb 1995 20:06:05 -0800 Received: from vmbb.cts.com (vmbb.cts.com [192.188.72.18]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id UAA03385 for ; Sat, 4 Feb 1995 20:06:03 -0800 Received: from io.cts.com by vmbb.cts.com with smtp (Smail3.1.28.1 #9) id m0rayEV-0000q7C; Sat, 4 Feb 95 20:05 PST Received: (from root@localhost) by io.cts.com (8.6.9/8.6.9) id TAA09402 for hackers@freebsd.org; Sat, 4 Feb 1995 19:57:14 -0800 From: Morgan Davis Message-Id: <199502050357.TAA09402@io.cts.com> Subject: Error building xvnews, cuserid? To: hackers@FreeBSD.org Date: Sat, 4 Feb 1995 19:57:13 -0800 (PST) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1269 Sender: hackers-owner@FreeBSD.org Precedence: bulk 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