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

Build X 3.3.6 version under etch



    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:
efaxg42d.c
efaxg42d.c: In function 'EncodeFaxG42D':
efaxg42d.c:195: warning: implicit declaration of function 'LbxImageFindDiff'
efaxg42d.c: In function 'LbxImageEncodeFaxG42D':
efaxg42d.c:282: error: conflicting types for 'malloc'
efaxg42d.c:296: warning: implicit declaration of function 'LbxReverseBits'
efaxg42d.c:325: warning: implicit declaration of function 'free'
make[6]: *** [efaxg42d.o] Error 1

When I try sole conflicting types the next errors also occur in malloc. 
How can I solve more problems with types declaration in malloc?

gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

Thanx.



Reply to: