Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!news.kei.com!bloom-beacon.mit.edu!ai-lab!life.ai.mit.edu!mycroft From: mycroft@duality.gnu.ai.mit.edu (Charles Hannum) Newsgroups: comp.os.386bsd.questions Subject: Re: ld: bad magic number in ../../lib/libkrb.a(#1) Date: 27 Apr 1994 22:34:17 GMT Organization: MIT Artificial Intelligence Lab Lines: 20 Message-ID: <MYCROFT.94Apr27183417@duality.gnu.ai.mit.edu> References: <2p9ovj$7v4@godot.cc.duq.edu> NNTP-Posting-Host: duality.gnu.ai.mit.edu In-reply-to: luce@next.duq.edu's message of 23 Apr 1994 00:09:23 GMT In article <2p9ovj$7v4@godot.cc.duq.edu> luce@next.duq.edu (Douglas Luce) writes: This error crops up while compiling Kerberos v4 under NetBSD0.9 using the stock cc/ld. Well, your subject line indicates the problem. Under 0.9, you need to use the `-T' option to ar(1), to truncate file names, when building the library. Otherwise, ar(1) uses a hack to put the extended file name in the data section of the archive entry, which is not compatible with the ld(1) in 0.9. This is not necessary under -current. -- - Charles Hannum NetBSD group Working ports: i386, hp300, amiga, sparc, mac68k, pc532. In progress: pmax, sun3.