libXext XsetExtentionsErrorHandler
When trying to compile libXext I keep getting this error
gcc -DHAVE_CONFIG_H -I. -I.. -DMALLOC_0_RETURNS_NULL -g -O2 -MT extutil.lo -MD -MP -MF .deps/extutil.Tpo -c extutil.c -fPIC -DPIC -o .libs/extutil.o extutil.c:253: error: conflicting types for 'XSetExtensionErrorHandler' /usr/include/X11/extensions/Xext.h:41: error: previous declaration of 'XSetExtensionErrorHandler' was here make[2]: *** [extutil.lo] Error 1 make[2]: Leaving directory `/sources/xc/lib/libXext-1.0.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/sources/xc/lib/libXext-1.0.4' make: *** [all] Error 2 when I go to /usr/include/X11/extensions/Xext.h and read the file all it says on lin e41 is extern XextErrorHandler XSetExtensionErrorHandler( XextErrorHandler /* handler */ can't fint extutil.c file anywhere |
What version of xextproto have you used? Because in Xext.h provided by xextproto-7.0.3 there is:
Code:
extern int (*XSetExtensionErrorHandler( |
I've tried version 1.0.3, 1.0.4.,and 1.0.5 and they all give the same error message.
|
Have you tried compiling xextproto 7.0.3, before libXext?
|
Thanks that worked I was using xextproto 7.0.5 and it refused to work with any of of the three libxext packages I had
|
All times are GMT -5. The time now is 05:11 PM. |