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?
Yes, I use etch. I have upgraded sarge to etch. > If you are then install the "libc-compat" libraries. Sorry, but waht of libc6 compatibility package called something like "libc-compat" can I install? Now I have in system: # dglob libc libclass-accessor-perl libcairo2 libcurl3-gnutls libc5-altdev libc6-dev libcairo2-dev libcfitsio2 libcompfaceg1 libcomerr2 libstdc++2.10-glibc2.2 libcurl2 libcurl3 libconfhelper-perl libcroco3 libcinepaint0 libcupsys2-dev libcaca0 libcucul0 libcdparanoia0 libcupsys2 libc6 libc5 libconsole libcap1 libcupsimage2 libc5 is from woody for compiling Xfree86 3.3.6. Or I need compile libc from source ? > > 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. Thanx. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]