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

Problem when testing for XShmAttach()



Hello,

I am posting this to both the e-development and the debian-x as I am not
exactly not which list to send it too.

When I am triing to build imlib2 it fails during the configure I get the
error below from the config.log :-

configure:2964: checking for XShmAttach in -lXext
configure:2983: gcc -o conftest -g -O2   conftest.c -lXext  -L/usr/X11R6/lib   1
>&5
/usr/X11R6/lib/libXext.so: undefined reference to `_Xglobal_lock'
/usr/X11R6/lib/libXext.so: undefined reference to `_XUnlockMutex_fn'
/usr/X11R6/lib/libXext.so: undefined reference to `_XLockMutex_fn'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2972 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char XShmAttach();

int main() {
XShmAttach()
; return 0; }

So either there is unmet dependancies in Xext or imlib2 is not including
something that it should be. maybe I am right, maybe I am wrong, but can
someone help me.

Now I am not too sure where to go from here, Could some please help me.

Gordon.



Reply to: