* Help on Include Files
@ 1996-04-08 4:00 Suman Das
1996-04-08 4:00 ` Phil Edwards
0 siblings, 1 reply; 4+ messages in thread
From: Suman Das @ 1996-04-08 4:00 UTC (permalink / raw)
Hi,
I was trying to add a loadable kernel module where I need to include
the kern/assert.h include file. Now that file needs to include the
file <mach_assert.h> However I can't seem to find that file in my
system and I can't "make" the file. I am sure no file has been deleted
after building the kernel.
Any ideas where the file can be or how to get around the problem.
--
Suman
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Help on Include Files
1996-04-08 4:00 Help on Include Files Suman Das
@ 1996-04-08 4:00 ` Phil Edwards
1996-04-16 4:00 ` Kevin Maguire
0 siblings, 1 reply; 4+ messages in thread
From: Phil Edwards @ 1996-04-08 4:00 UTC (permalink / raw)
With <4kbb3c$fc9@larry.rice.edu>,
it seems Suman Das (suman) sez:
BTW, your newsreader is mis-configured. Only your username showed
up, not your hostname. From the MEssage-ID I'm guessing that it
should be something like "suman@larry.rice.edu" and not just "suman".
+ I was trying to add a loadable kernel module where I need to include
+ the kern/assert.h include file. Now that file needs to include the
+ file <mach_assert.h> However I can't seem to find that file in my
+ system and I can't "make" the file. I am sure no file has been deleted
+ after building the kernel.
[5 gamma]> find /usr/include -name mach_assert.h
[6 gamma]> find /usr/include -name mach_assert.h -print
[7 gamma]> cd /usr/include
[8 gamma]> rgrep mach_assert .
^^^^^ recursive grep; no files containing 'mach_assert' found
[9 gamma]> uname -a
OSF1 gamma.cs.wright.edu V3.2 148 alpha
[10 gamma]>
No luck on any of our machines, sorry. Your best bet may be to
call your DEC field rep.
Luck++;
Phil
--
#include<std/disclaimer.h> The gods do not protect fools. Fools
finger pedwards@gamma.cs.wright.edu are protected by more capable fools.
email pedwards@valhalla.cs.wright.edu -Larry Niven
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Help on Include Files
1996-04-08 4:00 ` Phil Edwards
@ 1996-04-16 4:00 ` Kevin Maguire
1996-05-03 4:00 ` Shashi Mangalat
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Maguire @ 1996-04-16 4:00 UTC (permalink / raw)
Phil Edwards wrote:
# [5 gamma]> find /usr/include -name mach_assert.h
# [6 gamma]> find /usr/include -name mach_assert.h -print
# [7 gamma]> cd /usr/include
# [8 gamma]> rgrep mach_assert .
# ^^^^^ recursive grep; no files containing 'mach_assert' found
# [9 gamma]> uname -a
# OSF1 gamma.cs.wright.edu V3.2 148 alpha
# [10 gamma]>
# No luck on any of our machines, sorry. Your best bet may be to
# call your DEC field rep.
Dont know the answer to the question, but
% grep -i mach_assert.h /usr/.smdb./*.inv
would have told you where the file lived, assuming it was installed
from a setld package (like system files).
Rgrds,
Kevin
--
Kevin Maguire __ __ __ __ Daresbury Laboratory
K.Maguire@dl.ac.uk / \ / \ / \ / \ Warrington, Cheshire, UK
____________________/ __\/ __\/ __\/ __\_____________________________
___________________/ /__/ /__/ /__/ /________________________________
| / \ / \ / \ / \ \____ voice: (01925) 603221
|/ \_/ \_/ \_/ \ o \ FAX: (01925) 603634
\_____/--<
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Help on Include Files
1996-04-16 4:00 ` Kevin Maguire
@ 1996-05-03 4:00 ` Shashi Mangalat
0 siblings, 0 replies; 4+ messages in thread
From: Shashi Mangalat @ 1996-05-03 4:00 UTC (permalink / raw)
> % grep -i mach_assert.h /usr/.smdb./*.inv
The include file is used for kernel builds only. You can find it in
/sys/HOSTNAME/mach_assert.h. It is used to enable assertions in kernel
code and is typically turned on in the configuration files as:
options MACH_ASSERT
Turning it on may cause build failures and is not of much use unless you
have sources which has assertions that gets built during a doconfig.
--shashi
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-05-03 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-08 4:00 Help on Include Files Suman Das
1996-04-08 4:00 ` Phil Edwards
1996-04-16 4:00 ` Kevin Maguire
1996-05-03 4:00 ` Shashi Mangalat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox