From owner-freebsd-hackers Thu Dec 4 13:58:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA06765 for hackers-outgoing; Thu, 4 Dec 1997 13:58:36 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from opus.cts.cwu.edu (opus.cts.cwu.edu [198.104.92.71]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA06751 for ; Thu, 4 Dec 1997 13:58:32 -0800 (PST) (envelope-from skynyrd@opus.cts.cwu.edu) Received: from localhost (skynyrd@localhost) by opus.cts.cwu.edu (8.8.8/8.8.7) with ESMTP id NAA14863; Thu, 4 Dec 1997 13:54:41 -0800 (PST) (envelope-from skynyrd@opus.cts.cwu.edu) Date: Thu, 4 Dec 1997 13:54:41 -0800 (PST) From: Chris Timmons To: Søren Schmidt cc: Luigi Rizzo , hackers@FreeBSD.ORG Subject: Re: ELF and linux emulator problem... In-Reply-To: <199712041623.RAA05763@sos.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk fyi - brandelf solved our problem with the real audio encoder program. thanks! -Chris On Thu, 4 Dec 1997, Søren Schmidt wrote: > In reply to Luigi Rizzo who wrote: > > Have you tried "brandelf'ing" the binaries ?? > > > While was trying the linux (ELF) demo of mathematica, it was giving me > > the following message on startup: > > > > # ./mathematica > > ELF binary type not known > > Abort trap > > > > I have the linux_mod.o installed: > > > > prova# modstat > > Type Id Off Loadaddr Size Info Rev Module Name > > MISC 0 0 f72c3000 0008 f72c4000 1 star_saver_mod > > EXEC 1 4 f72ea000 001c f72f0010 1 linux_mod > > > > and I can successfully run rvplayer 5.0 (linux version) which is > > an ELF binary as well. Running "file" on both programs gives the > > same answer: > > > > prova# file rvplayer > > rvplayer: ELF 32-bit LSB executable, Intel 80386, version 1 > > > > So I am wondering where the error message comes from. Either there are > > different versions/types of ELF files, or there is some of the exec* > > calls which is not aware of the presence of the linux emulator ? > > > > This is on a 2.2.1 system. > > > > Thanks > > Luigi > > -----------------------------+-------------------------------------- > > Luigi Rizzo | Dip. di Ingegneria dell'Informazione > > email: luigi@iet.unipi.it | Universita' di Pisa > > tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) > > fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ > > _____________________________|______________________________________ > > > > > > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team > Even more code to hack -- will it ever end > .. >