Operating System - HP-UX
1837399 Members
3747 Online
110116 Solutions
New Discussion

11i. Kernel build problems...

 
Chris Magargee_2
Frequent Advisor

11i. Kernel build problems...

Hello!

I am trying to build a new kernel on a 11i system and receive the following when trying to make the kernel:

Generating module: krm...
Generating module: gvid_info...
Compiling conf.c...
Generating module: drmfgl...
Generating module: gvid_him_fglrx...
Generating module: drmfglrx...
Loading the kernel...
ld: Duplicate symbol "$$div2I" in files mod_wk.d/drmfgl/smod.o and mod_wk.d/gvid
_him_fglrx/smod.o
ld: Duplicate symbol "$$div2U" in files mod_wk.d/drmfgl/smod.o and mod_wk.d/gvid
_him_fglrx/smod.o
ld: Duplicate symbol "firegl_agp_acquire" in files mod_wk.d/drmfgl/smod.o and mo
d_wk.d/drmfglrx/smod.o
ld: Duplicate symbol "__ke_agp_allocate_memory" in files mod_wk.d/drmfgl/smod.o
and mod_wk.d/drmfglrx/smod.o
.
.
.
.
.
ld: Duplicate symbol "init_sequence" in files mod_wk.d/gvid_him_fglrx/smod.o and
/usr/conf/lib/libgraf.a[sti_vga.o]
ld: Duplicate symbol "mult_kludge" in files mod_wk.d/gvid_him_fglrx/smod.o and /
usr/conf/lib/libgraf.a[sti_vga.o]
ld: Duplicate symbol "write_vga_reg" in files mod_wk.d/gvid_him_fglrx/smod.o and
/usr/conf/lib/libgraf.a[sti_vga.o]
235 errors.
*** Error exit code 1

I left off a great many of the errors message, all concerning Duplicate symbol. There was a kernel build awhile back on this system that went awry and I am trying to clean it up and build a clean kernel. Any thoughts are greatly appreciated.

Thanks!
Chris
4 REPLIES 4
Harry Genot_1
New Member

Re: 11i. Kernel build problems...

Hello Chris,

I suspect you did not follow the correct procedure to build the kernel. What have you done exactly ?

The correct procedure to build a kernel is on page 177 at http://docs.hp.com/hpux/pdf/5187-2216.pdf
Ravi_8
Honored Contributor

Re: 11i. Kernel build problems...

Hi Chris

check whether do you have enough space in /stand ?
never give up
Richard Pereira_1
Regular Advisor

Re: 11i. Kernel build problems...

Duplicate symbols can also be a symptom of patches not installed properly or older patches being forced installed over newer revisions, run /usr/contrib/bin/check_patches and see if the analysis reports problems about patches not being configured properly.
Chris Magargee_2
Frequent Advisor

Re: 11i. Kernel build problems...

Thanks for the information! I actually tried to build the kernel via SAM first and it failed. Then I went through the steps as mentioned in the document, still failure.

I finally, due to time constrains, just reloaded the root drive. This system is a test box. I bet the patch installation was the issue. I did notice, when I ran a swlist, that quite a few packages were installed, but not configured.

Thanks again!
Chris