NetBSD Problem Report #4731

Received: (qmail 6837 invoked from network); 20 Dec 1997 08:12:14 -0000
Message-Id: <199712200803.AAA09011@wormey.ndip.eskimo.net>
Date: Sat, 20 Dec 1997 00:03:16 -0800 (PST)
From: Steve Allen <allen@wormey.ndip.eskimo.net>
Reply-To: wormey@eskimo.com
To: gnats-bugs@gnats.netbsd.org
Subject: sysutils/xosview fails to link -- multiply defined symbols
X-Send-Pr-Version: 3.95

>Number:         4731
>Category:       pkg
>Synopsis:       sysutils/xosview fails to link -- multiply defined symbols
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 20 00:20:01 +0000 1997
>Closed-Date:    Wed Feb 11 08:11:48 +0000 1998
>Last-Modified:  Wed Feb 11 08:12:47 +0000 1998
>Originator:     Steve Allen
>Release:        1.3_BETA
>Organization:
I speak only for myself.
>Environment:

System: NetBSD wormey 1.3_BETA NetBSD 1.3_BETA (GENERIC) #51: Sun Nov 30 10:07:10 PST 1997 root2@wormey:/usr/src/sys/arch/mac68k/compile/GENERIC mac68k


>Description:
	xosview files build OK, but the link fails because two objects
	in its library define the same symbols


>How-To-Repeat:
Script started on Fri Dec 19 23:53:04 1997
# make
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: tron 
State-Changed-When: Sun Feb 8 12:25:32 PST 1998 
State-Changed-Why:  
I can reproduce neither under NetBSD-i386 nor under NetBSD-Amiga. Can you 
please check if it still exists with 1.3 final release or -current? 
State-Changed-From-To: feedback->closed 
State-Changed-By: tron 
State-Changed-When: Wed Feb 11 00:11:48 PST 1998 
State-Changed-Why:  
Problem fixed, thanks. 
>Unformatted:
 >> Checksum OK for xosview-1.5.1.tar.gz.
 ===>  Extracting for xosview-1.5.1
 ===>  Patching for xosview-1.5.1
 ===>  Configuring for xosview-1.5.1
 creating cache ./config.cache
 checking host system type... m68k-apple-netbsd1.3_BETA
 checking for c++... c++
 checking whether the C++ compiler (c++  ) works... yes
 checking whether the C++ compiler (c++  ) is a cross-compiler... no
 checking whether we are using GNU C++... yes
 checking whether c++ accepts -g... yes
 checking how to run the C preprocessor... cc -E
 checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
 checking for a BSD compatible install... /usr/bin/install -c -o bin -g bin
 checking for mawk... mawk
 checking for ranlib... ranlib
 disabled automatic dependencies by default
 checking for swapctl... yes
 checking for usleep... yes
 updating cache ./config.cache
 creating ./config.status
 creating Makefile
 creating netbsd/Makefile
 creating Makefile.config
 creating Makefile.GNU.autodep
 ===>  Building for xosview-1.5.1
 cd ./netbsd && make
 c++ -O -O -Wall -O4 -pipe -I/usr/X11R6/include  -I. -I./netbsd  -DXOSVIEW_NETBSD=1 -DHAVE_SWAPCTL=1 -DHAVE_USLEEP=1 -I.. -c MeterMaker.cc -o MeterMaker.o

 [ file compiles deleted... ]

 c++ -O -O -Wall -O4 -pipe -I/usr/X11R6/include  -I. -I./netbsd  -DXOSVIEW_NETBSD=1 -DHAVE_SWAPCTL=1 -DHAVE_USLEEP=1 -c main.cc -o main.o
 c++  -L./netbsd -L/usr/X11R6/lib -o xosview llist.o  Host.o  xwin.o  Xrm.o  defaultstring.o  meter.o  fieldmeter.o  fieldmeterdecay.o  bitmeter.o  xosview.o  main.o -lmeter -lX11 -lkvm
 ./netbsd/libmeter.a(memmeter.o): Definition of symbol `_astpending' (multiply defined)
 ./netbsd/libmeter.a(memmeter.o): Definition of symbol `_want_resched' (multiply defined)
 ./netbsd/libmeter.a(pagemeter.o): Definition of symbol `_astpending' (multiply defined)
 ./netbsd/libmeter.a(pagemeter.o): Definition of symbol `_want_resched' (multiply defined)
 *** Error code 1

 Stop.
 *** Error code 1

 Stop.
 *** Error code 1

 Stop.
 *** Error code 1

 Stop.
 # exit
 exit

 Script done on Fri Dec 19 23:58:45 1997

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.