Hi Gerardo,
Hi folk.

> > I try build old version of XFree86 (3.3.6-44 from
> http://archive.debian.org/debian-archive/ woody) under current etch. But
> there are problems with malloc function. For examle: 
> 
> XFree86 3.3.6 is several years old. It probably must be compiled with
> the gcc version that was current at that time. New gcc versions often
> enforce language rules more strictly and break old programs that don't
> conform.
> Both gcc 2.7.2 and 2.95 are available in Etch (aptitude install gcc272
> gcc-2.95). Probably one of those will do.

Thanx, this solve problems with malloc, but now I have new  errors:

gcc -c  -O2 -g -Wall  -I../../../../../../programs/Xserver/hw/xfree86/common 
-I../../../../../../programs/Xserver/hw/xfree86/os
-support -I. -I../../../../../../programs/Xserver/include            
-I../../../../../../exports/include/X11  -I../../../../../
.. -I../../../../../../exports/include  -Dlinux -D__i386__ 
-D_POSIX_C_SOURCE=199309L                            -D_POSIX_SOURCE
 -D_XOPEN_SOURCE=500L                           -D_BSD_SOURCE -D_SVID_SOURCE 
-DSHAPE -DXINPUT -DXKB                            
  -DLBX -DXAPPGROUP                               -DXCSECURITY                  
                  -DDPMSExtension              
                  -DPIXPRIV  -DGCCUSESGAS -DSTATIC_COLOR -DAVOID_GLYPHBLT 
-DPIXPRIV  -DXFreeXDGA -DNDEBUG   -DFUNCPROTO=15 -DNA
RROWPROTO    lnx_io.c                                                           
                                               
lnx_io.c: In function `KDKBDREP_ioctl_ok':                                      
                                               
lnx_io.c:88: error: structure has no member named `rate'                        
                                               
lnx_io.c:96: error: structure has no member named `rate'                        
                                               
lnx_io.c:98: error: structure has no member named `rate'                        
                                               
lnx_io.c:99: error: structure has no member named `rate'                        
                                               
lnx_io.c:100: error: structure has no member named `rate'                       
                                               
lnx_io.c: In function `xf86SetKbdRepeat':                                       
                                               
lnx_io.c:207: warning: implicit declaration of function `ioperm'                
                                               
make[8]: *** [lnx_io.o] Error 1                                                 
                                               
make[8]: Leaving directory 
`/usr/local/src/X_3/xfree86v3-3.3.6/build-tree/xc/programs/Xserver/hw/xfree86/os-support/linux'
     
make[7]: *** [linux] Error 2                                                    
                                               

gcc now is link to gcc-2.95

I tried to look for a solution to the problem on the Internet. 
This problem is known, but I was unable to find a solving.

Thanx.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to