[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re[2]: Build X 3.3.6 version under etch



On Fri, 2007-05-11 at 16:21 +0300, Egor Tur wrote:
> 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.

You are using Etch right?

If you are then install the "libc-compat" libraries.

If you upgrade to Lenny or Sid... non-posix threads (or non pthreads)
are no longer supported. You will have a extrememly difficult time
getting them to compile using the "linux" architecture. It is a function
of GLIBC being updated by the "owner" of it, not Debian.

Good luck.
-- 
greg, greg@gregfolkert.net
PGP key: 1024D/B524687C  2003-08-05
Fingerprint: E1D3 E3D7 5850 957E FED0  2B3A ED66 6971 B524 687C
Alternate Fingerprint: 09F9 1102 9D74  E35B D841 56C5 6356 88C0

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: