note | These changes are the same on both Linux and Mac OS X. The Motif source tarball included with PV-WAVE Linux installations already contains these modifications |
void
_XmToolTipEnter (Widget wid,
XEvent * event,
String * params,
Cardinal * num_params)
{
XmToolTipConfigTrait ttp; /* ToolTip pointer */
return; /* return statement added here */
ttp = ToolTipGetData (wid);
void
_XmToolTipLeave (Widget w,
XEvent * event,
String * params,
Cardinal * num_params)
{
return; /* return statement added here */
XmToolTipConfigTrait ttp = ToolTipGetData (w);
note | If you are using a non-Solaris compiler linker, you need to install the full Oracle Solaris Compiler and add the following: # ./solarisstudio.sh --non-interactive --installation-location <install_dir> Developer Studio 12.5: 64bit - <install_dir>/developerstudio12.5/lib/compilers/amd64/libc_supp.a 32bit - <install_dir>/developerstudio12.5/lib/compilers/libc_supp.a Solaris Studio 12.4: 64bit - <install_dir>/solarisstudio12.4/lib/compilers/amd64/libc_supp.a 32bit - <install_dir>/solarisstudio12.4/lib/compilers/libc_supp.a |
setenv CC /opt/oracle/solarisstudio12.4/bin/cc
setenv CXX /opt/oracle/solarisstudio12.4/bin/CC
setenv CXXFLAGS " -xO2 -m32"
setenv CFLAGS "-xO2 -m32 -xcode=pic32"
setenv LDFLAGS " -xO2 -m32 -xcode=pic32 -L/usr/lib -lfontconfig"
setenv LD $CC
./configure --prefix=/usr --disable-jpeg --disable-png
make
cp ./lib/Xm/.libs/libXm.a <RW_DIR>/wave/bin/bin.linux/libXm/libXm.a.2.3.6
Note | You need to modify paths to match your system. |
setenv CC /opt/oracle/solarisstudio12.4/bin/cc
setenv CXX /opt/oracle/solarisstudio12.4/bin/CC
setenv CXXFLAGS " -xO2 -m64"
setenv CFLAGS "-xO2 -m64 -xcode=pic32"
setenv LDFLAGS " -xO2 -m64 -xcode=pic32 -L/usr/lib64 -lfontconfig"
setenv LD $CC
./configure --prefix=/usr --disable-jpeg --disable-png
make
cp ./lib/Xm/.libs/libXm.a <RW_DIR>/wave/bin/bin.linux64/libXm/libXm.a.2.3.6
Note | You need to modify paths to match your system. |
setenv CC /usr/bin/clang
setenv CXX /usr/bin/clang
setenv CXXFLAGS " -m64 -fPIC -w -I/usr/X11R6/include -I/usr/local/include/freetype2"
setenv CFLAGS " -m64 -fPIC -w -I/usr/X11R6/include -I/usr/local/include/freetype2"
setenv LDFLAGS " -m64 -fPIC -L/usr/lib -lfontconfig -w"
setenv LD $CC
./configure --prefix=/usr --disable-jpeg --disable-png
make
cp ./lib/Xm/.libs/libXm.a ../../wave/bin/bin.macosx64/xmlib/libXm.a.2.3.6