[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

2358.0. "FORWARD: Build help question..." by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Mon Jun 24 1996 18:36

Date Of Receipt: 	24-JUN-1996 16:53:33.55
From: 	FLUME::johnf "John Flanagan USG Test Johnf Tools Group  24-Jun-1996 1653"
To: 	buildhelp@DEC:.zko.flume, mario@DEC:.zko.flume
CC: 	
Subj: 	FORWARD:  Build help question...

I think this is related to the fact that he is doing the build on a V4.0
machine.  kernel/src/mkdata is a part of the kernel which uses the host build
compiler [i.e. the compiler on the machine hosting the sandbox], which means
he is using the platinum compiler on 3.2 based code.

Buildhelpers/compiler helpers, advice on this one?

------- Forwarded Message

Return-Path: bagley
Received: from ralpha.zk3.dec.com by flume.zk3.dec.com; 
(5.65v3.2/1.1.8.2/16Jan95-0946AM)
	id AA09347; Mon, 24 Jun 1996 16:48:40 -0400
Received: from bwasted.zk3.dec.com by falpha.zk3.dec.com; 
(5.65v3.2/1.1.8.2/20May95-1022AM)
	id AA19939; Mon, 24 Jun 1996 16:48:37 -0400
Received: by fwasted.zk3.dec.com; (5.65v3.2/1.1.8.2/18Feb95-1123AM)
	id AA19184; Mon, 24 Jun 1996 16:48:16 -0400
Date: Mon, 24 Jun 1996 16:48:16 -0400
From: Dick Bagley USG <bagley>
Message-Id: <[email protected]>
To: odehelp
Subject: Question regarding V4.0/V3.2 problem
Cc: bagley

Hi -

  I'm running Digital UNIX V4.0 on my workstation, and am attempting to build
  a v32de2supportos sandbox on it backed against v32de2supportos.bightly. 
"build
  setup" fails as shown below. "build setup" runs OK on another workstation
  running V3.2C for a sandbox backed against v32de2supportos.nightly.

  Any idea what gives ? Looks like a compiler compatability problem. Don't I
  inherit the compiler from the tools associated with the backing tree, or is
  cc run locally from my workstation (which would explain it) ? A similar
  problem must have existed during V4.0 development. Is there a simple
  workaround ?

  Thanks for any help.

- - dick bagley
  UHS_IO
  1-0319

[ /kernel/src/mkdata ]
makepath mkdata/. && cd mkdata &&  exec make 'RELEASE_OPTIONS=-idfile 
usr/bin/cc   -EL -c  -DBSD44 -DMSG  -D__WCHAR_T_LEN=4 -Wf,-wchar32  -DMACH 
-DCMU -DOSF  -
Dalpha -D__alpha__ -D__alpha  -Dunix -D__unix__      -O2 -Olimit 5000    -DCMU 
-D_NO_PROTO -Dconst=      /usr/include  ../../../../../src/kernel/src/mkdata/mk
data.c
cc: Error: /usr/include/string.h, line 164: In the declaration of "__R", a 
function may not return a function type.
extern char    * __R(basename) __((char  *));
- -----------------^
cc: Warning: /usr/include/string.h, line 164: In the declaration of "__R", a 
function declarator has an identifier list but is not p
art of a function definition.  Extraneous parameter names are ignored.
extern char    * __R(basename) __((char  *));
- -----------------^
cc: Error: /usr/include/string.h, line 165: In the declaration of "__R", a 
function may not return a function type.
extern char    * __R(dirname) __((char  *));
- -----------------^
cc: Warning: /usr/include/string.h, line 165: In the declaration of "__R", a 
function declarator has an identifier list but is not p
art of a function definition.  Extraneous parameter names are ignored.
extern char    * __R(dirname) __((char  *));
- -----------------^
cc: Error: /usr/include/stdlib.h, line 169: In the declaration of "__R", a 
function may not return a function type.
extern long     __R(a64l) __((const char *));
- ----------------^
cc: Warning: /usr/include/stdlib.h, line 169: In the declaration of "__R", a 
function declarator has an identifier list but is not p
art of a function definition.  Extraneous parameter names are ignored.
extern long     __R(a64l) __((const char *));
- ----------------^
cc: Error: /usr/include/stdlib.h, line 170: In the declaration of "__R", a 
function may not return a function type.
extern char     * __R(l64a) __((long));
- ------------------^
cc: Warning: /usr/include/stdlib.h, line 170: In the declaration of "__R", a 
function declarator has an identifier list but is not p
art of a function definition.  Extraneous parameter names are ignored.
extern char     * __R(l64a) __((long));
- ------------------^
cc: Error: /usr/include/stdlib.h, line 171: In the declaration of "__R", a 
function may not return a function type.
extern int      __R(ttyslot) __((void));
- ----------------^
cc: Warning: /usr/include/stdlib.h, line 171: In the declaration of "__R", a 
function declarator has an identifier list but is not p
art of a function definition.  Extraneous parameter names are ignored.
extern int      __R(ttyslot) __((void));
- ----------------^
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.

------- End of Forwarded Message


-- 


 ______________________________________________________________________

 John Flanagan	 		enet:    [email protected]	
 MS: ZKO3-3/W20			decnet:  flume::johnf
 USG Release Management			 (603) 881-1719
 110 Spitbrook Road 			 (DTN) 381-1719
 Nashua, NH  
 ______________________________________________________________________




T.RTitleUserPersonal
Name
DateLines