Operating System - HP-UX
1829136 Members
2839 Online
109986 Solutions
New Discussion

i have a big problem with the mk_kernel commands

 
SOLVED
Go to solution
jimmy_39
Advisor

i have a big problem with the mk_kernel commands

hi guys i have a big problem ...

this is the output of mk_kernel command ..

hostname:/stand/build# mk_kernel -s system -v
Building a new kernel based on template file "system"
Generating module: krm...
Compiling conf.c...
Loading the kernel...
ld: Cannot build a shared library in a static (-noshared) link
Fatal error.
*** Error exit code 1

Stop.
config: make did an exit(1)
config failure.
hostname:/stand/build#



help me
8 REPLIES 8
Zeev Schultz
Honored Contributor

Re: i have a big problem with the mk_kernel commands

Install patch PHSS_28436 11i linker (ld) patch
or later version.

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
Zeev Schultz
Honored Contributor

Re: i have a big problem with the mk_kernel commands

Sorry, install later patch. This patch is the
one that gives this error message. Install then
PHSS_28871 for 11i systems.
So computers don't think yet. At least not chess computers. - Seymour Cray
Steven E. Protter
Exalted Contributor

Re: i have a big problem with the mk_kernel commands

Sounds like the patch will probably work.

Do you have a recent backup of the kernel configuration files? Be prepared to back up to the last set that worked for you.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
jimmy_39
Advisor

Re: i have a big problem with the mk_kernel commands

no i haven't a recent copy a backup file

help me
jimmy_39
Advisor

Re: i have a big problem with the mk_kernel commands

help meeeee
Zeev Schultz
Honored Contributor

Re: i have a big problem with the mk_kernel commands

Jimmy,
Obviously we can't help you with system backup :). Anyway, I guess it's about ld patch issue.
When SEP said 'backup' it was more like
the usual thing sysadmin does. Anyway,you can
remove the current ld patch (check with 'swlist -l product | grep ld').If it's PHSS_28436 - remove it. Another idea is to install PHSS_28871 that doesn't have this problem.
You can allways run make_tape_recovery before all changes to save your current system.

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
Steve Steel
Honored Contributor
Solution

Re: i have a big problem with the mk_kernel commands

Hi

Do you have phss_28436 on your box.

If so replace it with phss_28771 as shown or remove it from the system and add the newer patch later.( If you backed up the previous level when installing the patch)


or install this
From patch description PHKL_29243:

On systems running vPars, installing the linker patch [PHSS_28436/PACHRDME/English] introduces behavior that causes kernel rebuildsto fail. Kernel rebuilds are required when installingkernel software or patches. The following error is
reported -

# mk_kernel -s /stand/system
Generating module: krm...
Compiling /stand/build/conf.c...
Loading the kernel...
ld: Cannot build a shared library in a
static (-noshared) link Fatal error.
*** Error exit code 1
Stop.
config: make did an exit(1)

That should definately fix it.

Steve Steel





If you want truly to understand something, try to change it. (Kurt Lewin)
jimmy_39
Advisor

Re: i have a big problem with the mk_kernel commands

thank you very much