ntop problem [INACTIVE]

Here we discuss compilation and how to build an addon for BFW.

ntop problem

Mensagempor nachazo » Sáb Jun 10, 2006 3:08 am

hi folks...

have this error message when i try to run ntop...

Código: Selecionar todos
Argentobr# ntop -P /hdb/ntop/data
Sat Jun 10 03:05:43 2006  NOTE: Interface merge enabled by default
Sat Jun 10 03:05:44 2006  Initializing gdbm databases
Sat Jun 10 03:05:44 2006  ntop will be started as user nobody
Sat Jun 10 03:05:44 2006  ntop v.3.2 SourceForge .tgz
Sat Jun 10 03:05:44 2006  Configured on Jun 10 2006  3:27:59, built on Jun 10 2006 03:50:32.
Sat Jun 10 03:05:44 2006  Copyright 1998-2005 by Luca Deri <deri@ntop.org>
Sat Jun 10 03:05:44 2006  Get the freshest ntop from http://www.ntop.org/
Sat Jun 10 03:05:44 2006  NOTE: ntop is running from ''
Sat Jun 10 03:05:44 2006  NOTE: (but see warning on man page for the --instance parameter)
Sat Jun 10 03:05:44 2006  Initializing ntop
Sat Jun 10 03:05:44 2006  Checking br0 for additional devices
Sat Jun 10 03:05:44 2006  Resetting traffic statistics for device br0
Sat Jun 10 03:05:44 2006  DLT: Device 0 [br0] is 1, mtu 1514, header 14
Sat Jun 10 03:05:44 2006  Initializing gdbm databases
Sat Jun 10 03:05:44 2006  VENDOR: Loading MAC address table.
Sat Jun 10 03:05:44 2006  VENDOR: Checking for MAC address table file
ntop: can't resolve symbol 'fopen64'


any idea?

regards...
nachazo
 

Mensagempor Esteban » Seg Jun 12, 2006 7:36 pm

Hi, it's me again with the same question: Have you included the header file stdio.h?
Avatar do usuário
Esteban
BFW Beneméritos
 
Mensagens: 964
Registrado em: Ter Ago 30, 2005 7:24 pm
Localização: Weekdays @ 38.00ºS 57.55ºW & 38.11ºS 57.85ºW || Weekends @ 38.00ºS 57.55ºW & 38.55ºS 58.75ºW
BrazilFW Box:

Mensagempor nachazo » Ter Jun 13, 2006 2:28 pm

Hello esteban...

Just don´t know...

Where it´s from? some library add-on?

I use libpcap, libpthread and libpng...

your help are very welcome...

regards.
nachazo
 

Mensagempor tcherenato » Ter Ago 01, 2006 2:36 pm

nachazo,

o Esteban deve estar se referindo à biblioteca stdio.h, requerida para se compilar quase qualquer coisa em C. Com certeza não é isso.

Eu hoje tentei compilar o NTOP para o BFW. Já vi que além de muito complicado, iria ficar imenso, muito grande para os padrões do BFW.
O NTOP é uma excelente ferramenta, muito boa, e poderia servir para quem tem HD instalado. Ainda vou continuar tentando fazê-lo funcionar. Acho que vale a pena o trabalho.
Eu precisei compilar as seguintes bibliotecas. Veja se está batendo com as tuas.

921980 Aug 1 14:08 libcrypto.so.0.9.7
439647 Aug 1 13:43 libgd.so.2
24642 Aug 1 13:43 libgdbm.so.2
507033 Aug 1 13:58 libmyrrd-3.2.so
2125408 Aug 1 13:43 libntop-3.2.so
1707781 Aug 1 13:45 libntopreport-3.2.so
185076 Aug 1 13:44 libpcap.a
413249 Aug 1 13:44 libpng12.so.0
60704 Aug 1 14:02 libpthread.so.0
178020 Aug 1 14:06 libssl.so.0.9.7
tcherenato
 

Mensagempor Esteban » Ter Ago 01, 2006 6:37 pm

o Esteban deve estar se referindo à biblioteca stdio.h


Exato :)

nachazo, For some reason I skiped this topic and never replied to your post. My apologies.
This is as far as I can go regarding this problem of yours.
Avatar do usuário
Esteban
BFW Beneméritos
 
Mensagens: 964
Registrado em: Ter Ago 30, 2005 7:24 pm
Localização: Weekdays @ 38.00ºS 57.55ºW & 38.11ºS 57.85ºW || Weekends @ 38.00ºS 57.55ºW & 38.55ºS 58.75ºW
BrazilFW Box:

Mensagempor nachazo » Qua Ago 02, 2006 12:28 am

Thanks tcherenato and Esteban.....


But i can compile ntop with succes.... with the error came later when i copy the binaries to brazilfw i try to run and all appears normally after this:

ntop: can't resolve symbol 'fopen64'

don´t know what it is....

It could be something referer to busy box... (like in sarg)

Regards.
nachazo
 

Mensagempor andrefellows » Qua Ago 02, 2006 7:33 am

nachazo, just rename fopen64 to fopen inside all source code.

fopen64 handle long names while fopen short names (dos format)

recompile and thats it!
andrefellows
 

Mensagempor nachazo » Qua Ago 02, 2006 2:24 pm

Thanks andrefellows... I will try...

But... Why occurs this issue?

Brazilfw can´t resolv long names?

regards...
nachazo
 

Mensagempor andrefellows » Qua Ago 02, 2006 3:37 pm

I think busybox binaries do not include fopen64 calls

regards!
andrefellows
 

Mensagempor Claudio » Qui Ago 03, 2006 10:46 am

It might be a problem in our very cut libs.

I'm planning to add a few more options to our uClibc, but i have to mesure the overall impact over the size.
Não dou suporte via mensagem privada e e-mail.
Por favor, não insista.
Avatar do usuário
Claudio
BFW Founder
BFW Beneméritos
 
Mensagens: 7553
Registrado em: Qui Ago 25, 2005 9:10 am
Localização: Vitória - ES - Brasil
BrazilFW Box:

Mensagempor nachazo » Qui Ago 03, 2006 1:38 pm

Maybe could be and add-on library... only for hd systems....

Regards.
nachazo
 


Voltar para Add-On Factory

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 11 visitantes

cron