f



Building an HP-UX kernel

Hello,

I am trying to rebuild an HP-UX 11.11 kernel because I have changed a 
parameter (nfile to be precise). Now I wanted to rebuild the kernel 
using the following command:

/usr/sbin/mk_kernel -s /stand/system.example -o /stand/vmunix.example

But unfortunately I get the following error message:

Generating module: krm...
Generating module: rng...
Compiling conf.c...
cpp: warning: Cannot open message catalog: "/usr/lib/nls/msg/C/cpp.cat".
cpp: "/usr/conf/sys/statvfs.h", line 40: error 4036:

cpp: "/usr/conf/sys/statvfs.h", line 43: error 4036:

cpp: "/usr/conf/sys/statvfs.h", line 44: error 4036:

cpp: "/usr/conf/sys/statvfs.h", line 83: error 4036:

*** Error exit code 1

Stop.
config: make did an exit(1)

Also with SAM no chance it doesn't work neither... Does anyone know what 
the problem could be ?

Thanks
Regards

0
Syn
2/4/2004 10:06:26 AM
comp.sys.hp.hpux 4408 articles. 1 followers. dewi.bening (7) is leader. Post Follow

2 Replies
437 Views

Similar Articles

[PageSpeed] 55

In article <4020C422.9070504@hotmail.com>, Syn wrote:
> Compiling conf.c...
> cpp: warning: Cannot open message catalog: "/usr/lib/nls/msg/C/cpp.cat".
> cpp: "/usr/conf/sys/statvfs.h", line 40: error 4036:
> 
> cpp: "/usr/conf/sys/statvfs.h", line 43: error 4036:
> 
> cpp: "/usr/conf/sys/statvfs.h", line 44: error 4036:
> 
> cpp: "/usr/conf/sys/statvfs.h", line 83: error 4036:
> 
> *** Error exit code 1

One thing you can do is compare/contrast the /usr/conf/sys/statvfs.h
file against another similar system.  One of my clients had a
/usr/conf/sys/sleep.h that would occasionally disappear for reasons
that no one could explain.

HTH;

Doug

-- 
--------
Senior UNIX Admin
O'Leary Computer Enterprises
dkoleary@olearycomputers.com (w) 630-904-6098 (c) 630-248-2749
resume:  http://home.comcast.net/~dkoleary/resume.html

0
Doug
2/4/2004 1:44:12 PM
Syn (syn_NOSPAM_uw@hotmail.com) wrote:
: But unfortunately I get the following error message:
: cpp: warning: Cannot open message catalog: "/usr/lib/nls/msg/C/cpp.cat".
: cpp: "/usr/conf/sys/statvfs.h", line 40: error 4036:

: Also with SAM no chance it doesn't work neither... Does anyone know what 
: the problem could be?

If you can list those files, you could have too many files open:
$ dumpmsg /usr/lib/nls/msg/C/cpp.cat | fgrep 4036
4036 %2$s, line %3$d: error %1$d: Can't open include file '%4$s'.
0
dhandly
2/7/2004 5:11:54 AM
Reply: