Operating System - HP-UX
1838576 Members
4079 Online
110128 Solutions
New Discussion

Error Installing General Patch Release

 
SOLVED
Go to solution
Chris Hinnen
Frequent Advisor

Error Installing General Patch Release

I just downloaded the new General Patch Release for HPUX 11.0 and am getting this error part way in to the install. Does anyone know what this means and what I can do to get the patch to finish installing?

Compiling /stand/build/conf.c...
Loading the kernel...
Generating kernel symbol table...
nm: invalid option -- x
Usage: nm [-aABCDglnopPrsuvV] [-t radix] [--radix=radix] [--target=bfdname]
[--debug-syms] [--extern-only] [--print-armap] [--print-file-name]
[--numeric-sort] [--no-sort] [--reverse-sort] [--size-sort]
[--undefined-only] [--portability] [-f {bsd,sysv,posix}]
[--format={bsd,sysv,posix}] [--demangle] [--no-demangle] [--dynamic]
[--defined-only] [--line-numbers]
[--version] [--help]
[file...]
nm: supported targets: som srec symbolsrec tekhex binary ihex hpux-core
Usage: bstab input_data symbol_cnt strtbl_size kernel_file output_file
*** Error exit code 1

Stop.
make failure.
ERROR: The command "/usr/sbin/mk_kernel", which is used to rebuild
the kernel, has failed. Because kernel-related filesets were
installed, this command must be executed by "swinstall",
without failures, before the load can continue. Check the
above output for details about the failure.
NOTE: The Install Phase has suspended. Check the above output for
reasons.
3 REPLIES 3
Ken Scharpell
Valued Contributor

Re: Error Installing General Patch Release

Very interesting. -x is a valid option for nm on HPUX 11. Tried it on mine and -x is;

-x display the value, size of a symbol in hexadecimal. Default for -P

So, is something wrong with your version of nm ?

Ive got; /usr/bin/nm as a symlink to /usr/ccs/bin/nm which is 471040 bytes, a what on it shows;

/usr/bin/nm/:
92453-07 linker command s800.sgs nm
B.11.13 REL 990903
nm.cat: $Revision: 1.0 $

Can you check yours is the same. You may need to try copying nm over from another 11 box if you have one and try that, then see if mk_kernel works before reinstalling the patch bundle.

Which patch bundle is it ? GR, HWCR ? from what date ? (Jun 2000, Sep 2000 ?)

The whole world is a simple perl script
Chris Hinnen
Frequent Advisor

Re: Error Installing General Patch Release

My nm isn't a link in /usr/bin. It is a file 345,664 bytes and if I try and run it it doesn't run, just get an error saying a.out isn't found. If I go to /usr/ccs/bin and run nm there it works and -x is a valid option. So I guess the wrong nm file is being run from the patch. Should I make the /usr/bin nm file a pointer to the one in /usr/ccs/bin? I am trying to install the GR patch. I just downloaded it Thursday so I would assume it is the September release.

Chris
Ken Scharpell
Valued Contributor
Solution

Re: Error Installing General Patch Release


Yes, make /usr/bin/nm a link to /usr/ccs/bin/nm. That should fix your problem.

There isnt a problem with the Sep2000 GR bundled, installed if fine on quite a few servers already.
The whole world is a simple perl script