1837007 Members
1998 Online
110111 Solutions
New Discussion

Re: Kernel compilation

 
MR VILLOT   MR MONTAGNE
Frequent Advisor

Kernel compilation

Hi,

I want to change shmmax value and when the system is compiling the new kernel; I get this message :
cc: 487:warning:Possibility incorrect message catalog

I do :
#what /usr/bin/cc
/usr/bin/cc:
LINT B.11.11.06 CXREF B.11.11.06
HP92453-01 B.11.11.06 HP C Compiler
$ Sep 8 2000 23:13:51 $
#what /opt/ansic/lib/nls/msg/C/cc.cat
/opt/ansic/lib/nls/msg/C/cc.cat:
HP92453-01 B.11.11.06 HP C Compiler Copyright 1985, Hewlett-Packard Co.

Compiler and Message Catalog do match.

Can I compile the new kernel without any problems ?

Thanks

Laurent
4 REPLIES 4
Tim Adamson_1
Honored Contributor

Re: Kernel compilation

How are you compiling the kernel - manually or via SAM?

Are there any other messages - say in syslog?

Have you booted from previous kernel and tried to make a new kernel?


Just a few ideas.


Tim.
Yesterday is history, tomorrow is a mystery, today is a gift. That's why it's called the present.
ranganath ramachandra
Esteemed Contributor

Re: Kernel compilation

compilation itself should not give you problems - if it was building earlier, it will most likely build now, too.

the mismatch between the compiler and its message catalog means that it will not be able to report errors or warnings properly, it may only print error/warning message numbers instead.

of course, its best to get the latest compiler patch and make sure that there is no mismatch.
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo

ranganath ramachandra
Esteemed Contributor

Re: Kernel compilation

http://bizforums.itrc.hp.com/cm/QuestionAnswer/0,,0xc0d9a848deccd61190050090279cd0f9,00.html
-------------
Mike Stroyan September 26, 2002 18:19 PM GMT [ 10 pts ]
The warning about "Possibly incorrect message catalog" is caused by having NLSPATH set, but not having
/opt/ansic/lib/nls/msg/%L/%N.cat:/opt/ansic/lib/nls/msg/C/%N.cat
in the NLSPATH value. You can either unset NLSPATH or add those paths to it. See "man environ" for documentation of NLSPATH.
--------------
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo

Don Morris_1
Honored Contributor

Re: Kernel compilation

For 11.11 you don't _need_ to recompile the kernel to change shmmax. It's a dynamic tunable.

Just do kmtune -u -s shmmax= where represents whatever you want to set it to.