> Date: Wed, 10 Jan 1996 13:17:17 -0300 (GMT-3:00)
> From: berardi_at_korton.ia.cti.br (Paulo Berardi)
>
> Hi,
> I am buildin the fvwm version 2.0.40 and have an error when
> linking.
> Can You help me to undestand what's wrong:
>
> >make
> ..........................
>
> rm -f fvwm2
> gcc -o fvwm2 -O2 -m486 -ansi -L/usr/X11R6/lib add_window.o
> bindings.o borders.o builtins.o colormaps.o
> colors.o complex.o decorations.o events.o
> focus.o functions.o fvwm.o icons.omenus.o
> misc.o module.o move.o placement.o read.o resize.o
> style.o virtual.o windows.o -lXpm -lXExExt -lXext
> -lX11 ../libs/libfvwm2.a
> GetFont.o(.text+0x8f): undefined reference to `XLoadQueryFont'
This is due to the order of libraries. Either give the command manually
or edit the Makefile to be like this:
gcc -o fvwm2 -O2 -m486 -ansi -L/usr/X11R6/lib <... object files...> \
../libs/libfvwm2.a -lXpm -lXExExt -lXext -lX11
--
Mark Powell, Senior Software Engineer <medp_at_primag.co.uk>
Primagraphics Limited, Graphics Court, Melbourn Science Park,
Melbourn, Royston, Herts SG8 6EJ, England. Tel. +44 1763 262041
--
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed Jan 10 1996 - 12:42:16 GMT