[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

2296.0. "unable to build clustwav3os.bl7 on a platinum workstation" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Tue May 21 1996 18:32

Date Of Receipt: 	21-MAY-1996 16:30:17.59
From: 	HUNCH::dc "Dan Christians USG  21-May-1996 1623"
To: 	odehelp@DEC:.zko.hunch
CC: 	dc@DEC:.zko.hunch (Dan Christians USG),
	joepep@DEC:.zko.hunch (Joe Pepicelli USG),
	brett@DEC:.zko.hunch (Brett Sampson USG),
	amato@DEC:.zko.hunch (Joe Amato)
Subj: 	unable to build clustwav3os.bl7 on a platinum workstation

Hi all,

My workstation is running platinum and
I created a brand new sandbox with:

    mksb -back clustwav3os.bl7 -dir /work/sb clu

I then did a "workon -sb clu" which
created a .sandboxrc for me as a first time user.

I then mkdir kernel and cd /work/sb/clu/kernel.

The next step I believe is to do a "build setup"
which goes along fine until I get to this part ...

[ /kernel/src/mkdata ]
makepath mkdata/. && cd mkdata &&  exec make 'RELEASE_OPTIONS=-idfile `genloc /src/setup/osf1_idlist`'    MAKEFILE_PASS=BASIC dopass_all
mkdata: created directory
env - COMP_HOST_ROOT=/ COMP_TARGET_ROOT=/ /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  -g  -DCMU -D_NO_PROTO -Dconst=      `genpath -I.` `genpath  -I../../include -I/usr/include ` -I/usr/include  /usr/sde/osf1/build/clustwav3os.bl7/src/kernel/src/mkdata/mkdata.c

... where it fails because the build is using the include file from
my platinum system:

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  *));
-----------------^
...


This has worked before when my system was running
pt lite.  Is there someway i can work around this? 
besides reinstalling my system  8')

Thanks!

Dan

T.RTitleUserPersonal
Name
DateLines
2296.1Re: unable to build clustwav3os.bl7 on a platinum workstationAOSG::FILTERAutomatic Posting Software - mail to flume::puckTue May 21 1996 18:3257
Date Of Receipt: 	21-MAY-1996 16:32:42.03
From: 	FLUME::"[email protected]" "21-May-1996 1626"
To: 	Dan Christians USG <[email protected]>
CC: 	[email protected], [email protected] (Joe Pepicelli USG),
	[email protected] (Brett Sampson USG), [email protected] (Joe Amato)
Subj: 	Re: unable to build clustwav3os.bl7 on a platinum workstation

Not that I know of. You SHOULD be able to go backwards, but as far as I know, 
at the moment, you can't build the previous release with the next one.

	-Grant
| 
| Hi all,
| 
| My workstation is running platinum and
| I created a brand new sandbox with:
| 
|     mksb -back clustwav3os.bl7 -dir /work/sb clu
| 
| I then did a "workon -sb clu" which
| created a .sandboxrc for me as a first time user.
| 
| I then mkdir kernel and cd /work/sb/clu/kernel.
| 
| The next step I believe is to do a "build setup"
| which goes along fine until I get to this part ...
| 
| [ /kernel/src/mkdata ]
| makepath mkdata/. && cd mkdata &&  exec make 'RELEASE_OPTIONS=-idfile `genloc
 /src/setup/osf1_idlist`'    MAKEFILE_PASS=BASIC dopass_all
| mkdata: created directory
| env - COMP_HOST_ROOT=/ COMP_TARGET_ROOT=/ /usr/bin/cc   -EL -c  -DBSD44 -DMSG
  -D__WCHAR_T_LEN=4 -Wf,-wchar32  -DMACH -DCMU -DOSF  -Dalpha -D__alpha__ -D__a
lpha  -Dunix -D__unix__      -O2 -Olimit 5000  -g  -DCMU -D_NO_PROTO -Dconst=  
    `genpath -I.` `genpath  -I../../include -I/usr/include ` -I/usr/include  /u
sr/sde/osf1/build/clustwav3os.bl7/src/kernel/src/mkdata/mkdata.c
| 
| ... where it fails because the build is using the include file from
| my platinum system:
| 
| cc: Error: /usr/include/string.h, line 164: In the declaration of "__R", a fu
nction may not return a function type.
| extern char    * __R(basename) __((char  *));
| -----------------^
| ...
| 
| 
| This has worked before when my system was running
| pt lite.  Is there someway i can work around this? 
| besides reinstalling my system  8')
| 
| Thanks!
| 
| Dan



2296.2Re: unable to build clustwav3os.bl7 on a platinum workstationAOSG::FILTERAutomatic Posting Software - mail to flume::puckTue May 21 1996 19:3617
Date Of Receipt: 	21-MAY-1996 17:55:53.13
From: 	FLUME::jmf "Joshua M. Friedman OSF/UNIX SDE"
To: 	dc@DEC:.zko.flume
CC: 	odehelp@DEC:.zko.flume
Subj: 	Re:  unable to build clustwav3os.bl7 on a platinum workstation
Dan, this is just a subtle pilot error: 	the kernel directory must be

under src!  If what you listed is correct, don't do
	cd /work/sb/clu/kernel

but do
	cd /work/sb/clu/src/kernel

-josh

of course if you really did do this then there's some other problem.

2296.3Re: unable to build clustwav3os.bl7 on a platinum workstationAOSG::FILTERAutomatic Posting Software - mail to flume::puckTue May 21 1996 19:3761
Date Of Receipt: 	21-MAY-1996 18:15:15.22
From: 	FLUME::jmf "Joshua M. Friedman OSF/UNIX SDE"
To: 	dc@DEC:.zko.flume
CC: 	bstevens odehelp
Subj: 	Re:  unable to build clustwav3os.bl7 on a platinum workstation

Dan, some pieces of the build that build local tools, eg 'config', do
need local headers and libraries/tools because they produce a temporary
version of the command to run as part of the build; I don't know in
this case if that's the situation.

To my knowledge, however, we have no data on whether clustwav3os can
build on a pt system.  tcr2os is where support for pt was incorporated.

Please check with Brian Stevens (tcr1 TL, cc'd) on this.

-josh

---------
From dc  Tue May 21 18:01:53 1996
Delivery-Date: Tue, 21 May 96 18:01:55 -0400
From: Dan Christians USG <dc>
Subject: Re:  unable to build clustwav3os.bl7 on a platinum workstation
To: jmf (Joshua M. Friedman OSF/UNIX SDE)
Date: Tue, 21 May 96 18:01:53 EDT
Cc: dc (Dan Christians USG)
In-Reply-To: <[email protected]>; from "Joshua M. Friedman OSF/UNIX SDE" at May 21, 96 5:49 pm


thanks Josh for looking at this.

sorry.   my mail did have a mistake in it as
you noticed.   i really did do a cd /work/sb/clu/src/kernel
and then did the build setup, but it appears to fail
becuase it uses the header files from my workstation
which platinum based.   is that the way it suppose
to work or do you think i may have another problem?  8'(  8'(

thanks,

dan


> 
> Dan, this is just a subtle pilot error: the kernel directory must be
> under src!  If what you listed is correct, don't do
> 	cd /work/sb/clu/kernel
> 
> but do
> 	cd /work/sb/clu/src/kernel
> 
> -josh
> 
> of course if you really did do this then there's some other problem.
> 


--