Re: Compiling problem with gtk+-1.2.10



Midori Sugaya wrote:
To compile on a skiff, try this (it's been working pretty well for me
for compiling other packages):

export CC=/skiff/local/bin/arm-linux-gcc

./configure --host=i686-linux --target=arm-linux
--prefix=/skiff/local/arm-linux
--x-includes=/skiff/local/arm-linux/include/X11/
--x-libraries=/skiff/local/arm-linux/lib/X11 --disable-static

/skiff/local/bin/arm-linux-gcc -O2 -fno-exceptions -Wall -o testgtk
testgtk.o .libs/libgtk.a -L/usr/lib -l
gmodule -lglib -ldl -L/skiff/local/arm-linux/lib/X11 -lXext -lX11 -lm
../gdk/.libs/libgdk.a -lgmodule -lgl
ib -ldl -lXext -lX11 -lm -L/skiff/local/arm-linux/lib/X11 -lXext -lX11
-L/usr/lib -rdynamic -lgmodule -lgl
ib -ldl -lm
/usr/lib/libgmodule.so: In function `_init':
/usr/lib/libgmodule.so(.init+0x0): multiple definition of `_init'
/skiff/local/arm-linux/lib/crti.o(.init+0x0): first defined here

That is using the libgmodule.so from /usr/lib/, which is not the
skiff-compiled one.  That is wrong again.  I don't think -L/usr/lib
should be there, but I don't know much more than that.

(Perhaps verify it is running the correct gtk-config?)





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]