Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2002 17:21:53 -0700 (PDT)
From:      Vinod <geekvinod@yahoo.com>
To:        elitetek@tekrealm.net
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: ELF binary type "0" not known
Message-ID:  <20020604002153.86732.qmail@web21103.mail.yahoo.com>
In-Reply-To: <20020603160003.A86827@freebsd.tekrealm.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <elitetek@tekrealm.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020604002153.86732.qmail>