Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!rice!rice!sun-spots-request From: lichter@cs.ucla.edu (Michael I. Lichter) Newsgroups: comp.sys.sun Subject: Bad Secondary Magic Number? Keywords: Miscellaneous Message-ID: <1990Oct7.223540.27977@rice.edu> Date: 7 Oct 90 21:30:00 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 25 Approved: Sun-Spots@rice.edu Originator: spots@walhalla.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 331, message 10 Hi. One of the people 'round here is trying to compile one of his programs under SunOS 4.1. It works fine under SunOS 4.0.3, but when he goes to load it under SunOS 4.1, he gets: ld: sfinx_fxcore.o: bad secondary magic number Just to be sure about this problem, I tried cc -o junk sfinx_fxcore.o and got the same message. The .o file mentioned above was constructed from a bunch of .o files in a hierarchical fashion, which bunches of .o files linked together using "ld -r" and then linked together with some more .o files and a .a file. I tried using roughly the same procedure with a different batch of .o files and didn't encounter this problem. This is all on an SS1 running SunOS 4.1 using regular cc, and all of the .o files were created in this environment. Does anybody know what this means? Does anybody have any idea what to do about it? Michael