Operating System - HP-UX
1845954 Members
2508 Online
110250 Solutions
New Discussion

Re: Error compiling kernel

 
Joaquin Gil de Vergara
Respected Contributor

Error compiling kernel

I try to compile a kernel from SAM

It returned a config error

Cannot build a kernel using /usr/sbin/config. The standard output of
the command is shown below:

Stop.
config: make did an exit(1)

The command exitted with exitcode -71.

any idea?

thanks
Teach is the best way to learn
10 REPLIES 10
Clemens van Everdingen
Honored Contributor

Re: Error compiling kernel

Hi,

did you try to install a patch ?
Did you install also all dependencies ?

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Joaquin Gil de Vergara
Respected Contributor

Re: Error compiling kernel

yes

i have installed HW and QPK march 2002 patches(11.0)

Teach is the best way to learn
James R. Ferguson
Acclaimed Contributor

Re: Error compiling kernel

Hi:

Look for any unconfigured patches and if found, configure them.

# swlist -l fileset -a state|grep -v -i -e configured -e \#

If you find any patches that are not configured, do:

# swconfig PHXX_nnnnn

Regards!

...JRF...
Ravi_8
Honored Contributor

Re: Error compiling kernel

Hi,

#swconfig
never give up
Joaquin Gil de Vergara
Respected Contributor

Re: Error compiling kernel

alex

i try it

the message still apears....
Teach is the best way to learn
Clemens van Everdingen
Honored Contributor

Re: Error compiling kernel

Hi,

Do you get any other error's like unsatisfied symbols in the swagent.log file.

Are you able to build a kernel from the command line ?

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Clemens van Everdingen
Honored Contributor

Re: Error compiling kernel

Hi,

Just another thought !
Have you rebooted the system an extra time ?
Have seen similar problem where reboot helped out.

C.
The computer is a great invention, there are as many mistakes as ever, but they are nobody's fault !
Shannon Petry
Honored Contributor

Re: Error compiling kernel

If you try to do a manual mk_kernel what does it give you as the error?
I.E.
% mk_kernel -o /tmp
NOTE: the -o /tmp is just a safety

I have had patches installed in the past which have corrupted the /usr/include directories, as well as some other things. I never took the time to call HP as it makes for down systems :^(

The manual mk_kernel command will tell you excactly what is bad, then more corrective actions can be taken.

Regards,
Shannon
Microsoft. When do you want a virus today?
Johan Bergwitz
Advisor

Re: Error compiling kernel

In /usr/conf/h/errno.h errornumber 71 is "Too many levels of remote in path". Do you have any NFS-mounts that might contain libraries or other things mk_kernel wants?

Rgds
Johan
David Andrews_1
Advisor

Re: Error compiling kernel

I have on occasion had a problem with space in the /stand directory.

If you have more than two old copies of your kernel (from previous compiles) move them to another mount point (or delete them, then go into sam and recompile the kernel.