Bad Secondary Magic Number?

Michael I. Lichter lichter at cs.ucla.edu
Mon Oct 8 07:30:00 AEST 1990


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



More information about the Comp.sys.sun mailing list