Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jun 1995 19:11:35 -0500 (CDT)
From:      faulkner@mpd.tandem.com (Boyd Faulkner)
To:        hasty@star-gate.com (Amancio Hasty)
Cc:        freebsd-hackers@freefall.cdrom.com
Subject:   Re: netscape and current?
Message-ID:  <9506040011.AA03749@olympus>
In-Reply-To: <199506032241.PAA00985@star-gate.com> from "Amancio Hasty" at Jun 3, 95 03:41:51 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 
>  netscape  http://www.omt.com
> /usr/X11R6/bin/netscape: Exec format error. Wrong Architecture.
> 
> So whats up?
> 
> 	Tnks,
> 	Amancio
> 


You enabled LINUX_COMPAT didn't you.  The current code in 
/sys/kern/imgact_aout.c breaks BSDI compatibility when LINUX_COMPAT is
defined.

        if  (((a_out->a_magic >> 16) & 0xff) != 0x86)

in

#ifdef COMPAT_LINUX     
        /*
         * Linux and *BSD binaries look very much alike,
         * only the machine id is different:
         * 0x64 for Linux, 0x86 for *BSD.
         */     
        if  (((a_out->a_magic >> 16) & 0xff) != 0x86)
                return -1;
#endif /* COMPAT_LINUX */

becomes 

        if  (((a_out->a_magic >> 16) & 0xff) == 0x64)

Boyd

Have you tried the new sound stuff with it?
-- 
_______________________________________________________________________

 Boyd Faulkner                                  faulkner@isd.tandem.com 
_______________________________________________________________________



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