1827881 Members
1335 Online
109969 Solutions
New Discussion

mk_kernel build fails

 
Arun Ramanujan
New Member

mk_kernel build fails

Hi,

I am updating from mHP-UX 11.0 to 11iv1. no errors till the update-ux command tries to rebuild the kernel. following is the error I get at the end of the command " update-ux -s /cdrom HPUX11i-OE"

Compiling /stand/build/conf.c...
Loading the kernel...
ld: Unsatisfied symbol "wan_com_id" in file /stand/build/conf.o
ld: Unsatisfied protected symbol "wan_com_id" in file "/stand/build/conf.o"
2 errors.
*** Error exit code 1

Stop.
make failure.
ERROR: The kernel build failed. See the /var/adm/sw/swagent.log for details.
Do not attempt to reboot the system before the new kernel is
successfully built. An attempt to do this could result in an unusable
system which would require recovery from backup. Because the system
is in a partially updated state, many common system commands will not
run correctly. However, there are some common commands available in
/usr/lbin/sw/bin that were built archived and they should work in
this environment.
NOTE: One or more errors encountered. Take appropriate corrective action
and re-run update-ux to complete the update.
======= Fri Sep 8 19:11:52 IST 2006 END update-ux

Now I am stuck that i can not reboot the system. Can someone help me in resolving this issue.
3 REPLIES 3
IT_2007
Honored Contributor

Re: mk_kernel build fails

Some of application / patches are not in configured state. check swagent.log.

Also run this command to verify status.

swlist -l fileset -a state |egrep -i "transient|corrupt|installed"

Arun Ramanujan
New Member

Re: mk_kernel build fails

I chekced the command provided. All packages indicate as installaed.No of packages installed are 877. i see no errors in the swagent.log file and update-ux.log file. can some one respond with solution.
RAC_1
Honored Contributor

Re: mk_kernel build fails

Look for patches. Do you have all latest patches? Particulary look for error messages.
There is no substitute to HARDWORK