From owner-freebsd-newbies Mon Jun 3 17:22: 9 2002 Delivered-To: freebsd-newbies@freebsd.org Received: from web21103.mail.yahoo.com (web21103.mail.yahoo.com [216.136.227.105]) by hub.freebsd.org (Postfix) with SMTP id BE65637B406 for ; Mon, 3 Jun 2002 17:21:53 -0700 (PDT) Message-ID: <20020604002153.86732.qmail@web21103.mail.yahoo.com> Received: from [152.15.26.29] by web21103.mail.yahoo.com via HTTP; Mon, 03 Jun 2002 17:21:53 PDT Date: Mon, 3 Jun 2002 17:21:53 -0700 (PDT) From: Vinod Subject: Re: ELF binary type "0" not known To: elitetek@tekrealm.net Cc: freebsd-newbies@freebsd.org In-Reply-To: <20020603160003.A86827@freebsd.tekrealm.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org i just found this on the web trying to get rid of my ELF binary type "0" not known error. "First make sure the Linux module is loaded, you can do this via kldstat: helix@subedei (~)% kldstat Id Refs Address Size Name 1 7 0xc0100000 3155f8 kernel 2 1 0xc1174000 8000 linprocfs.ko 3 1 0xc117d000 13000 linux.ko That last module is what you need. If it's there, the next step that you may have to take is running brandelf on it, which hardcodes an ABI to use in the file should one not be detected: # brandelf -t Linux (filename) It should work now. " But my problem is on doing kldstat,i dont have linux.ko.and so it doesnt seem to work for me.so what's to be done? Thanks in advance, Vinod --- Andrew Stuart wrote: > brandelf -t Linux binaryname > On Mon, 03 Jun 2002 at 15:29:55 -0700, Vinod wrote: > > what does the error: ELF binary type "0" not known > > mean? > > this occured when i was installing a linux binary > > distribution on my freebsd box.i know that this > binary > > works well on freebsd.so is there something i need > to > > install to correct this? > > Thanks in advance, > > Vinod > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! - Official partner of 2002 FIFA World Cup > > http://fifaworldcup.yahoo.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-newbies" in the body of > the message > > -- > Andrew > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-newbies" in the body of > the message __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message