Solaris 7 (SPARC Platform Edition) Release Notes

CDE Issues and Bugs

Supported Y2K Dates Testing Procedure

CDE and Solaris 7 is Y2K-compliant. Use the date command to modify the system date and clock. If you want the system date and clock to reflect a future date for testing purposes, halt or shut down the system and run in single user mode. You can only modify the system date in single user mode. You can then boot your system and run in multi user mode with the desired test date.

Compiling Motif Programs on Solaris 7 (4172061)

This problem occurs when compiling a Motif program in the Solaris 7 operating environment if you link to an older shared library that has been compiled in the Solaris 2.5 or Solaris 2.6 operating environments and if the older library also uses the Motif API. In this case the Motif program uses Motif version 2.1 and the old shared library uses Motif version 1.2. A core dump occurs. This is not a binary compatibility problem for applications compiled in the Solaris 2.4, 2.5, 2.5.1, 2.6 operating environments. Those applications should run correctly in the Solaris 7 operating environment.

Workaround: When you use either one of the following two workarounds, copy the Solaris 2.6 Motif header file directory Xm located in /usr/dt/include/ to a temporary directory.

  1. Modify the compile line that is usually represented as:


    cc m.c -I/usr/openwin/include -I/usr/dt/include -lXm -lXt -lX11 
    to be as follows:

    cc m.c -I/usr/openwin/include -I/tmp -I/usr/dt/include 
    /usr/lib/libXm.so.3 -lXt -lX11
    or

  1. Alternately, copy /usr/dt/lib/libXm.so.3 to a temporary directory /tmp.

  2. Execute the command ln -s libXm.so.3 libXm.so in the directory /tmp.

  3. Use a Motif compile line similar to the following:


    cc m.c -I/usr/openwin/include -I/tmp -I/usr/dt/include 
    -L/tmp -lXm -lXt -lX11