1832684 Members
2725 Online
110043 Solutions
New Discussion

Cannot compile a kernel

 
Rob Viets
Occasional Advisor

Cannot compile a kernel

I tried to install some patches which required a system reboot. I could tell that the kernel had not been remade, and swinstall did not reboot the system as it said it would.

If I try to manually compile it, I get the following:

myhost:/> mk_kernel
(Bundled) cc: "/stand/build/mod_wk.d/krm/mod_conf.c", line 9: error 1602: Cannot initialize struct of unknown size.
*** Error exit code 1

Stop.
config: make did an exit(1)


It doesn't work in SAM either. I also tried moving an older version of /stand/system in place as well.

2 REPLIES 2
Patrick Wallek
Honored Contributor

Re: Cannot compile a kernel

>>I tried to install some patches which required a system reboot.

Which patches? Did you also make sure you had all the prerequisites required for these patches?

What version of HP-UX?
Rob Viets
Occasional Advisor

Re: Cannot compile a kernel

I am on HP-UX 11.0.

I attempted to add these patches:

PHCO_26449
PHKL_26450
PHKL_28060

I'll double check the dependencies.