[Box Backup-dev] Header warning on RedHat ES 4

Stefan Norlin boxbackup-dev at fluffy.co.uk
Sun Feb 19 16:03:40 GMT 2006


This is a multi-part message in MIME format.

------=_NextPart_000_013A_01C63576.6E82D980
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

/usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel =
header; include <endian.h> instead!

However, it compiles ok and all tests pass.

If I try to replace asm/byteorder.h with endian.h I get these errors:

../../lib/common/Archive.h: In member function `void =
Archive::Write(int64_t)':
../../lib/common/Archive.h:93: error: `__cpu_to_be64' undeclared (first =
use this function)

Stefan

------=_NextPart_000_013A_01C63576.6E82D980
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>/usr/include/asm/byteorder.h:6:2: =
warning: #warning=20
using private kernel header; include <endian.h> =
instead!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>However, it compiles ok and all tests=20
pass.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>If I try to replace=20
asm/byteorder.h with endian.h I get these errors:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>../../lib/common/Archive.h: In member =
function=20
`void Archive::Write(int64_t)':<BR>../../lib/common/Archive.h:93: error: =

`__cpu_to_be64' undeclared (first use this function)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Stefan</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>

------=_NextPart_000_013A_01C63576.6E82D980--




More information about the Boxbackup-dev mailing list