Subject: multiply defined _isnan
To: None <netbsd-bugs@sun-lamp.cs.berkeley.edu>
From: Drew Hess <dhess@CS.Stanford.EDU>
List: netbsd-bugs
Date: 02/14/1994 23:27:49
Both the current libc and libm define isnan(), which causes a namespace
clash when linking programs with libm.

Witness /usr/src/bin/ps:

# make
cc  -static -o ps devname.o keyword.o nlist.o print.o ps.o -lm -lkvm
multiply defined: _isnan, type 0x1
s_isnan.o: Definition of symbol _isnan (multiply defined)
multiply defined: _isnan, type 0x1
isinf.o: Definition of symbol _isnan (multiply defined)
*** Error code 1

Stop.


-dwh-
dhess@cs.stanford.edu

------------------------------------------------------------------------------