[comp.sys.next] duplicate library symbols

sfl@chem.ucsd.edu (Susan Fichera) (04/06/91)

Friends - 
I am having difficulty compiling a C program under OS2.0 that
used to compile without error under OS1.0. It is a program that
makes use of various libraries: libm, libdsp_s, and libarrayproc
being the most important. I now get the following errors from
the loader:

cc -O main.o carith.o checkroots.o convert.o findroots.o laguerre.o  lpa.o lpamp.o makewindows.o oscbank.o readinput.o fft.o shiftin.o  shiftout.o unconvert.o fold.o overlapadd.o  -lm -larrayproc -ldsp_s  -o pvdsp
/bin/ld: multiple definitions of symbol _scalb
/usr/lib/libm.a(support.o) definition of _scalb in section (__TEXT,__text)
/lib/libsys_s.a(support.o) definition of absolute _scalb (value 0x5003794)
/bin/ld: multiple definitions of symbol _copysign
/usr/lib/libm.a(support.o) definition of _copysign in section (__TEXT,__text)
/lib/libsys_s.a(support.o) definition of absolute _copysign (value 0x5003710)
/bin/ld: multiple definitions of symbol _logb
/usr/lib/libm.a(support.o) definition of _logb in section (__TEXT,__text)
/lib/libsys_s.a(support.o) definition of absolute _logb (value 0x5003782)
/bin/ld: multiple definitions of symbol _finite
/usr/lib/libm.a(support.o) definition of _finite in section (__TEXT,__text)
/lib/libsys_s.a(support.o) definition of absolute _finite (value 0x5003740)
/bin/ld: multiple definitions of symbol _drem
/usr/lib/libm.a(support.o) definition of _drem in section (__TEXT,__text)
/lib/libsys_s.a(support.o) definition of absolute _drem (value 0x5003722)
*** Exit 1
Stop.

Has anyone else encountered this? There seems to be a duplication
of symbol names between libm and libsys_s. What can be done?
These are not symbols that I am even using.
Help from NeXT or anyone else would be appreciated.

Susan Fichera
sfl@wendy.ucsd.edu