OpenSolaris 2008.11 Media Management System Administration Guide

Table of Contents

Modifying the ACSLS Configuration

When you add the MMS software to the ACSLS environment, you must modify the ACSLS configuration to allow them to work together. Use the procedure in this section to integrate the MMS software with the ACSLS configuration. The procedure refers to the CSC Developer's Toolkit (CDK) 2.3 which includes the CDK source code and the CDK 2.3 User's Guide. ( 313495003). This procedure changes the following files:

  • Shared library: libapi.so
  • Static binary files: mini_el and ssi

How To Build Static Binary Files

  1. Follow the instructions in Chapter 2 of the CDK 2.3 User Guide to build static versions of ssi and mini_el. The resulting files are located in CDK23/bin.
  2. Move the files from CDK23/bin to /opt/mms/bin/acsls.

How to Build the Shared Library

  1. Open the CDK23/src/acsapi/Makefile file.
  2. At Line 74, change the line to the following:
    APILIB=libapi.so
  3. In the Targets section, at approximately Line 159, after the commands for target libapi.a, insert the following:
    libapi.so:$(OBJ)
    $(CC)-G -o $(APILIB) $(OBJ) $(LIBS) -L../../lib -lipc -lutl -lcl -lipc -lcl
    

    The following example shows a modified Targets section:

    libapi.a: $(OBJ)
    ranlib $(APILIB)
    if [ `uname` = "Linux" ]; \
    then ar cru $(APILIB) $(OBJ); \
    else ar cru $(APILIB) `lorder $(OBJ) | tsort`; \
    fi
    libapi.so: $(OBJ)
    $(CC) -G -o $(APILIB) $(OBJ) $(LIBS) -L../../lib -lipc -lutl -lcl -lipc -lcl
    top_debug: debug install
    
  4. Save and close the makefile.
  5. Go to the CDK23/src/acsapi directory.
  6. Use the make command to create the shared library,libapi.so, in the CDK23/lib directory.
  7. Move the shared library to the /pt/mms/lib/acsls directory.