Hi all,
I downloaded the batctl package 2011.1.0 from the batman website. I installed it using command make all.
It generates the following two warnings:
functions.c: In function ‘read_file’: functions.c:153:9: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
and
bisect.c: In function ‘bisect’: bisect.c:197:9: warning: ‘j’ may be used uninitialized in this function
I just ignored the warnings. But, I wasn't able to run the batctl command neither could I see the manual page for batctl.
I couldn't figure out what exactly could be the issue though I have been going through the codes and the makefile.
Do anyone of you have an idea if my way of installation is correct?
Thanking you.
Max
I think the warnings are not a big problem.
If you run batctl what is the error message reported?
2011/7/6 Max Ip ipmax2011@googlemail.com:
Hi all,
I downloaded the batctl package 2011.1.0 from the batman website. I installed it using command make all.
It generates the following two warnings:
functions.c: In function ‘read_file’: functions.c:153:9: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
and
bisect.c: In function ‘bisect’: bisect.c:197:9: warning: ‘j’ may be used uninitialized in this function
I just ignored the warnings. But, I wasn't able to run the batctl command neither could I see the manual page for batctl.
I couldn't figure out what exactly could be the issue though I have been going through the codes and the makefile.
Do anyone of you have an idea if my way of installation is correct?
Thanking you.
Max
I get an executable file named batctl in the batctl-2011.1.0 folder. I can run the batctl command using
./batctl originators
but not
batctl originators directly
On Wed, Jul 6, 2011 at 10:58 AM, Daniele Furlan daniele.furlan@gmail.com wrote:
I think the warnings are not a big problem.
If you run batctl what is the error message reported?
2011/7/6 Max Ip ipmax2011@googlemail.com:
Hi all,
I downloaded the batctl package 2011.1.0 from the batman website. I installed it using command make all.
It generates the following two warnings:
functions.c: In function ‘read_file’: functions.c:153:9: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
and
bisect.c: In function ‘bisect’: bisect.c:197:9: warning: ‘j’ may be used uninitialized in this function
I just ignored the warnings. But, I wasn't able to run the batctl command neither could I see the manual page for batctl.
I couldn't figure out what exactly could be the issue though I have been going through the codes and the makefile.
Do anyone of you have an idea if my way of installation is correct?
Thanking you.
Max
-- Daniele Furlan
simply run:
sudo make install
2011/7/6 Max Ip ipmax2011@googlemail.com:
I get an executable file named batctl in the batctl-2011.1.0 folder. I can run the batctl command using
./batctl originators
but not
batctl originators directly
On Wed, Jul 6, 2011 at 10:58 AM, Daniele Furlan daniele.furlan@gmail.com wrote:
I think the warnings are not a big problem.
If you run batctl what is the error message reported?
2011/7/6 Max Ip ipmax2011@googlemail.com:
Hi all,
I downloaded the batctl package 2011.1.0 from the batman website. I installed it using command make all.
It generates the following two warnings:
functions.c: In function ‘read_file’: functions.c:153:9: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
and
bisect.c: In function ‘bisect’: bisect.c:197:9: warning: ‘j’ may be used uninitialized in this function
I just ignored the warnings. But, I wasn't able to run the batctl command neither could I see the manual page for batctl.
I couldn't figure out what exactly could be the issue though I have been going through the codes and the makefile.
Do anyone of you have an idea if my way of installation is correct?
Thanking you.
Max
-- Daniele Furlan
On Wednesday 06 July 2011 10:55:40 Max Ip wrote:
Hi all,
I downloaded the batctl package 2011.1.0 from the batman website. I installed it using command make all.
You didn't install it, but build it.
It generates the following two warnings:
functions.c: In function ‘read_file’: functions.c:153:9: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
and
bisect.c: In function ‘bisect’: bisect.c:197:9: warning: ‘j’ may be used uninitialized in this function
Both warnings don't show problems/
I just ignored the warnings. But, I wasn't able to run the batctl command neither could I see the manual page for batctl.
Ehrm.... $ ./batctl $ man -l ./man/batctl.8
I couldn't figure out what exactly could be the issue though I have been going through the codes and the makefile.
Do anyone of you have an idea if my way of installation is correct?
No, my crystal ball broke yesterday and the gypsy express isn't as fast as the name would suggest.
Kind regards, Sven
b.a.t.m.a.n@lists.open-mesh.org