I have a problem using Apache Portable Runtime on Ubuntu with GCC 4.8.1
The problem is that the off64_t from is not availab
off64_t
Redefine off64_t to __off64_t in your compile flag. Edit your Makefile so it contains:
__off64_t
Makefile
CFLAGS= -Doff64_t=__off64_t
then, just run $ make 1 (assuming you have 1.c in your directory)
$ make 1
1.c