Pavel Troller wrote (in a message from Saturday 3)
 > Hello, dear XF86 developers,
 > 
 >   first of all, happy New Year to all of You and to the XF86 project! 
 > 
 >   And now, the problem:
 >   I cannot compile CVS from about 2.1.2004 up. Formerly it compiled perfectly
 > (about 20.12.). The problem is the following:
 > 
 > gcc -m32 -c -O6 -fomit-frame-pointer -march=i586 -mcpu=i586 -fforce-addr 
 > -fforce-mem -ansi -pedantic -Wall -Wstrict-prototypes -Wmissing-prototypes 
 > -Wmissing-declarations -Wredundant-decls -Wnested-externs    -fno-merge-constants 
 > -I. -I../include -I../../../exports/include/X11 -I../../../include/extensions       
 >        -I../../../programs/Xserver/Xext -I../../../include/fonts 
 > -I../../../programs/Xserver/render                   -I../../../lib/Xau -I../lbx  
 > -I../../.. -I../../../exports/include   -Dlinux -D__i386__ 
 > -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE 
 > -D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP 
 > -DXCSECURITY -DTOGCUP  -DXF86BIGFONT -DDPMSExtension  -DPIXPRIV -DPANORAMIX  
 > -DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA 
 > -DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE -DXvMCExtension 
 > -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN 
 > -DNDEBUG!
    !
 >  -DFUNCPROTO=15 -DNARROWPROTO   -DXSERV_t -DTRANS_SERVER -DUNIXCONN -DTCPCONN 
 > -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN -DIPv6                     -DDDXOSINIT 
 > -DSERVER_LOCK -DDDXOSFATALERROR -DDDXOSVERRORF -DDDXTIME -DPART_NET
 >   -DUSE_RGB_TXT                     -DXDMCP   access.c
 > access.c: In function `DefineSelf':
 > access.c:780: structure has no member named `ifa_addr'
 > make[4]: *** [access.o] Error 1
 > make[4]: Leaving directory `/usr/src/cvs-xc/programs/Xserver/os'
 > make[3]: *** [os] Error 2
 > make[3]: Leaving directory `/usr/src/cvs-xc/programs/Xserver'
 > make[2]: *** [all] Error 2
 > make[2]: Leaving directory `/usr/src/cvs-xc/programs'
 > make[1]: *** [all] Error 2
 > make[1]: Leaving directory `/usr/src/cvs-xc'
 > make: *** [all] Error 2
 > 
 >   I'm trying to compile on a Linux box with 2.4.23 kernel, glibc 2.3.1.
 > IPv6 is enabled on this host.

Sorry. This has been fixed in -current CVS. Wait for the next update
or appley the following patch:

Index: access.c
===================================================================
RCS file: /cvs/xf86/xc/programs/Xserver/os/access.c,v
retrieving revision 3.52
retrieving revision 3.53
diff -u -r3.52 -r3.53
--- access.c    1 Jan 2004 15:03:37 -0000       3.52
+++ access.c    2 Jan 2004 18:23:19 -0000       3.53
@@ -45,7 +45,7 @@
 SOFTWARE.
 
 ******************************************************************/
-/* $XFree86: xc/programs/Xserver/os/access.c,v 3.52 2004/01/01 15:03:37 herrb Exp $ */
+/* $XFree86: xc/programs/Xserver/os/access.c,v 3.53 2004/01/02 18:23:19 tsi Exp $ */
 
 #ifdef WIN32
 #include <X11/Xwinsock.h>
@@ -777,7 +777,7 @@
            continue;
 #if defined(IPv6) && defined(AF_INET6)
        if (family == FamilyInternet6) 
-           in6_fillscopeid((struct sockaddr_in6 *)ifr->ifa_addr);
+           in6_fillscopeid((struct sockaddr_in6 *)&IFR_IFR_ADDR);
 #endif
 #ifdef DEF_SELF_DEBUG
        if (family == FamilyInternet) 


                                        Matthieu
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to