From owner-freebsd-hackers Sat Jun 3 18:38:21 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA03482 for hackers-outgoing; Sat, 3 Jun 1995 18:38:21 -0700 Received: from localhost.cdrom.com (localhost.cdrom.com [127.0.0.1]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id SAA03471 ; Sat, 3 Jun 1995 18:38:18 -0700 Message-Id: <199506040138.SAA03471@freefall.cdrom.com> X-Authentication-Warning: freefall.cdrom.com: Host localhost.cdrom.com didn't use HELO protocol To: Amancio Hasty cc: freebsd-hackers@freefall.cdrom.com Subject: Re: netscape and current? In-reply-to: Your message of "Sat, 03 Jun 95 15:41:51 PDT." <199506032241.PAA00985@star-gate.com> Date: Sat, 03 Jun 1995 18:38:18 -0700 From: "Justin T. Gibbs" Sender: hackers-owner@FreeBSD.org Precedence: bulk > > netscape http://www.omt.com >/usr/X11R6/bin/netscape: Exec format error. Wrong Architecture. > >So whats up? > > Tnks, > Amancio This is a problem with COMPAT_LINUX. This fixed it for me: Index: imgact_aout.c =================================================================== RCS file: /usr/cvs/src/sys/kern/imgact_aout.c,v retrieving revision 1.13 diff -c -r1.13 imgact_aout.c *** 1.13 1995/05/30 08:05:17 --- imgact_aout.c 1995/06/03 19:40:44 *************** *** 57,66 **** /* * 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 */ /* --- 57,67 ---- /* * Linux and *BSD binaries look very much alike, * only the machine id is different: ! * 0x64 for Linux, 0x86 for *BSD, 0x00 for BSDI. */ ! if (((a_out->a_magic >> 16) & 0xff) != 0x86 && ! ((a_out->a_magic >> 16) & 0xff) != 0) ! return -1; #endif /* COMPAT_LINUX */ /* -- Justin T. Gibbs ============================================== TCS Instructional Group - Programmer/Analyst 1 Cory | Po | Danube | Volga | Parker | Torus ==============================================