"Dave (Grizz) Glaser" <dsglaser_at_mtu.edu> writes:
> > Hmm, does a binary package come with header files?
> > There should be a file named
> > /usr/dept/xpm/X11/xpm.h around.
>
> it is in /usr/dept/xpm/include/X11/xpm.h
>
> >
> > You need to tell us what error message you got.
> >
>
> Here is the error message(s) from config.cache
>
> configure:4384: checking for XpmReadFileToXpmImage in -lXpm
> configure:4403: gcc -o conftest -g -O2 -R/usr/dept/xpm conftest.c -lXpm -lXp
> m
> -lSM -lICE -lX11 -lsocket -lnsl 1>&5
> ld: fatal: file /usr/dept/R6/lib/libXpm.a: unknown type, unable to process us
> ing
> elf(3E) libraries
> ld: fatal: library -lXpm: not found
> ld: fatal: file /usr/dept/R6/lib/libXpm.a: unknown type, unable to process us
> ing
> elf(3E) libraries
> ld: fatal: library -lXpm: not found
> ld: fatal: File processing errors. No output written to conftest
> configure: failed program was:
> #line 4392 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error. */
> /* We use char because int might match the return type of a gcc2
> builtin and then its argument prototype would still apply. */
> char XpmReadFileToXpmImage();
>
> int main() {
> XpmReadFileToXpmImage()
> ; return 0; }
>
> Don't know if this helps much.
Sure it helps.
The linker (ld) is looking at your archive (libXpm.a) and
saying its not a valid archive for the platform your are on.
There could be lots of causes:
. when you downloaded, you didn't download using binary mode.
. The file you downloaded is not the one your OS or OS version uses.
Tell use what OS you are using, and the steps you followed,
-or-
look in INSTALL.fvwm which points you to a source distribution of
xpm, and download and build it yourself.
Another way to check the validity of an archive is:
nm /usr/dept/R6/lib/libXpm.a
--
Dan Espen
444 Hoes Lane Room RRC 1C-214 E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854 Phone: (732) 699-5570
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Jun 01 2000 - 13:44:32 BST