Hmm. In my /usr/include/Xm/XpmP.h, there are a bunch of defines of the sort:

/* Xpm external symbols are prefixed with Xme */

#define XpmCreatePixmapFromData XmeXpmCreatePixmapFromData
#define XpmCreateDataFromPixmap XmeXpmCreateDataFromPixmap
...

What does your's look like? You may need something similar. Or, maybe some change has been made to Motif, and we should remove or conditionally define these XmeXpm* uses.


-jon

On 06/08/2018 03:09 PM, Matthew R. Trower wrote:
Jon Trulson <j...@radscan.com> writes:


The main reason for requiring that people build Motif was for printing
(XPRINT) support.  Xorg removed this support some time ago, and
'default' motif installations do not enable it anymore either.

Starting in 2.2.4, CDE removed this support as well, and with other
fixes in 2.2.4a, there really should be no need to build Motif
anymore. Just install the developer versions of your system's motif
and that should work now.

If it does not, let see if we can figure out why.  The same goes for
any of the BSD's, or any other OS we support.

-jon

[...]

Sounds good to me.  It should greatly simplify packaging.
Unfortunately, when trying to build with system motif on OI, I encounter
this (full log attached):

---
LD_RUN_PATH=/usr/dt/lib:/usr/lib:/usr/X11/lib /opt/solarisstudio/bin/cc -o 
dthelpview -O2 -Xa     -L/usr/X11/lib -L
../../../exports/lib  -L../../../imports/motif/lib -L../../../imports/x11/lib 
Main.o ManPage.o Util.o version.o -lD
tHelp -lDtSvc -ltt -lXm -lXt -lSM -lICE -lXext -lX11 -L/usr/X11/lib -L/usr/lib  
-ldl  -lgen -lm -L/opt/solarisstudi
o/lib -lCrun -lsocket -lnsl
Undefined                       first referenced
  symbol                             in file
XmeXpmReadFileToPixmap              ../../../exports/lib/libDtSvc.so
XmeXpmFreeAttributes                ../../../exports/lib/libDtSvc.so
XmeXpmCreatePixmapFromData          ../../../exports/lib/libDtSvc.so
XmeXpmCreateImageFromBuffer         ../../../exports/lib/libDtHelp.so
XmeXpmReadFileToImage               ../../../exports/lib/libDtSvc.so
XmeXpmWriteFileFromPixmap           ../../../exports/lib/libDtSvc.so
XmeXpmWriteFileFromImage            ../../../exports/lib/libDtSvc.so
ld: fatal: symbol referencing errors. No output written to dthelpview
---

This seems relevant:

http://opensolaris-discuss.opensolaris.narkive.com/IyXuzCAO/vim-7-0-sxcr-56-build-problems

Perhaps motif-2.3.6 (which is what I seem to have in /opt) still
includes this 'private copy' of Xpm?  I'll look into this further...





------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel


--
Jon Trulson

"Fire all weapons and open a hailing frequency for my victory yodle."

                              - Zapp Brannigan

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to