Subject: xpm-3.4k package broken?
To: None <netbsd-help@netbsd.org>
From: Carrie Jones <carrie@cjones.org>
List: netbsd-help
Date: 03/13/2002 10:02:40
Hello,

In order to get emacs to compile on a 1.5.2 machine (i386 port) I snagged
a copy of the 1.5.3 x sets. Figuring that backwards compatibility would
solve the problems I was having trying to compile emacs, I ignored the
fact that it might break other things, such as xpm-3.4k. Emacs works fine,
but this is what I get with the xpm-3.4k package.

===> Required package xpm-3.4k: NOT found
===> Verifying reinstall for ../../graphics/xpm
===> Building for xpm-3.4k
making all in ./lib...
making all in ./sxpm...
rm -f sxpm
gcc -o sxpm -O2      -L/usr/X11R6/lib sxpm.o -L../lib -L/usr/X11R6/lib
-lXpm -lXt -lSM -lICE -lXext -lX11
-Wl,-rpath,/usr/X11R6/lib:/usr/X11R6/lib -Wl,-rpath,/lib
sxpm.o: In function `main':
sxpm.o(.text+0x409): undefined reference to `XpmReadFileToPixmap'
sxpm.o(.text+0xace): undefined reference to `XpmReadFileToPixmap'
sxpm.o(.text+0xba3): undefined reference to `XpmCreatePixmapFromData'
sxpm.o(.text+0xbee): undefined reference to `XpmWriteFileFromPixmap'
sxpm.o: In function `Punt':
sxpm.o(.text+0xf7f): undefined reference to `XpmFreeAttributes'
sxpm.o(.text+0xfea): undefined reference to `XpmFreeAttributes'
sxpm.o: In function `VersionInfo':
sxpm.o(.text+0x10e1): undefined reference to `XpmLibraryVersion'
sxpm.o(.text+0x10f0): undefined reference to `XpmLibraryVersion'
collect2: ld returned 1 exit status
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

I realize that 1.5.3 will be out very shortly, so this may be a moot
point, but I was wondering if anyone had any suggestions about how I could
get it to find the right libraries in 1.5.2?

TIA,

Carrie Jones