*BSD News Article 29914


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!EU.net!Austria.EU.net!siemens.co.at!salb
From: salb@PROBLEM_WITH_INEWS_DOMAIN_FILE (Bernd Salbrechter)
Subject: Re: ld: bad magic number in ../../lib/libkrb.a(#1)
Sender: news@siemens.co.at (Newssoftware)
Message-ID: <1994Apr26.070205.22752@siemens.co.at>
Date: Tue, 26 Apr 1994 07:02:05 GMT
References: <2p9ovj$7v4@godot.cc.duq.edu>
Nntp-Posting-Host: pc2214.gud.siemens-austria
Organization: SIEMENS Austria Corp., A-1100 Wien, Gudrunstr. 11
X-Newsreader: Tin 1.1 PL5
Lines: 18

Douglas Luce (luce@next.duq.edu) wrote:
: This error crops up while compiling Kerberos v4 under NetBSD0.9 using the
: stock cc/ld.  The library is there, every object in it compiled with
: no errors, and neither ar nor ranlib produced any adverse output.  But
: still, I get these silly "bad magic number" errors.  
: 
: Can anyone suggest a plan of action in trying to diagnose this error?
: 
: Thanks,
: 
: Doug
: 

I had the same problem some time ago, renameing some objectfiles (*.o) whith
very long names solve the problem. Maybe ld process the archive directly
and ignore the new format for long names.

Bernd