Re: [exim] 4.64 compile problem on Linux 2.6.19.1

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: George R Kasica
Fecha:  
A: Tom Kistner
Cc: exim-users
Asunto: Re: [exim] 4.64 compile problem on Linux 2.6.19.1
>On Wed, 20 Dec 2006 20:04:04 +0100, you wrote:

>George R. Kasica wrote:
>
>> gcc transport.c
>> In file included from transport.c:17:
>> /usr/local/include/sys/sendfile.h:26:3: error: #error
>> "<sys/sendfile.h> cannot be used with _FILE_OFFSET_BITS=64"
>> make[1]: *** [transport.o] Error 1
>> make[1]: Leaving directory
>> `/mnt/scsi-1/Linux/exim-4.64/build-Linux-i386'
>> make: *** [go] Error 2
>
>/usr/local/include is an unusual location for this header. Could it be
>an outdated copy? I'm not convinced that the mentioned limitation still
>exists. Do you have another copy of sys/sendfile.h somewhere (maybe in
>/usr/include where it really should be)?
>

Tom:

I have another copy but it is the same code as the one referenced
above and from the glibc 2.2.4 that I have installed here.

# find / -name sendfile.h -print -depth
/usr/local/include/sys/sendfile.h
/usr/local/include.old/sys/sendfile.h
/usr/include/sys/sendfile.h
/mnt/scsi-1/Linux/glibc-2.2.4/sysdeps/unix/sysv/linux/sys/sendfile.h

# ll /usr/local/include/sys/sendfile.h
-rw-r--r--    1 root     root         1316 Dec 20 13:25
/usr/local/include/sys/sendfile.h


# ll /usr/local/include.old/sys/sendfile.h
-rw-r--r--    1 root     root         1316 Aug 26 17:07
/usr/local/include.old/sys/sendfile.h


# ll /usr/include/sys/sendfile.h
-rw-r--r--    1 root     root         1316 Jun 24  2005
/usr/include/sys/sendfile.h


# ll
/mnt/scsi-1/Linux/glibc-2.2.4/sysdeps/unix/sysv/linux/sys/sendfile.h
-rw-r--r--    1 root     root         1316 Jul 23  2001
/mnt/scsi-1/Linux/glibc-2.2.4/sysdeps/unix/sysv/linux/sys/sendfile.h


and in the files it clearly says this is a problem:

#ifdef __USE_FILE_OFFSET64
# error "<sys/sendfile.h> cannot be used with _FILE_OFFSET_BITS=64"
#endif

So how do I work around this one....I know upgrading glibc is a MAJOR
problem and probably beyond my ability without some assistance.

George, Nazarene(6/1/99- ), Ginger/The Beast Kasica(8/1/88-3/19/01, 1/17/02-), MR. Tibbs(8/1/90-5/24/06)
Jackson, WI USA
georgek@???
http://www.netwrx1.com/georgek
ICQ #12862186

(&quot;`-''-/&quot;).___..--''&quot;`-._
`6_ 6  )   `-.  (     ).`-.__.`)
(_Y_.)'  ._   )  `._ `. ``-..-'
_..`--'_..-_/  /--'_.' ,'
(il),-''  (li),'  ((!.-'