Subject: toolchain/20804: cross-compiling mac68k under linux, fts.h versus FILE_OFFSET_BITS==64
To: None <gnats-bugs@gnats.netbsd.org>
From: None <leander@hgb-leipzig.de>
List: netbsd-bugs
Date: 03/19/2003 05:44:29
>Number: 20804
>Category: toolchain
>Synopsis: cross-compiling mac68k under linux, fts.h versus FILE_OFFSET_BITS==64
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: toolchain-manager
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Wed Mar 19 05:45:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Leander Seige
>Release: 1.6
>Organization:
HGB Leipzig
>Environment:
Linux slack8 2.4.18 #4 Fri May 31 01:25:31 PDT 2002 i686 unknown
>Description:
I'm trying to compile a netbsd kernel for an old 68k macintosh under
linux using one of these commands:
./build.sh -m mac68k -D . -d kernel=SMALLRAM
or
./build.sh -m mac68k -T /empty/folder/__tools/ -M /empty/folder/__obj/ -D /empty/folder/__destdir/ tools
After a while I get the following error:
In file included from /root/netbsd_mac68k/kernel/usr/src/tools/compat/../../lib/libc/gen/__fts13.c:53:
/usr/include/fts.h:43: #error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64"
*** Error code 1
gcc is 2.95.3
distribution is slackware 8
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: