Subject: COMPAT_FREEBSD problem
To: None <port-i386@netbsd.org, netbsd-help@netbsd.org>
From: None <collver1@attbi.com>
List: port-i386
Date: 11/15/2002 07:55:42
I have a static linked FreeBSD 4.2 binary that doesn't run under
NetBSD/i386 v1.6 with COMPAT_FREEBSD.  Can anyone give me some hints how to
troubleshoot it?

Thanks...

$ uname -a
NetBSD glen 1.6 NetBSD 1.6 (GLEN) #0: Fri Nov 15 07:43:55 PST 2002 root@glen:/usr/src/sys/arch/i386/compile/GLEN i386

$ strings /netbsd | grep FREEBSD
_CFG_options \011COMPAT_FREEBSD\011# binary compatibility with FreeBSD

$ ls -l example
-r-xr-xr-x  1 ben  users  135952 Nov 15 07:48 example

$ file example
example: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for FreeBSD 4.2, statically linked, stripped

$ ./example
./example: 1: Syntax error: "(" unexpected