I tried building xtel against libmotif-dev instead of lesstif2-dev on the
Ubuntu PPA builders and the build failed.

<command-line>:0:0: note: this is the location of the previous definition
xm.c: In function 'Validation_confirmation_sortie':
xm.c:817:8: warning: ignoring return value of 'write', declared with
attribute warn_unused_result [-Wunused-result]
rm -f xtel
gcc -m32 -o xtel -g -O2      -DUSE_MOTIF -DUSE_SYSLOG    -DDONT_USE_POPUP
     xtel.o ligne.o bouton.o inet.o imprime.o lecteur.o procedure.o
teleinfo.o copyright.o protocoles.o misc.o version.o xm.o  -LVideotex
-lVideotex -LWidgets -lWidgets -ljpeg -lXm -lXt -lSM -lICE -lXp -lXext
-lX11  -lXpm -lXt -lSM -lICE -lXext -lX11
/usr/bin/ld.bfd.real: cannot find -lXp
collect2: error: ld returned 1 exit status
make[2]: *** [xtel] Error 1
make[2]: Leaving directory `/build/buildd/xtel-3.3.0'
make[1]: *** [Xtel] Error 2
make[1]: Leaving directory `/build/buildd/xtel-3.3.0'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

I had a brief look, but was unable to determine where the '-lXp' was coming
from.  Adding build-depends libxp-dev to debian/control allowed the package
to build, but it would be better if we could remove the dependency on libXp
altogether as I don't think that xtel actually makes use of it.

Reply via email to