Operating System - HP-UX
1752758 Members
4906 Online
108789 Solutions
New Discussion юеВ

header files contain include to non-existing files

 
learner_1
Occasional Contributor

header files contain include to non-existing files

Hi, couple of such issues-
I installed my Itanium server with 11.23 media and during development I found sys/vas.h file includes .. and as an ex-HPite I know that h/asl_iface.h is an internal file and is not shipped. Then why this file is included ?? How can my compilation go through if I include sys/vas.h in my driver ??

Similar kind of issue with 11.11. In my installed OS.. sys/vnode.h tries to include sys/assert.h file which doesnt exist, or exist only in /usr/include directory. So if I include sys/vnode.h in my driver, compilation cribs.. Similarly.. sys/mbuf.h includes sys/vm_arena_iface.h which doesnt exist.
How am I suppose to include such header files like vnode.h or mbuf.h which I need ?????
Is this a bug ?
2 REPLIES 2
Arunvijai_4
Honored Contributor

Re: header files contain include to non-existing files

Hi learner,

Did you get any compilation errors ? Its not wrong to edit the header files.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
learner_1
Occasional Contributor

Re: header files contain include to non-existing files

Yes I did get compilation error. Isnt it obvious by seeing the header file itself, or by writing a small test file and compiling it with -D_KERNEL flag ?
Also I didnt modify any header file, coz it is as good as a crime ;)