LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-23-2009, 02:34 PM   #1
cluelessme
Member
 
Registered: Mar 2009
Location: USA
Posts: 33

Rep: Reputation: 15
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
 
Old 03-23-2009, 03:04 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,154
Blog Entries: 1

Rep: Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019
What version of xextproto have you used? Because in Xext.h provided by xextproto-7.0.3 there is:
Code:
extern int (*XSetExtensionErrorHandler(
    int (*handler)(
                   Display *,
                   char *,
                   char *
                   )
))(
                   Display *,
                   char *,
                   char *
);
Note also that extutil.c is in libXext-1.0.4/src/extutil.c
 
Old 03-23-2009, 03:06 PM   #3
cluelessme
Member
 
Registered: Mar 2009
Location: USA
Posts: 33

Original Poster
Rep: Reputation: 15
I've tried version 1.0.3, 1.0.4.,and 1.0.5 and they all give the same error message.
 
Old 03-23-2009, 03:18 PM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,154
Blog Entries: 1

Rep: Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019Reputation: 2019
Have you tried compiling xextproto 7.0.3, before libXext?
 
Old 03-23-2009, 03:27 PM   #5
cluelessme
Member
 
Registered: Mar 2009
Location: USA
Posts: 33

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qnext and libxext.so.6 manolakis Linux - Software 0 05-08-2008 03:31 PM
Compiling - libXext not found? badbunny Linux - Newbie 2 08-11-2005 12:42 PM
libXext sandman545 Ubuntu 5 05-19-2005 07:03 AM
libxext sandman545 Linux - Newbie 2 05-11-2005 06:42 AM
libXext... jakublgz Linux - General 7 02-08-2003 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration