On Mon, Dec 22, 2008 at 08:37:28PM +0100, Christopher Bratusek wrote: > Am Samstag, den 20.12.2008, 14:50 +0100 schrieb Mihai T. Lazarescu: > > I get a linking error. The command: > > gcc -s -o sawfish colors.o cursors.o display.o events.o fonts.o > frames.o functions.o images.o keys.o main.o multihead.o pixmap-cache.o > property-cache.o server.o session.o stacking-list.o windows.o -Wl,--rpath > -Wl,/usr/lib -s -Wl,--export-dynamic -L/usr/lib -lrep -lcrypt -lgmp -lm > -lpangoxft-1.0 -lpangoft2-1.0 -lpangox-1.0 -lpango-1.0 -lgdk_pixbuf_xlib-2.0 > -lgdk_pixbuf-2.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lSM -lICE > -lXinerama -lXrandr -lXft -lXrender -lfontconfig -lfreetype -lX11 -lXext -lnsl > > ends up with tens of errors like: > > cursors.o: In function `g_bit_nth_lsf': > cursors.c:(.text+0x0): multiple definition of `g_bit_nth_lsf' > colors.o:colors.c:(.text+0x0): first defined here > > for many object files and symbols. > > Dependencies installed: > > rep-gtk-0.18.1 > librep-0.17.1 > > Is there something I am missing? > > Thanks, > > Mihai > > > ... There haven't been changes to src/cursors.c src/colors.c. What gcc/make > versions?
It was a Fedora 9, updated. Now I upgraded to F10 and the problem just vanished. :) Thanks, Mihai
