Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emerge libsdl
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
justbrowsingaround
n00b
n00b


Joined: 27 May 2013
Posts: 3

PostPosted: Thu May 30, 2013 5:26 pm    Post subject: [SOLVED] emerge libsdl Reply with quote

Hi,

I have problem with libsdl: emerge libsdl fails with message:

Code:

...
./src/video/x11/SDL_x11sym.h:168:1: error: conflicting types for ‘_XData32’
/usr/include/X11/Xlibint.h:595:12: note: previous declaration of ‘_XData32’ was here
...


emerge libsdl

emerge completes if USE="-X", but unfortunately I need X flag.

emerge --info

I would appreciate any help.

--Edit--

According to Issue 130 I'd like to manually correct SDL_x11sym.h, but every time I run 'emerge libsdl' old sources - including corrected SDL_x11sym.h file - are overwritten. Is there any way to force emerge to use old files, without unpacking sources?

Michał


Last edited by justbrowsingaround on Thu May 30, 2013 8:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
ser666
n00b
n00b


Joined: 30 May 2013
Posts: 2

PostPosted: Thu May 30, 2013 7:33 pm    Post subject: Reply with quote

mask libX11-1.5.99.902
Back to top
View user's profile Send private message
justbrowsingaround
n00b
n00b


Joined: 27 May 2013
Posts: 3

PostPosted: Thu May 30, 2013 8:49 pm    Post subject: Reply with quote

ser666 thank you for response.

I managed to compile libsdl with USE="X" and libX11-1.5.99.902. I used dirty workaround:
1. emerge libsdl, which failed
2. nano SDL_x11sym.h, correct line 168
3. one more time emerge libsdl in second terminal
4. Ctrl+o in Nano after unpacking phase :-P

Compiled and works.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Thu May 30, 2013 9:09 pm    Post subject: Reply with quote

The relevant bug reports are:
https://bugs.gentoo.org/show_bug.cgi?id=471300
http://bugzilla.libsdl.org/show_bug.cgi?id=1769
Back to top
View user's profile Send private message
Jefferson
n00b
n00b


Joined: 10 Nov 2005
Posts: 66

PostPosted: Fri May 31, 2013 4:51 pm    Post subject: Reply with quote

This worked for me and was the easiest way:

emerge =libX11-1.5.0-r1
emerge libsdl
emerge libX11
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum