Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with libX11
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Ian
l33t
l33t


Joined: 28 Oct 2002
Posts: 834
Location: Somerville, MA

PostPosted: Thu Jun 22, 2006 3:38 am    Post subject: Problems with libX11 Reply with quote

Having the following error...very confused and I'm going to sleep soon, I'll do some more searching tomorrow if no one can help here.

Code:

ConnDis.c:41:23: error: X11/Xauth.h: No such file or directory
ConnDis.c:716: warning: function declaration isn't a prototype
ConnDis.c: In function 'GetAuthorization':
ConnDis.c:1023: error: 'Xauth' undeclared (first use in this function)
ConnDis.c:1023: error: (Each undeclared identifier is reported only once
ConnDis.c:1023: error: for each function it appears in.)
ConnDis.c:1023: error: 'authptr' undeclared (first use in this function)
ConnDis.c:1037: warning: implicit declaration of function 'XauGetBestAuthByAddr'
ConnDis.c:1037: warning: nested extern declaration of 'XauGetBestAuthByAddr'
ConnDis.c:1232: warning: implicit declaration of function 'XauDisposeAuth'
ConnDis.c:1232: warning: nested extern declaration of 'XauDisposeAuth'
make[3]: *** [ConnDis.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/libX11-1.0.1-r1/work/libX11-1.0.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/libX11-1.0.1-r1/work/libX11-1.0.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/libX11-1.0.1-r1/work/libX11-1.0.1/src'
make: *** [all-recursive] Error 1

!!! ERROR: x11-libs/libX11-1.0.1-r1 failed.
Call stack:
  ebuild.sh, line 1540:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  ebuild.sh, line 1249:   Called x-modular_src_compile
  x-modular.eclass, line 317:   Called x-modular_src_make
  x-modular.eclass, line 312:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


When I checked /usr/lib/X11 (which is where I think it's referring to) there indeed was no Xauth.h. Unfortunately, I have no idea if that's the correct place or not, or if it is, how to correctly get a copy of Xauth.h there. Everything seems to depend on it too, which is even more frustrating.

I'd be jumping right into code now at this point, except I do that all day long at work (sometimes on Linux) so it's kind of starting to loose it's fun...
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Thu Jun 22, 2006 4:36 am    Post subject: Reply with quote

Have you emerged libXau yet?
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
Ian
l33t
l33t


Joined: 28 Oct 2002
Posts: 834
Location: Somerville, MA

PostPosted: Thu Jun 22, 2006 11:41 am    Post subject: Reply with quote

I had it on my package list, but when I re-emerged it libX11 got further. I kind of want to know why I had to re-emerge something...

Now libX11 gets to here:

Code:

In file included from /usr/include/sys/ipc.h:8,
                 from Font.c:44:
/usr/include/gentoo-multilib/amd64/sys/ipc.h:25:3: warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"
Font.c:50:40: error: X11/extensions/xf86bigfstr.h: No such file or directory
Font.c: In function '_XF86BigfontCodes':
Font.c:371: error: 'XF86BIGFONTNAME' undeclared (first use in this function)
Font.c:371: error: (Each undeclared identifier is reported only once
Font.c:371: error: for each function it appears in.)
Font.c:387: error: 'xXF86BigfontQueryVersionReply' undeclared (first use in this function)
Font.c:387: error: expected ';' before 'reply'
Font.c:388: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
Font.c:388: error: 'req' undeclared (first use in this function)
Font.c:392: error: 'xXF86BigfontQueryVersionReq' undeclared (first use in this function)
Font.c:392: error: expected expression before ')' token
Font.c:392: error: 'X_XF86BigfontQueryVersion' undeclared (first use in this function)
Font.c:392: error: 'sz_xXF86BigfontQueryVersionReq' undeclared (first use in this function)
Font.c:396: error: 'reply' undeclared (first use in this function)
Font.c:397: error: 'sz_xXF86BigfontQueryVersionReply' undeclared (first use in this function)
Font.c: In function '_XF86BigfontQueryFont':
Font.c:441: error: 'xXF86BigfontQueryFontReply' undeclared (first use in this function)
Font.c:441: error: expected ';' before 'reply'
Font.c:442: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
Font.c:442: error: 'req' undeclared (first use in this function)
Font.c:462: error: 'sz_xXF86BigfontQueryFontReq' undeclared (first use in this function)
Font.c:462: error: 'xXF86BigfontQueryFontReq' undeclared (first use in this function)
Font.c:462: error: expected expression before ')' token
Font.c:462: error: 'X_XF86BigfontQueryFont' undeclared (first use in this function)
Font.c:466: error: 'XF86Bigfont_CAP_LocalShm' undeclared (first use in this function)
Font.c:467: error: 'XF86Bigfont_FLAGS_Shm' undeclared (first use in this function)
Font.c:483: error: 'reply' undeclared (first use in this function)
Font.c:484: error: 'sz_xXF86BigfontQueryFontReply' undeclared (first use in this function)
Font.c:649: error: 'ext' undeclared (first use in this function)
make[3]: *** [Font.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/libX11-1.0.1-r1/work/libX11-1.0.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/libX11-1.0.1-r1/work/libX11-1.0.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/libX11-1.0.1-r1/work/libX11-1.0.1/src'
make: *** [all-recursive] Error 1

!!! ERROR: x11-libs/libX11-1.0.1-r1 failed.
Call stack:
  ebuild.sh, line 1540:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  ebuild.sh, line 1249:   Called x-modular_src_compile
  x-modular.eclass, line 317:   Called x-modular_src_make
  x-modular.eclass, line 312:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Back to top
View user's profile Send private message
Ian
l33t
l33t


Joined: 28 Oct 2002
Posts: 834
Location: Somerville, MA

PostPosted: Thu Jun 22, 2006 11:52 am    Post subject: Reply with quote

Fixed that error above, now it's complaining about XOpenDisplay. It's on my other computer though, and I don't have time to SSH in and copy the error over.

This is rather frustrating, it's kind of tempting to just wipe out this setup and redo it from scratch...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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