Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!ubc-cs!moose.cs.ubc.ca!majka From: majka@moose.cs.ubc.ca (Marc Majka) Newsgroups: comp.sys.apollo Subject: C Math on DN10000 Keywords: math C apollo DN10000 Message-ID: <2512@ubc-cs.UUCP> Date: 18 Jul 89 19:07:18 GMT Sender: news@cs.ubc.ca Reply-To: majka@cs.ubc.ca (Marc Majka) Organization: UBC Department of Computer Science, Vancouver, B.C., Canada Lines: 36 Help! I recently upgraded our DN10000 from 10.0 to 10.1, and all the C math functions have disappeared. For example: main() { float x, sin(); x = sin(1.0); } when compiled, gives the message: % cc foo.c undefined first referenced symbol in file matherr /usr/lib/crt0.o sin foo.o ld warning: Output file a.out not executable The "matherr" object also appears in a console message when I reboot the node. I get something like: Loading Init. Undefined Global "ldexp" referenced in /lib/libc Undefined Global "ldexp" referenced in /lib/libc Undefined Global "matherr" referenced in /lib/libc I've called the hotline about this. The languages group eventually gave up and declared that it was a system problem. The system group has no idea what is going on. I can't believe that this is happening on every DN10000 which is running SR10.1.p! The library files /lib/syslib and /lib/clib are there, but something must be missing. Any help would be greatly appreciated! --- Marc Majka - System Manager UBC Computer Science