I can't give you access to the FreeBSD server I'm working on, but I can give 
you some short term access to another FreeBSD 9.1 box. Unfortunately it will be 
FreeBSD 9.2 i386 because all my spare hardware is old. If you're still 
interested, I'll need an ssh key and a source IP from you.
Jonathan

From: [email protected]
Date: Thu, 17 Oct 2013 14:12:37 +0200
To: [email protected]
Subject: Re: [Ntop] ntopng build failures on FreeBSD 9.1

Jonathanplease provide an account on your machine for testing: I don;t use 
FreeBSD
Luca
On Oct 17, 2013, at 12:04 AM, Jonathan Call <[email protected]> 
wrote:*Bump*
I'm still getting roughly the same error in today's svn snapshot:
...g++ -g -Wall -g -O2 -I/usr/local/include -I/opt/local/include 
-Ithird-party/credis-0.2.3 -I./third-party/mongoose -Ithird-party/json-c 
-I./nDPI/src/include -I./third-party/LuaJIT-2.0.2/src 
-Ithird-party/rrdtool-1.4.7/src/ -I./third-party/zeromq-3.2.3/include  
-I/usr/local/include -I/opt/local/include -Ithird-party/http-client-c/src/ 
-Ithird-party/EWAHBoolArray/headers  -c Ntop.cpp -o Ntop.oNtop.cpp: In member 
function 'void Ntop::initTimezone()':Ntop.cpp:100: error: 'daylight' was not 
declared in this scopegmake: *** [Ntop.o] Error 1
Jonathan


From: [email protected]
To: [email protected]
Date: Thu, 19 Sep 2013 13:01:09 -0600
Subject: Re: [Ntop] ntopng build failures on FreeBSD 9.1

Per your request I changed it to the following:
void Ntop::initTimezone() {  /*     Setup timezone differences
     We call it all the time as daylight can change     during the night and 
thus we need to have it "fresh"  */  tzset();  time_offset = timezone;
}
It didn't really like it:Ntop.cpp: In member function 'void 
Ntop::initTimezone()':Ntop.cpp:99: error: invalid conversion from 'char* 
(*)(int, int)' to 'long int'gmake: *** [Ntop.o] Error 1
Jonathan

Date: Thu, 19 Sep 2013 18:39:20 +0200
From: [email protected]
To: [email protected]
Subject: Re: [Ntop] ntopng build failures on FreeBSD 9.1

Hello, in the code you can see this Ntop.cpp line 99: void Ntop::initTimezone() 
{
  /*
     Setup timezone differences     We call it all the time as daylight can 
change
     during the night and thus we need to have it "fresh"
  */
  tzset();
  time_offset = timezone - (daylight * 3600);
}
 
This part refer about time zone, try to delete this part or only "- (daylight * 
3600)"first you must test this
This is for test and try build again, we can obtain more info if you continue 
installing, or a fail for BSD because i built yesterday but with other problems.
Sorry for this little help, i haven got BSD at this moment for test.
Regards 
Jose

On Thu, Sep 19, 2013 at 5:19 PM, Jonathan Call <[email protected]> wrote:
Per the recommendations of others I've abandoned ntop and I'm trying to build 
ntopng on my FreeBSD 9.1 (amd64) server.
As has been already posted on this forum, the ntopng-1.0 build fails:...==== 
Building LuaJIT 2.0.1 ====/usr/local/bin/gmake -C srcgmake[2]: Entering 
directory `/root/ntopng-1.0/third-party/LuaJIT-2.0.1/src'CC        
lj_cparse.olj_cparse.c: In function 'cp_get_bs':lj_cparse.c:60: sorry, 
unimplemented: inlining failed in call to 'cp_get': function body not 
availablelj_cparse.c:77: sorry, unimplemented: called from heregmake[2]: *** 
[lj_cparse.o] Error 1gmake[2]: Leaving directory 
`/root/ntopng-1.0/third-party/LuaJIT-2.0.1/src'gmake[1]: *** [default] Error 
2gmake[1]: Leaving directory `/root/ntopng-1.0/third-party/LuaJIT-2.0.1'gmake: 
*** [third-party/LuaJIT-2.0.1/src/libluajit.a] Error 2
I did not see a solution posted for that error so I tried the latest svn 
download and attempted to build that. LuaJIT-2.0.2 builds without incident but 
I now get the following error:...Making all in testsg++ -g -Wall 
-Ithird-party/credis-0.2.3 -I./third-party/mongoose -Ithird-party/json-c 
-I./nDPI/src/include -I./third-party/LuaJIT-2.0.2/src 
-Ithird-party/rrdtool-1.4.7/src/ -I./third-party/zeromq-3.2.3/include  
-I/usr/local/include -I/opt/local/include -Ithird-party/http-client-c/src/ 
-Ithird-party/EWAHBoolArray/headers -c PcapInterface.cpp -o PcapInterface.og++ 
-g -Wall -Ithird-party/credis-0.2.3 -I./third-party/mongoose 
-Ithird-party/json-c -I./nDPI/src/include -I./third-party/LuaJIT-2.0.2/src 
-Ithird-party/rrdtool-1.4.7/src/ -I./third-party/zeromq-3.2.3/include  
-I/usr/local/include -I/opt/local/include -Ithird-party/http-client-c/src/ 
-Ithird-party/EWAHBoolArray/headers -c PeriodicActivities.cpp -o 
PeriodicActivities.og++ -g -Wall -Ithird-party/credis-0.2.3 
-I./third-party/mongoose -Ithird-party/json-c -I./nDPI/src/include 
-I./third-party/LuaJIT-2.0.2/src -Ithird-party/rrdtool-1.4.7/src/ 
-I./third-party/zeromq-3.2.3/include  -I/usr/local/include -I/opt/local/include 
-Ithird-party/http-client-c/src/ -Ithird-party/EWAHBoolArray/headers -c 
Ntop.cpp -o Ntop.oNtop.cpp: In member function 'void 
Ntop::initTimezone()':Ntop.cpp:99: error: 'daylight' was not declared in this 
scopegmake: *** [Ntop.o] Error 1
I'm not much of a programmer so any suggestions would be appreciated.
Thank you
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop



_______________________________________________ Ntop mailing 
[email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________ Ntop mailing 
[email protected] 
http://listgateway.unipi.it/mailman/listinfo/ntop_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop


_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop                               
          
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to