[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

2666.0. "Why is cam_tape.h not in the export list?" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Tue Nov 12 1996 21:28

Date Of Receipt: 	12-NOV-1996 16:29:53.97
From: 	WASTED::reimers "Jan T. Reimers USG  12-Nov-1996 1626"
To: 	odehelp@DEC:.zko.wasted
CC: 	reimers@DEC:.zko.wasted
Subj: 	Why is cam_tape.h not in the export list?

cam_tape.h exists on my local system in /usr/include/io/cam
It does NOT exist in <whatever pool>.nightly/export/alpha/usr/include/io/cam
Why not?

The reason for my asking:
I am making changes to mt.c and would like to #include <io/cam/cam_tape.h>
but it doesn't build with that #include.  However, it does exist locally.

Help???

Jan Reimers

T.RTitleUserPersonal
Name
DateLines
2666.1Re: Why is cam_tape.h not in the export list?AOSG::FILTERAutomatic Posting Software - mail to flume::puckTue Nov 12 1996 21:2835
Date Of Receipt: 	12-NOV-1996 16:37:54.34
From: 	FLUME::johnf "John Flanagan USG Test Johnf Tools Group  12-Nov-1996 1634"
To: 	reimers@DEC:.zko.flume
CC: 	odehelp@DEC:.zko.flume
Subj: 	Re: Why is cam_tape.h not in the export list?

It's on the installed system because cam_tape.h is delivered via the
kernel/include/io/cam/Makefile SUBDIRS rule.  In order for cam_tape.h
to appear in export/alpha/usr/include/io/cam, it needs to appear in the 
./usr/include/io/cam/Makefile . Whoever introduced cam_tape.h decided that
it didn't need to be exported because nothing in usr space needed it.


When you say "mt.c", I assume you mean ./usr/bin/mt/mt.c?  You'll need to
add cam_tape.h to ./usr/include/io/cam/Makefile  in order to use it.  
Apparently mt.c is the first usr space command to have a need to include
it.  All the kernel work is able to include it directly from the kernel
space.

John
-- 


 ______________________________________________________________________

 John Flanagan	 		enet:    johnf@zk3.dec.com	
 MS: ZKO3-3/W20			decnet:  flume::johnf
 USG Release Management			 (603) 881-1719
 110 Spitbrook Road 			 (DTN) 381-1719
 Nashua, NH  
 ______________________________________________________________________




2666.2Re: Why is cam_tape.h not in the export list?AOSG::FILTERAutomatic Posting Software - mail to flume::puckWed Nov 13 1996 12:3311
Date Of Receipt: 	13-NOV-1996 08:57:39.81
From: 	WASTED::reimers "Jan T. Reimers USG  13-Nov-1996 0854"
To: 	johnf@DEC:.zko.wasted
CC: 	reimers@DEC:.zko.wasted, odehelp@DEC:.zko.wasted
Subj: 	Re: Why is cam_tape.h not in the export list?

Thanks, John.
That was clear and very useful.

Jan