[Box Backup] Installation Problem- Compile failure - Suse 11 - Timer.cpp
Phil Shelley
boxbackup@boxbackup.org
Tue, 7 Oct 2008 13:42:42 -0500
--_000_9410E5CE1535FE41A8CB26F7FB57651F80D392F090EXCLUSTER2Hol_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi:
I have been testing and using Box Backup for months on several machines wit=
hout issue, but on a new installation of Suse 11 I am getting "make" failur=
es when compiling.
The post below solved my first problem but I am getting exactly the same er=
ror as this person was:....
[CXX] Logging.cpp
[CXX] MemBlockStream.cpp
[CXX] NamedLock.cpp
[CXX] PartialReadStream.cpp
[CXX] PathUtils.cpp
[CXX] ReadGatherStream.cpp
[CXX] ReadLoggingStream.cpp
[CXX] StreamableMemBlock.cpp
[CXX] Timer.cpp
Timer.cpp: In static member function 'static void Timers::Cleanup()':
Timer.cpp:119: error: 'memset' was not declared in this scope
Timer.cpp:121: warning: unused variable 'result'
Timer.cpp: In static member function 'static void Timers::Reschedule()':
Timer.cpp:296: error: 'memset' was not declared in this scope
make[2]: *** [../../release/lib/common/Timer.o] Error 1
make[2]: Leaving directory `/home/xxx/Desktop/en.linuxx86/boxbackup-0.11rc2=
/lib/common'
make[1]: *** [dep_modules] Error 2
make[1]: Leaving directory `/home/xxx/Desktop/en.linuxx86/boxbackup-0.11rc2=
/bin/bbackupd'
make: *** [parcels/boxbackup-0.11rc2-backup-client-linux-gnu.tgz] Error 2
Thanks for a great application and your support.
________________________________
http://lists.warhead.org.uk/pipermail/boxbackup/2008-June/004590.html
[Box Backup] compile failure on fedora 9
Alex Howansky boxbackup@fluffy.co.uk<mailto:boxbackup@fluffy.co.uk>
Mon, 30 Jun 2008 18:56:30 -0400
* Previous message: [Box Backup] compile failure on fedora 9
* Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Please could you try editing lib/common/Logging.cpp and add the following
> line:
>
> #include <string.h>
>
> after:
>
> #include <errno.h>
>
> and see if that fixes the problem?
Thanks for the quick response Chris.
Well, it fixed *that* problem, heh. Now I get:
test -d parcels/boxbackup-0.11rc2-backup-client-linux-gnu || mkdir parcels/=
boxbackup-0.11rc2-backup-client-linux-gnu
(cd bin/bbackupd; make RELEASE=3D1)
make[1]: Entering directory `/usr/local/src/boxbackup-0.11rc2/bin/bbackupd'
make[2]: Entering directory `/usr/local/src/boxbackup-0.11rc2/lib/common'
[CXX] Logging.cpp
[CXX] MemBlockStream.cpp
[CXX] NamedLock.cpp
[CXX] PartialReadStream.cpp
[CXX] PathUtils.cpp
[CXX] ReadGatherStream.cpp
[CXX] ReadLoggingStream.cpp
[CXX] StreamableMemBlock.cpp
[CXX] Timer.cpp
Timer.cpp: In static member function 'static void Timers::Cleanup()':
Timer.cpp:119: error: 'memset' was not declared in this scope
Timer.cpp:121: warning: unused variable 'result'
Timer.cpp: In static member function 'static void Timers::Reschedule()':
Timer.cpp:296: error: 'memset' was not declared in this scope
make[2]: *** [../../release/lib/common/Timer.o] Error 1
make[2]: Leaving directory `/usr/local/src/boxbackup-0.11rc2/lib/common'
make[1]: *** [dep_modules] Error 2
make[1]: Leaving directory `/usr/local/src/boxbackup-0.11rc2/bin/bbackupd'
make: *** [parcels/boxbackup-0.11rc2-backup-client-linux-gnu.tgz] Error 2
________________________________
Confidentiality Statement This communication (including any attachments) is=
intended solely for the addressee(s) named above and may contain confident=
ial, proprietary or legally privileged information. Unauthorized use, discl=
osure, copying or printing is prohibited. If you have received this communi=
cation in error, please notify the sender immediately by replying to this c=
ommunication and then delete the original communication and destroy any cop=
ies or printouts thereof. ---------------------------------------
--_000_9410E5CE1535FE41A8CB26F7FB57651F80D392F090EXCLUSTER2Hol_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:p=3D"urn:schemas-m=
icrosoft-com:office:powerpoint" xmlns:a=3D"urn:schemas-microsoft-com:office=
:access" xmlns:dt=3D"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s=3D"=
uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs=3D"urn:schemas-microsof=
t-com:rowset" xmlns:z=3D"#RowsetSchema" xmlns:b=3D"urn:schemas-microsoft-co=
m:office:publisher" xmlns:ss=3D"urn:schemas-microsoft-com:office:spreadshee=
t" xmlns:c=3D"urn:schemas-microsoft-com:office:component:spreadsheet" xmlns=
:odc=3D"urn:schemas-microsoft-com:office:odc" xmlns:oa=3D"urn:schemas-micro=
soft-com:office:activation" xmlns:html=3D"http://www.w3.org/TR/REC-html40" =
xmlns:q=3D"http://schemas.xmlsoap.org/soap/envelope/" xmlns:D=3D"DAV:" xmln=
s:x2=3D"http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois=3D"ht=
tp://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir=3D"http://schema=
s.microsoft.com/sharepoint/soap/directory/" xmlns:ds=3D"http://www.w3.org/2=
000/09/xmldsig#" xmlns:dsp=3D"http://schemas.microsoft.com/sharepoint/dsp" =
xmlns:udc=3D"http://schemas.microsoft.com/data/udc" xmlns:xsd=3D"http://www=
.w3.org/2001/XMLSchema" xmlns:sub=3D"http://schemas.microsoft.com/sharepoin=
t/soap/2002/1/alerts/" xmlns:ec=3D"http://www.w3.org/2001/04/xmlenc#" xmlns=
:sp=3D"http://schemas.microsoft.com/sharepoint/" xmlns:sps=3D"http://schema=
s.microsoft.com/sharepoint/soap/" xmlns:xsi=3D"http://www.w3.org/2001/XMLSc=
hema-instance" xmlns:udcxf=3D"http://schemas.microsoft.com/data/udc/xmlfile=
" xmlns:wf=3D"http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns=
:mver=3D"http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns=
:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels=3D"http=
://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t=3D"ht=
tp://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m=3D"htt=
p://schemas.microsoft.com/exchange/services/2006/messages" xmlns:Z=3D"urn:s=
chemas-microsoft-com:" xmlns:st=3D"" xmlns=3D"http://www.w3.org/TR/REC-=
html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Arial","sans-serif";
color:#4F6228;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"Section1">
<p class=3D"MsoNormal">Hi:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">I have been testing and using Box Backup for months =
on several machines without issue, but on a new installation of Suse 11 I a=
m getting “make” failures when compiling.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">The post below solved my first problem but I am gett=
ing exactly the same error as this person was:….<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">[CXX] Logging.cpp<o:p></o:p>=
</p>
<p class=3D"MsoNormal">[CXX] MemBlockStream.cpp<o:p=
></o:p></p>
<p class=3D"MsoNormal">[CXX] NamedLock.cpp<o:p></o:=
p></p>
<p class=3D"MsoNormal">[CXX] PartialReadStream.cpp<=
o:p></o:p></p>
<p class=3D"MsoNormal">[CXX] PathUtils.cpp<o:p></o:=
p></p>
<p class=3D"MsoNormal">[CXX] ReadGatherStream.cpp<o=
:p></o:p></p>
<p class=3D"MsoNormal">[CXX] ReadLoggingStream.cpp<=
o:p></o:p></p>
<p class=3D"MsoNormal">[CXX] StreamableMemBlock.cpp=
<o:p></o:p></p>
<p class=3D"MsoNormal">[CXX] Timer.cpp<o:p></o:p></=
p>
<p class=3D"MsoNormal">Timer.cpp: In static member function ‘static v=
oid Timers::Cleanup()’:<o:p></o:p></p>
<p class=3D"MsoNormal">Timer.cpp:119: error: ‘memset’ was not d=
eclared in this scope<o:p></o:p></p>
<p class=3D"MsoNormal">Timer.cpp:121: warning: unused variable ‘resul=
t’<o:p></o:p></p>
<p class=3D"MsoNormal">Timer.cpp: In static member function ‘static v=
oid Timers::Reschedule()’:<o:p></o:p></p>
<p class=3D"MsoNormal">Timer.cpp:296: error: ‘memset’ was not d=
eclared in this scope<o:p></o:p></p>
<p class=3D"MsoNormal">make[2]: *** [../../release/lib/common/Timer.o] Erro=
r 1<o:p></o:p></p>
<p class=3D"MsoNormal">make[2]: Leaving directory `/home/xxx/Desktop/en.lin=
uxx86/boxbackup-0.11rc2/lib/common'<o:p></o:p></p>
<p class=3D"MsoNormal">make[1]: *** [dep_modules] Error 2<o:p></o:p></p>
<p class=3D"MsoNormal">make[1]: Leaving directory `/home/xxx/Desktop/en.lin=
uxx86/boxbackup-0.11rc2/bin/bbackupd'<o:p></o:p></p>
<p class=3D"MsoNormal">make: *** [parcels/boxbackup-0.11rc2-backup-client-l=
inux-gnu.tgz] Error 2<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Thanks for a great application and your support.<o:p=
></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<div class=3D"MsoNormal" align=3D"center" style=3D"text-align:center">
<hr size=3D"2" width=3D"100%" align=3D"center">
</div>
<p class=3D"MsoNormal"><a href=3D"http://lists.warhead.org.uk/pipermail/box=
backup/2008-June/004590.html">http://lists.warhead.org.uk/pipermail/boxback=
up/2008-June/004590.html</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">[Box Backup] compile failure on fedora 9<o:p></o:p><=
/p>
<p class=3D"MsoNormal">Alex Howansky <a href=3D"mailto:boxbackup@fluffy.co.=
uk">boxbackup@fluffy.co.uk</a><o:p></o:p></p>
<p class=3D"MsoNormal">Mon, 30 Jun 2008 18:56:30 -0400<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal"> * Previous message: [Box Backup] =
compile failure on fedora 9<o:p></o:p></p>
<p class=3D"MsoNormal"> * Messages sorted by: [ date ] [ =
thread ] [ subject ] [ author ]<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">> Please could you try editing lib/common/Logging=
.cpp and add the following
<o:p></o:p></p>
<p class=3D"MsoNormal">> line:<o:p></o:p></p>
<p class=3D"MsoNormal">> <o:p></o:p></p>
<p class=3D"MsoNormal">> #include <string.h><o:p></o:p=
></p>
<p class=3D"MsoNormal">> <o:p></o:p></p>
<p class=3D"MsoNormal">> after:<o:p></o:p></p>
<p class=3D"MsoNormal">> <o:p></o:p></p>
<p class=3D"MsoNormal">> #include <errno.h><o:p></o:p>=
</p>
<p class=3D"MsoNormal">> <o:p></o:p></p>
<p class=3D"MsoNormal">> and see if that fixes the problem?<o:p></o:p></=
p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Thanks for the quick response Chris.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">Well, it fixed *that* problem, heh. Now I get:<o:p><=
/o:p></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
<p class=3D"MsoNormal">test -d parcels/boxbackup-0.11rc2-backup-client-linu=
x-gnu || mkdir parcels/boxbackup-0.11rc2-backup-client-linux-gnu<o:p></o:p>=
</p>
<p class=3D"MsoNormal">(cd bin/bbackupd; make RELEASE=3D1)<o:p></o:p></p>
<p class=3D"MsoNormal">make[1]: Entering directory `/usr/local/src/boxbacku=
p-0.11rc2/bin/bbackupd'<o:p></o:p></p>
<p class=3D"MsoNormal">make[2]: Entering directory `/usr/local/src/boxbacku=
p-0.11rc2/lib/common'<o:p></o:p></p>
<p class=3D"MsoNormal">[CXX] Logging.cpp<o:p></o:p>=
</p>
<p class=3D"MsoNormal">[CXX] MemBlockStream.cpp<o:p=
></o:p></p>
<p class=3D"MsoNormal">[CXX] NamedLock.cpp<o:p></o:=
p></p>
<p class=3D"MsoNormal">[CXX] PartialReadStream.cpp<=
o:p></o:p></p>
<p class=3D"MsoNormal">[CXX] PathUtils.cpp<o:p></o:=
p></p>
<p class=3D"MsoNormal">[CXX] ReadGatherStream.cpp<o=
:p></o:p></p>
<p class=3D"MsoNormal">[CXX] ReadLoggingStream.cpp<=
o:p></o:p></p>
<p class=3D"MsoNormal">[CXX] StreamableMemBlock.cpp=
<o:p></o:p></p>
<p class=3D"MsoNormal">[CXX] Timer.cpp<o:p></o:p></=
p>
<p class=3D"MsoNormal">Timer.cpp: In static member function 'static void Ti=
mers::Cleanup()':<o:p></o:p></p>
<p class=3D"MsoNormal">Timer.cpp:119: error: 'memset' was not declared in t=
his scope<o:p></o:p></p>
<p class=3D"MsoNormal">Timer.cpp:121: warning: unused variable 'result'<o:p=
></o:p></p>
<p class=3D"MsoNormal">Timer.cpp: In static member function 'static void Ti=
mers::Reschedule()':<o:p></o:p></p>
<p class=3D"MsoNormal">Timer.cpp:296: error: 'memset' was not declared in t=
his scope<o:p></o:p></p>
<p class=3D"MsoNormal">make[2]: *** [../../release/lib/common/Timer.o] Erro=
r 1<o:p></o:p></p>
<p class=3D"MsoNormal">make[2]: Leaving directory `/usr/local/src/boxbackup=
-0.11rc2/lib/common'<o:p></o:p></p>
<p class=3D"MsoNormal">make[1]: *** [dep_modules] Error 2<o:p></o:p></p>
<p class=3D"MsoNormal">make[1]: Leaving directory `/usr/local/src/boxbackup=
-0.11rc2/bin/bbackupd'<o:p></o:p></p>
<p class=3D"MsoNormal">make: *** [parcels/boxbackup-0.11rc2-backup-client-l=
inux-gnu.tgz] Error 2<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:"Ar=
ial","sans-serif";
color:#4F6228"><o:p> </o:p></span></p>
<p class=3D"MsoNormal"><o:p> </o:p></p>
</div>
<br>
<hr>
<font face=3D"Arial" color=3D"Gray" size=3D"1">Confidentiality Statement Th=
is communication (including any attachments) is intended solely for the add=
ressee(s) named above and may contain confidential, proprietary or legally =
privileged information. Unauthorized use,
disclosure, copying or printing is prohibited. If you have received this c=
ommunication in error, please notify the sender immediately by replying to =
this communication and then delete the original communication and destroy a=
ny copies or printouts thereof.
---------------------------------------<br>
</font>
</body>
</html>
--_000_9410E5CE1535FE41A8CB26F7FB57651F80D392F090EXCLUSTER2Hol_--