NetBSD Problem Report #1349
From gnats Sat Aug 12 22:42:43 1995
Received: from icicle (root@icicle.winternet.com [198.174.169.5]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id WAA00149 for <gnats-bugs@gnats.netbsd.org>; Sat, 12 Aug 1995 22:42:38 -0400
Message-Id: <199508122326.SAA21672@taniemarie.solon.com>
Date: Sat, 12 Aug 1995 18:26:41 -0500
From: seebs@taniemarie.solon.com
Reply-To: seebs@taniemarie.solon.com
To: gnats-bugs@gnats.netbsd.org
Subject: Bug (?) in crunch/make distribution
X-Send-Pr-Version: 3.2
>Number: 1349
>Category: port-amiga
>Synopsis: make of distribution floppies compiles wrongly
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Aug 12 22:50:05 +0000 1995
>Closed-Date: Sat Sep 30 08:57:03 +0000 1995
>Last-Modified: Sat Sep 30 08:57:39 +0000 1995
>Originator: Peter Seebach
>Release: 8-11-95 (?)
>Organization:
Usenet Fact Police (Undercover)
>Environment:
Amiga/NetBSD, building distribution floppies
System: NetBSD taniemarie 1.0A NetBSD 1.0A (SEEBS) #1: Tue Jul 18 19:54:50 CDT 1995 root@taniemarie:/usr/src/sys/arch/amiga/compile/SEEBS amiga
>Description:
make in the install floppy dir compiles code it needs,
but then can't find the .o files it produced; in particular, it
does
cc -O2 -c /usr/src/usr.bin/ftp/cmds.c
but then expects to find
/usr/src/usr.bin/ftp/cmds.o
rather than
cmds.o
>How-To-Repeat:
*before* building a source tree, make in
/usr/src/distrib/amiga/floppies
You will see:
"int _crunched_ftp_stub(int argc, char **argv, char **envp){return
main(argc,argv,envp);}" >ftp_stub.c
cc -O2 -c ftp_stub.c
cc -O2 -c /usr/src/usr.bin/ftp/cmds.c
cc -O2 -c /usr/src/usr.bin/ftp/cmdtab.c
cc -O2 -c /usr/src/usr.bin/ftp/ftp.c
cc -O2 -c /usr/src/usr.bin/ftp/main.c
cc -O2 -c /usr/src/usr.bin/ftp/ruserpass.c
cc -O2 -c /usr/src/usr.bin/ftp/domacro.c
ld -dc -r -o ftp.lo ftp_stub.o /usr/src/usr.bin/ftp/cmds.o
/usr/src/usr.bin/ftp/cmdtab.o /usr/src/usr.bin/ftp/ftp.o
/usr/src/usr.bin/ftp/main.o /usr/src/usr.bin/ftp/ruserpass.o
/usr/src/usr.bin/ftp/domacro.o
ld: /usr/src/usr.bin/ftp/cmds.o: No such file or directory
*** Error code 1
>Fix:
Fix the makefile to cd/build?
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: chopps
State-Changed-When: Sat Sep 30 04:57:03 EDT 1995
State-Changed-Why:
compiles properly now
>Unformatted:
This pr is Amiga-specific. The Amiga install tool sources, etc., have not
been updated in a while, and are out of sync with the current option to the
various build tools, etc.
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.