[HPADM] Kernel Compilation on HP-UX 11.00

From: Guru Mysore (gmysore@lucent.com)
Date: Thu Dec 05 2002 - 16:26:12 EST


Hi,

Actually, we are using a HP-UX 11.00 on a L-Class (L3000) server. The
installation was done from a tape, which contains the Hp-UX and our Application
bundled together. Now that a new 4- port (A5506B) Lan card is added in the
L-Class server, I need to support the Lan Card. I downloaded the driver from the
Support Plus CD - December 2001 release and bundled all the components into a
tape.

Now my tape contains HP-UX 11.00, Lan Card Driver and our Application.

We are using SD-UX for packaging purpose, So using swinstall the installation on
the system was succesful. After the installation, the kernel is rebuilt. During
the rebuilding process, I am facing with the following problem.

------------------------------------------------------------------------------------------------------------------------------
* Building a new kernel using the command: "/usr/sbin/mk_kernel -o
         /stand/vmunix".
        /usr/bin/mkdir -p /stand/build
Compiling /stand/build/conf.c...
Loading the kernel...
ld: Duplicate symbol "vx_noifree" in files /stand/build/conf.o and
/usr/conf/lib/libvxfs_base.a[vx_config.o]
1 errors.

*** Error exit code 1

Stop.
config: make did an exit(1)
ERROR: Could not make an executable kernel. An interactive shell will now be
         provided. Once you have fixed the problem or a kernel has been built
         and placed in /stand/vmunix, "exit" the shell.

-------------------------------------------------------------------------------------------------------------------------------

/stand directory contents.....
-rw-r--r-- 1 root sys 20 Dec 5 18:20 bootconf
drwxr-xr-x 4 root sys 1024 Dec 5 20:54 build
-rw-r--r-- 1 root sys 3336 Dec 5 18:20 ioconfig
drwxr-xr-x 2 root root 8192 Dec 5 18:18 lost+found
-r--r--r-- 1 root sys 1103 Dec 5 19:32 system

/stand/build contains.....
-rw-r--r-- 1 root sys 221088 Dec 5 19:33 btlan3_dbg.o
-rw-r--r-- 1 root sys 65295 Dec 5 20:54 conf.c
-rw-r--r-- 1 root sys 200232 Dec 5 20:54 conf.o
-rw-r--r-- 1 root sys 200232 Dec 5 19:33 conf.o.old
-rwxr--r-- 1 root sys 6651 Dec 5 20:54 config.mk
drwxr-xr-x 5 root sys 1024 Dec 5 20:54 dlkm.vmunix_test
-r--r--r-- 1 root sys 311040 Dec 5 19:33 fc_gsc.o
-r--r--r-- 1 root sys 297168 Dec 5 19:33 fcms.o
-rw-r--r-- 1 root sys 279176 Dec 5 19:33 fddi3_header.o
-rw-r--r-- 1 root sys 285456 Dec 5 19:33 fddi4_dbg.o
-r--r--r-- 1 root sys 201448 Dec 5 19:33 file_sys.o
-rw-r--r-- 1 root sys 418 Dec 5 20:54 function_names.c
-rw-r--r-- 1 root sys 1336 Dec 5 20:54 function_names.o
-r--r--r-- 1 root sys 290376 Dec 5 19:33 io.o
-rw-r--r-- 1 root sys 286064 Dec 5 19:33 lan_dbg0.o
-rw-r--r-- 1 root sys 159808 Dec 5 19:33 lan_dbg1.o
-r--r--r-- 1 root sys 66784 Dec 5 19:33 locore.o
-rw-r--r-- 1 root sys 149392 Dec 5 19:33 low_level.o
-r--r--r-- 1 root sys 271088 Dec 5 19:33 lv_lvm.o
drwxr-xr-x 2 root sys 24 Dec 5 20:54 mod_wk.d
-rw-r--r-- 1 root sys 69888 Dec 5 19:33 multiproc.o
-rw-r--r-- 1 root sys 17200 Dec 5 19:33 netdiag.o
-rw-r--r-- 1 root sys 234976 Dec 5 19:33 nfs.o
-r--r--r-- 1 root sys 176368 Dec 5 19:33 pci_debug.o
-r--r--r-- 1 root sys 315720 Dec 5 19:33 proc_man.o
-rw-r--r-- 1 root sys 113576 Dec 5 19:33 security.o
-rw-r--r-- 1 root sys 344920 Dec 5 19:33 sio_drivers1.o
-rw-r--r-- 1 root sys 117568 Dec 5 19:33 sio_drivers2.o
-rw-r--r-- 1 root sys 171712 Dec 5 19:33 sio_drivers3.o
-rw-r--r-- 1 root sys 139296 Dec 5 19:33 sio_drivers4.o
-rw-r--r-- 1 root sys 332 Dec 5 19:33 space.h
-rw-r--r-- 1 root sys 195520 Dec 5 19:33 streams.o
-rw-r--r-- 1 root sys 105536 Dec 5 19:33 strtio.o
-rw-r--r-- 1 root sys 128336 Dec 5 19:33 telnet.o
-rw-r--r-- 1 root sys 163792 Dec 5 19:33 termio0.o
-rw-r--r-- 1 root sys 160000 Dec 5 19:33 termio1.o
-rw-r--r-- 1 root sys 140248 Dec 5 19:33 termio2.o
-rw-r--r-- 1 root sys 142968 Dec 5 19:33 termio3.o
-rw-r--r-- 1 root sys 3511 Dec 5 20:54 tune.h
-r--r--r-- 1 root sys 101808 Dec 5 19:33 virt_mem.o
-rw-r--r-- 1 root sys 17806544 Dec 5 20:54 vmunix_test
-r--r--r-- 1 root sys 442536 Dec 5 19:33 vxfs.o
-r--r--r-- 1 root sys 217792 Dec 5 19:33 wsio_drivers.o
-r--r--r-- 1 root sys 188144 Dec 5 19:33 wsio_scsi.o
-rw-r--r-- 1 root sys 53080 Dec 5 19:33 wtermio.o
-r-xr--r-- 1 root sys 284824 Dec 5 19:33 xport_diag.o

I would like to know what how to go about this problem. What are the steps
followed?

Thanks,
Guru Mysore

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:22 EDT