Library Problems



On a Linux platform, I have in the make file:
CFLAGS =  -Wall -g -m64
INCD   = `pkg-config --cflags gtk+-2.0`
LFLAGS = `pkg-config --libs gtk+-2.0` -lm -ltiff
The pkg-config commands appear to return valid paths.

However, when I try to make, I get the following errors.


/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.2.4/../../../libgtk-x11-2.0.so when searching for -lgtk-x11-2.0 /usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.2.4/../../../libgtk-x11-2.0.a when searching for -lgtk-x11-2.0 /usr/bin/ld: skipping incompatible /usr/bin/../lib/libgtk-x11-2.0.so when searching for -lgtk-x11-2.0 /usr/bin/ld: skipping incompatible /usr/bin/../lib/libgtk-x11-2.0.a when searching for -lgtk-x11-2.0 /usr/bin/ld: skipping incompatible /usr/lib/libgtk-x11-2.0.so when searching for -lgtk-x11-2.0 /usr/bin/ld: skipping incompatible /usr/lib/libgtk-x11-2.0.a when searching for
-lgtk-x11-2.0
/usr/bin/ld: cannot find -lgtk-x11-2.0


Suggestions?  Incompatible libraries?  How do I fix?
--
Dean P McCullough
301 926 4454


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