b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] make batctl 2011.1.0
@ 2011-07-06  8:55 Max Ip
  2011-07-06  8:58 ` Daniele Furlan
  2011-07-06  9:04 ` Sven Eckelmann
  0 siblings, 2 replies; 5+ messages in thread
From: Max Ip @ 2011-07-06  8:55 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [B.A.T.M.A.N.] make batctl 2011.1.0
  2011-07-06  8:55 [B.A.T.M.A.N.] make batctl 2011.1.0 Max Ip
@ 2011-07-06  8:58 ` Daniele Furlan
  2011-07-06  9:05   ` Max Ip
  2011-07-06  9:04 ` Sven Eckelmann
  1 sibling, 1 reply; 5+ messages in thread
From: Daniele Furlan @ 2011-07-06  8:58 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [B.A.T.M.A.N.] make batctl 2011.1.0
  2011-07-06  8:55 [B.A.T.M.A.N.] make batctl 2011.1.0 Max Ip
  2011-07-06  8:58 ` Daniele Furlan
@ 2011-07-06  9:04 ` Sven Eckelmann
  1 sibling, 0 replies; 5+ messages in thread
From: Sven Eckelmann @ 2011-07-06  9:04 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Max Ip

[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [B.A.T.M.A.N.] make batctl 2011.1.0
  2011-07-06  8:58 ` Daniele Furlan
@ 2011-07-06  9:05   ` Max Ip
  2011-07-06  9:07     ` Daniele Furlan
  0 siblings, 1 reply; 5+ messages in thread
From: Max Ip @ 2011-07-06  9:05 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

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
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [B.A.T.M.A.N.] make batctl 2011.1.0
  2011-07-06  9:05   ` Max Ip
@ 2011-07-06  9:07     ` Daniele Furlan
  0 siblings, 0 replies; 5+ messages in thread
From: Daniele Furlan @ 2011-07-06  9:07 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking

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
>>
>



-- 
Daniele Furlan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-06  9:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-06  8:55 [B.A.T.M.A.N.] make batctl 2011.1.0 Max Ip
2011-07-06  8:58 ` Daniele Furlan
2011-07-06  9:05   ` Max Ip
2011-07-06  9:07     ` Daniele Furlan
2011-07-06  9:04 ` Sven Eckelmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).