Usiłuję zlinkować program pod gtk2 statycznie. Niestety jak na razie mi się to nie udało i brakło mi już pomysłów co może być przyczyną. W tej chwili dostaję takie komunikaty: [EMAIL PROTECTED] src]$ make xmod gcc -g -O2 -o xmod main.o support.o interface.o callbacks.o -static -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangoxft-1.0 -lfontconfig -lgdk_pixbuf-2.0 -lpangox-1.0 -lpango-1.0 -lfreetype -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -latk-1.0 -lxml2 -lXft -lXext -lXinerama -lXi -lXrender -lX11 -lpth -lz -lm /usr/lib/gcc-lib/i686-pld-linux/3.3.2/../../../libgmodule-2.0.a(gmodule.o) (.text+0x52): In function `_g_module_open': : warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc-lib/i686-pld-linux/3.3.2/../../../libglib-2.0.a(gutils.o) (.text+0xb3b): In function `g_get_any_init': : warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc-lib/i686-pld-linux/3.3.2/../../../libglib-2.0.a(gutils.o) (.text+0xb2e): In function `g_get_any_init': : warning: Using 'setpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc-lib/i686-pld-linux/3.3.2/../../../libglib-2.0.a(gutils.o) (.text+0xb43): In function `g_get_any_init': : warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/X11R6/lib/libX11.a(GetDflt.o)(.text+0x9b): In function `GetHomeDir': : warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc-lib/i686-pld-linux/3.3.2/../../../libglib-2.0.a(gutils.o) (.text+0x9be): In function `g_get_any_init': : warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/X11R6/lib/libX11.a(x11trans.o)(.text+0x342): In function `_X11TransSocketOpen': : warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/X11R6/lib/libX11.a(x11trans.o)(.text+0xecb): In function `_X11TransSocketINETConnect': : warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/X11R6/lib/libX11.a(x11trans.o)(.text+0xe12): In function `_X11TransSocketINETConnect': : warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc-lib/i686-pld-linux/3.3.2/../../../libfontconfig.a(fcxml.o) (.text+0x566): In function `FcConfigMessage': : undefined reference to `XML_GetCurrentLineNumber' /usr/lib/gcc-lib/i686-pld-linux/3.3.2/../../../libfontconfig.a(fcxml.o) (.text+0x5da): In function `FcConfigMessage': : undefined reference to `XML_GetCurrentLineNumber' /usr/lib/gcc-lib/i686-pld-linux/3.3.2/../../../libfontconfig.a(fcxml.o) (.text+0x26da): In function `FcConfigParseAndLoad': : undefined reference to `XML_ParserCreate' /usr/lib/gcc-lib/i686-pld-linux/3.3.2/../../../libfontconfig.a(fcxml.o) (.text+0x2718): In function `FcConfigParseAndLoad': : undefined reference to `XML_SetUserData' /usr/lib/gcc-lib/i686-pld-linux/3.3.2/../../../libfontconfig.a(fcxml.o) (.text+0x2732): In function `FcConfigParseAndLoad': : undefined reference to `XML_SetDoctypeDeclHandler' /usr/lib/gcc-lib/i686-pld-linux/3.3.2/../../../libfontconfig.a(fcxml.o) (.text+0x274c): In function `FcConfigParseAndLoad': : undefined reference to `XML_SetElementHandler' /usr/lib/gcc-lib/i686-pld-linux/3.3.2/../../../libfontconfig.a(fcxml.o) (.text+0x275d): In function `FcConfigParseAndLoad': : undefined reference to `XML_SetCharacterDataHandler' /usr/lib/gcc-lib/i686-pld-linux/3.3.2/../../../libfontconfig.a(fcxml.o) (.text+0x277d): In function `FcConfigParseAndLoad': : undefined reference to `XML_GetBuffer' /usr/lib/gcc-lib/i686-pld-linux/3.3.2/../../../libfontconfig.a(fcxml.o) (.text+0x27c4): In function `FcConfigParseAndLoad': : undefined reference to `XML_ParseBuffer' /usr/lib/gcc-lib/i686-pld-linux/3.3.2/../../../libfontconfig.a(fcxml.o) (.text+0x27e9): In function `FcConfigParseAndLoad': : undefined reference to `XML_ParserFree' /usr/lib/gcc-lib/i686-pld-linux/3.3.2/../../../libfontconfig.a(fcxml.o) (.text+0x286b): In function `FcConfigParseAndLoad': : undefined reference to `XML_GetErrorCode' /usr/lib/gcc-lib/i686-pld-linux/3.3.2/../../../libfontconfig.a(fcxml.o) (.text+0x2873): In function `FcConfigParseAndLoad': : undefined reference to `XML_ErrorString' /usr/X11R6/lib/libXft.a(xftdpy.o)(.text+0xc30): In function `XftDefaultSubstitute': : undefined reference to `FcDefaultSubstitute' /usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0x838): In function `_XEventsQueued': : undefined reference to `pthread_equal' /usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xbf1): In function `_XEventsQueued': : undefined reference to `pthread_equal' /usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc0e): In function `_XEventsQueued': : undefined reference to `pthread_equal' /usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc2d): In function `_XEventsQueued': : undefined reference to `pthread_equal' /usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xc48): In function `_XEventsQueued': : undefined reference to `pthread_equal' /usr/X11R6/lib/libX11.a(XlibInt.o)(.text+0xcd4): more undefined references to `pthread_equal' follow collect2: ld returned 1 exit status make: *** [xmod] Error 1
Czy jest ktoś w stanie powiedzieć gdzie szukać/dłubnąć żeby się zlinkowało ? -- Jacek Rzęsista GG 61213 __________________________________________________________ nie pytaj co inni zrobili dla pld, pomysl ile sam zrobiles
