HP B6960-90078 User Manual

Page 757

Advertising
background image

Further Information

Creating a libaci.o on AIX

Appendix A

A-27

#! /usr/omni/lib/libaci.a

aci_initialize

aci_qversion

aci_init

d_errno

aci_view

aci_drivestatus

aci_drivestatus2

aci_driveaccess

aci_mount

aci_dismount

aci_qvolsrange

aci_eject_complete

aci_eject

aci_insert

2. Create the object module

libaci.o

by executing following command:

ld -L/usr/omni/lib -bM:SRE -e_nostart -lc

-bE:<DAS_PATH>/libaci.exp <DAS_PATH>/libaci.a -o libaci.o

<DAS_PATH>

is the path to the directory where the library archive file

libaci.a

and the

libaci.exp

files are located.

3. Copy the library object module

libaci.o

to the

/usr/omni/lib

directory and rename it to

libaci.a

.

IMPORTANT

The full path to the library archive file is

<DAS_PATH>/libaci.a,

whereas the full path to the object module used by DAS Agent is

/usr/omni/lib/libaci.a.

Advertising