- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Why /usr/include/machine/sys directory is lost on ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 05:43 PM
05-30-2002 05:43 PM
Why /usr/include/machine/sys directory is lost on HP-UX11.00
Recently I found on hp-ux11.11, There is one directory /usr/include/machine/sys. There are some *.h file under this folder. But on HP-ux 11.00, I can't find this folder. Who can tell me why? Is there any patches I should install, because this cause some compiling errors on hp-ux 11.00.
Thanks in advance for your reply!
Br
Annie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 10:31 PM
05-30-2002 10:31 PM
Re: Why /usr/include/machine/sys directory is lost on HP-UX11.00
Hi,
I do not know why this directory is found
on hp-ux 11.00
I will give you one advise though.
These include-files are not meant to be
used by regular users. If you make yourself
dependent on knowlegde about the contents
of such includefiles you will get more problems
in the future.
I say more as you already have your first
problem.
Good programming practice says that you should
only use include-files that the man-page
documents.
I do not know what info you get from these
files, but it may be that you can get the
same info in other, supported, ways
Regards
Olav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 11:06 PM
05-30-2002 11:06 PM
Re: Why /usr/include/machine/sys directory is lost on HP-UX11.00
On all HP-UX versions, as far as im aware, there is always a /usr/include/sys directory full of header files (.h files). Now, if yours is missing on a server then you are in trouble because there is no one place to get them all.
Basically, when you install the OS it puts some header files into /usr/include/sys/ then when you load up all your other installed software each one has its own header files and they are all added to /usr/include/sys/
eg. MirrorUX, OnlineJFS, Glance, Compilers, OpenView, Oracle etc etc.
So if youre /usr/include/sys directory is missing youre only hope is to find it on a backup. To recreate it would mean reloading the OS, then loading one at a time all your installed applications - a massive job!
Another hope is if you hae another 11.0 server with the same installed applications - you could copy of /usr/include/sys/ from there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 11:28 PM
05-30-2002 11:28 PM
Re: Why /usr/include/machine/sys directory is lost on HP-UX11.00
Hi,
I am sure this is not a question of retrieving
things from backup.
The directory in question is /usr/include/machine/sys.
This directory exists on 11.11 and not on
11.00
All of the include-files in the directory
contains this note:
* NOTE:
* This header file contains information specific to the internals
* of the HP-UX implementation. The contents of this header file
* are subject to change without notice. Such changes may affect
* source code, object code, or binary compatibility between
* releases of HP-UX. Code which uses the symbols contained within
* this header file is inherently non-portable (even between HP-UX
* implementations).
What this means is simply - it is not very
smart to use these include-files.
Regards
Olav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2002 11:30 PM
05-30-2002 11:30 PM
Re: Why /usr/include/machine/sys directory is lost on HP-UX11.00
Youre dead right Olav. My mistake - I misread the question. Please ignore my previous reply.