[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

68.0. "problem building shutdown.c" by SMURF::FILTER (Automatic Posting Software - mail to flume::puck) Thu May 20 1993 10:24

Date Of Receipt: 	19-MAY-1993 17:14:59.81
From: 	QUARRY::aju "Aju John USG/BaseOS  19-May-1993 1715"
To: 	buildhelp@DEC:.zko.quarry
CC: 	aju@DEC:.zko.quarry
Subj: 	problem building shutdown.c

I have a problem building shutdown command in my sanbox
backed against agosminor.

proton:~sb/sterling/src/usr/sbin/shutdown$ pwd
/usr/local/home/aju/sb/sterling/src/usr/sbin/shutdown

I added code to shutdown to your RPC to send messages to clients
that are dependent on that machine for files.

I can compile the program using the native compiler, outside the
sandbox, but within that I get the following errors (summerized)

Error: /usr/sde/osf1/build/agosminor.nightly/src/kernel/net/net_globals.h: 
Cannot open file cpus.h for #include 
Cannot open file netthreads.h for #include
Cannot open file unix_locks.h for #include
Cannot open file rt_preempt.h for #include

So I modifiied the Makefile and commented out a line:
#INCFLAGS               = -I${MAKETOP}kernel
and copied  binlog.h (from kernel) to the local directory, changed shutdown.c
to look for it in the local directory.  Everything is OK then.

Though it works, the kludge looks ugly and not pool-worthy.

Any idea what's going on?

Thanks,
-aju

T.RTitleUserPersonal
Name
DateLines