Re: 2.96.4 beta build reports

"George N. White III" <[email protected]>
Newsgroups gmane.comp.tex.tetex.beta
Organization Bedford Institute of Oceanography
Message-ID <[email protected]>
On Sun, 11 Jul 2004, Stefan Ulrich wrote:

> Thomas Esser <[email protected]> writes:
>
>> On Wed, Jul 07, 2004 at 03:42:29PM -0300, George N. White III wrote:
>>> "xdvi.h" defines MAXPATHLEN, so a quick fix was to edit
>>> "print-internal.c" and "util.c" to replace PATH_MAX with MAXPATHLEN..
>
>> kpathsea/c-pathmx.h seems to sole this in a better way. Stefan, do
>> you agree?  Will you set up an appropriate #include somewhere?
>
> I've now added and include but also changed PATH_MAX to
> MAXPATHLEN for consistency with other places in the code.
>
>>> The link of xdvi-motif.bin failed until I added -L/usr/Motif-2.1/lib32 and
>>> made the corresponding adjustment to the rpath.  This system was

The problem is that the default Motif "build environment" on this system
is Motif-1.2.  To make Motif-2.1 the default, you have to run a
script to create new symbolic links in the system library directories.
I'm not eager to try that (will existing binaries look for shared
libs in the "real" locations?).

Using c99, and XLib and or Motif-1.2 seem require some BSD
functions, but Motif-2.1 works well without the BSD compatibilty settings.

>> Stefan?
>
> I guess we'll have to add a configure check for this - how did it
> fail (what was the undefined function)?

/bin/sh ../libtool --mode=link c99 -o xdvi-motif.bin \
  -mips4 -g -O2 -L/usr/local/lib -L/usr/freeware/lib32 \
  -rpath /usr/local/lib:/usr/freeware/lib32   \
   browser.o dvi-draw.o dvi-init.o dvisel.o encodings.o \
   events.o filehist.o font-open.o gf.o hypertex.o \
   image-magick.o mime.o my-snprintf.o my-vsnprintf.o \
   pagehist.o pk.o print-internal.o psdps.o psgs.o \
   psheader.o psnews.o read-mapfile.o search-internal.o special.o \
   string-utils.o tfmload.o util.o vf.o xdvi.o xserver-info.o x_util.o \
   ./gui/libgui.a ../../libs/t1lib/libt1.a \
   ../../libs/t1lib/../type1/libtype1.a  -lXm -lXmu -lXt -lSM -lICE \
   -lXext -lX11 -liconv -lXpm  ../kpathsea/libkpathsea.la -lm 
c99 -o xdvi-motif.bin -mips4 -g -O2 browser.o dvi-draw.o \
   dvi-init.o dvisel.o encodings.o events.o filehist.o \
   font-open.o gf.o hypertex.o image-magick.o mime.o \
   my-snprintf.o my-vsnprintf.o pagehist.o pk.o print-internal.o \
   psdps.o psgs.o psheader.o psnews.o read-mapfile.o \
   search-internal.o special.o string-utils.o tfmload.o \
   util.o vf.o xdvi.o xserver-info.o x_util.o \
   -L/usr/local/lib -L/usr/freeware/lib32 ./gui/libgui.a \
   ../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/libtype1.a \
   -lXm -lXmu -lXt -lSM -lICE -lXext -lX11 \
   /usr/local/lib/libiconv.so -L/usr/lib32 -lXpm \
   ../kpathsea/.libs/libkpathsea.a -lm \
   -rpath /usr/local/lib:/usr/local/lib:/usr/freeware/lib32
ld32: ERROR   33 : Unresolved text symbol "XmCreateSpinBox"
  -- 1st referenced by ./gui/libgui.a(xm_prefs_fonts.o).
ld32: ERROR   33 : Unresolved data symbol "xmSpinBoxWidgetClass"
  -- 1st referenced by ./gui/libgui.a(xm_prefs_page.o).
ld32: ERROR   33 : Unresolved text symbol "XmComboBoxAddItem"
  -- 1st referenced by ./gui/libgui.a(xm_prefs_helpers.o).
ld32: ERROR   33 : Unresolved text symbol "XmComboBoxSelectItem"
  -- 1st referenced by ./gui/libgui.a(xm_prefs_helpers.o).
ld32: ERROR   33 : Unresolved text symbol "XmStringUnparse"
  -- 1st referenced by ./gui/libgui.a(xm_prefs_helpers.o).
ld32: ERROR   33 : Unresolved data symbol "xmComboBoxWidgetClass"
  -- 1st referenced by ./gui/libgui.a(xm_prefs_helpers.o).
ld32: INFO    152: Output file removed because of error.
gmake: *** [xdvi-motif.bin] Error 2

--
George N. White III  <[email protected]>
   Head of St. Margarets Bay, Nova Scotia, Canada
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.