Dear GAP Forum, and Dear John,
Dima Pasechnik passed your query from sci.math.symbolic on to the GAP 
Forum (see http://www-gap.dcs.st-and.ac.uk/gap/Info/forum.html).
dima@cs.uu.nl said:
> jrs@lsa.umich.edu (John Stembridge)
>
>  Has anyone been able to get gap 3.4.4 to compile on a recent version
>  of Linux?
>  
To compile GAP 3.4.4 (I haven't tried earlier 3.4.x kernels, but there 
are very few changes) on Linux with glibc2 (libc6) you need to give the 
compiler an extra option:
make ibm-i386-linux-gcc2 COPTS="-DSYS_HAS_IOCTL_PROTO"
You should then get no more than a few warnings, and the resulting 
binary should work. Let us know if this doesn't work.
Steve Linton