Hello, I’m trying to build GTK (version gtk+-3.22.0) in a non-standard directory (in order to use a different package). I have installed and compiled all the dependencies (all stated and those discovered along the way), including the X11 libs. I have getting the below linking errors and I do not understand exactly where the interaction is going wrong. I have looked for all of the missing symbols and have found them in the X11 lib, using ‘nm –defined-only’, which is in the make file target spec. Any clue would be helpful… Matt Here’s the error. remake all-am remake[1]: Entering directory `/nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/home/SW/gtk/gtk+-3.22.0/gtk' CCLD libgtk-3.la CCLD gtk-query-immodules-3.0 /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/sfwr/bin/ld: skipping incompatible /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/sfwr/lib/libgcc_s.so
when searching for -lgcc_s /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/sfwr/bin/ld: skipping incompatible /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/sfwr/lib/libgcc_s.so
when searching for -lgcc_s /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/home/SW/gtk/gtk+-3.22.0/gdk/.libs/libgdk-3.a(gdkeventsource.o): In function `gdk_event_source_translate_event': /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/home/SW/gtk/gtk+-3.22.0/gdk/x11/gdkeventsource.c:186: undefined reference to `XGetEventData' /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/home/SW/gtk/gtk+-3.22.0/gdk/x11/gdkeventsource.c:212: undefined reference to `XFreeEventData' /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/home/SW/gtk/gtk+-3.22.0/gdk/x11/gdkeventsource.c:260: undefined reference to `XFreeEventData' /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/home/SW/gtk/gtk+-3.22.0/gdk/.libs/libgdk-3.a(gdkasync.o): In function `_gdk_x11_send_client_message_async': /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/home/SW/gtk/gtk+-3.22.0/gdk/x11/gdkasync.c:265: undefined reference to `_XGetRequest' /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/home/SW/gtk/gtk+-3.22.0/gdk/x11/gdkasync.c:285: undefined reference to `_XGetRequest' /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/home/SW/gtk/gtk+-3.22.0/gdk/.libs/libgdk-3.a(gdkasync.o): In function `list_children_and_wm_state': /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/home/SW/gtk/gtk+-3.22.0/gdk/x11/gdkasync.c:372: undefined reference to `_XGetRequest' /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/home/SW/gtk/gtk+-3.22.0/gdk/.libs/libgdk-3.a(gdkasync.o): In function `_gdk_x11_get_window_child_info': /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/home/SW/gtk/gtk+-3.22.0/gdk/x11/gdkasync.c:628: undefined reference to `_XGetRequest' /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/home/SW/gtk/gtk+-3.22.0/gdk/x11/gdkasync.c:631: undefined reference to `_XGetRequest' /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/home/SW/gtk/gtk+-3.22.0/gdk/.libs/libgdk-3.a(gdkasync.o):/nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/home/SW/gtk/gtk+-3.22.0/gdk/x11/gdkasync.c:617:
more undefined references to `_XGetRequest' follow /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/sfwr/lib/libXi.so: undefined reference to `XESetCopyEventCookie' /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/sfwr/lib/libXi.so: undefined reference to `XESetWireToEventCookie' collect2: error: ld returned 1 exit status Makefile:2985: *** [gtk-query-immodules-3.0] Error 1 Matt Priest DCG/NPG/OPA |