From nobody  Tue Oct 13 00:36:18 1998
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id AAA14433;
          Tue, 13 Oct 1998 00:36:18 -0700 (PDT)
          (envelope-from nobody)
Message-Id: <199810130736.AAA14433@hub.freebsd.org>
Date: Tue, 13 Oct 1998 00:36:18 -0700 (PDT)
From: alansze@performax.ca
To: freebsd-gnats-submit@freebsd.org
Subject: When using "make world" for 3.0-19981009-BETA, got error code 1
X-Send-Pr-Version: www-1.0

>Number:         8298
>Category:       i386
>Synopsis:       When using "make world" for 3.0-19981009-BETA, got error code 1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 13 00:40:00 PDT 1998
>Closed-Date:    Sun Dec 13 14:57:23 PST 1998
>Last-Modified:  Sun Dec 13 14:58:27 PST 1998
>Originator:     Alan Sze
>Release:        3.0-19981006-BETA
>Organization:
Performax Piping Products Limited
>Environment:
FreeBSD unix1.szefinancial.com 3.0-19981006-BETA 3.0-19981006-BETA #3 
Mon Oct 12 17:55:55 PDT 1998 root@unix1.szefinancial.com:/usr/src/sys/compile/MYKERNEL
i386
>Description:
I had 2.2.6 installed and subsequently using /stand/sysinstall -> upgrade
to update the system to the current version, and got the source code as well.
This part was all successful. However, I copied the source code to 
another machine (with version 2.2.6 installed), and performed "make world", 
it produced the following:

"usr/src/gnu/usr.bin/awk/../../../ contrib/awk/awk.h:808:
warning: data definition has no type or storage class
in function name 'gawk_name' in file
contrib/awk/gawkmisc.c:39
contrib/awk/posix/gawkmisc.c:32
warning: assignment makes pointer from integer without a cast

stop
error code 1"

I then went back to the original machine which had the 3.0-BETA installed
and performed "make world", it produced the exact same result.

I have tried "make buildworld", and got the same result. However,
the machine is working fine with the upgrade installed through FTP.

>How-To-Repeat:
It repeat every time as described above. 
>Fix:
It has not been fixed. I guess it has something to do with the line:

return (p == NULL ? (char *) filespec : p + 1)

where the p pointer had been declared previously as char* p. "p+1" looks
like an int operation.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun Dec 13 14:57:23 PST 1998 
State-Changed-Why:  
This problem doesn't seem to exist anymore.  Please try updating your 
sources and trying again.  Thanks. 
>Unformatted:
