Article View: gnu.gcc.help
Article #42099Re: GCC Linker Problem
From: Alex Lemaresquier
Date: Tue, 23 Jan 1996 00:00
Date: Tue, 23 Jan 1996 00:00
26 lines
1439 bytes
1439 bytes
Christopher Wingert (cwingert@qualcomm.com) wrote: (...) : 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.o menus.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' : GetFont.o(.text+0xb3): undefined reference to `XLoadQueryFont' : zzz:/mnt/fs1/src/fvwm# nm /usr/X11R6/lib/libX11.a | grep XLoadQueryFont : 00000000 T _XLoadQueryFont : U _XLoadQueryFont : U _XLoadQueryFont (...) -- Try putting -lX11 at the real end. Hope that helps, Alex. -- Alex Lemaresquier : alex@brasil.brainstorm.cnam.fr
Technical Details
Message-ID:
<4e388u$e24@brasil.frmug.fr.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4e34fe$4js@qualcomm.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,8347dbaa9519d86f,start X-Google-Attributes: gid11318c,public X-Google-Thread: 10c696,8347dbaa9519d86f,start X-Google-Attributes: gid10c696,public From: alex@cuba.frmug.fr.net (Alex Lemaresquier) Subject: Re: GCC Linker Problem Date: 1996/01/23 Message-ID: <4e388u$e24@brasil.frmug.fr.net> X-Deja-AN: 136081231 references: <4e34fe$4js@qualcomm.com> organization: Brainstorm, Paris, France followup-to: gnu.gcc.help,comp.os.linux.development.apps newsgroups: gnu.gcc.help,comp.os.linux.development.apps