ORBIT-USER: Libmac installations

Kishore Ramachandran kishore at winlab.rutgers.edu
Tue Sep 19 00:43:19 EDT 2006


Hi Allan:

That error should not show up if you have installed the proper 
version of Libmac (from the release) correctly.

Struct mac_params is one of the fundamental structures in Libmac and one 
of its members is an array called key (look at the documentation on the 
ORBIT wiki). Can you check whether you can find libmac.h in 
/usr/lib/libmac/? You should be able to find this file as well as 
the struct mac_params in this file if the version is the correct one and 
installation went through correctly.

So, once again, where did you get the code from and did the installation 
go through correctly?

Thanks,
Kishore

---------------------------------------------------------------------------
Kishore Ramachandran
Graduate Assistant, WINLAB/ECE, Rutgers University.
WWW  : http://www.winlab.rutgers.edu/~kishore
---------------------------------------------------------------------------

On Tue, 19 Sep 2006, sleek daelite wrote:

> Acutally the bug is concern with the "struct mac_params", this struct is
> used in all of the files and it seems that it "has no member named 'key' "
> So in the receiver.c i get
>
> gcc -Wall -g -lmac -lnet -lpcap -lm -o receiver receiver.c
> receiver.c: In function 'main':
> receiver.c:76: error: 'struct mac_params' has no member named 'key'
> make: *** [all] Error 1
>
> Would you know what is going on here??
>
> Thanks,
> Allan
>
> On 9/19/06, sleek daelite <sleekstar at gmail.com> wrote:
>> 
>> Unforunately i can't access the command "svn co 
>> http://svn.orbit-lab.org/svn/orbit/libmac/tags/rel-1.1.0
>> " as doesn't provide me with a login request. I've tried using the svn but
>> it doesn't seem to work for me..
>> 
>> Would it be possible that you could make a tar ball for me, like zip or
>> tar it.
>> 
>> Thanks,
>> Allan
>> 
>> 
>> On 9/19/06, Kishore Ramachandran <kishore at winlab.rutgers.edu> wrote:
>> >
>> > Hi Allan:
>> >
>> > Can you try running the sample programs with the code I sent you (which
>> > happens to be libmac release 1.1.0) - code in the SVN repository is
>> > development code and not stable. Let me know if the release code works.
>> >
>> > Alternatively, you can download the release code yourself from SVN as
>> > follows:
>> >
>> > "svn co http://svn.orbit-lab.org/svn/orbit/libmac/tags/rel-1.1.0 "
>> >
>> > Please let me know whether this works for you.
>> >
>> > Thanks,
>> > Kishore
>> >
>> >
>> > 
>> ---------------------------------------------------------------------------
>> > Kishore Ramachandran
>> > Graduate Assistant, WINLAB/ECE, Rutgers University.
>> > WWW  : 
>> http://www.winlab.rutgers.edu/~kishore<http://www.winlab.rutgers.edu/%7Ekishore>
>> >
>> > 
>> ---------------------------------------------------------------------------
>> >
>> > On Mon, 18 Sep 2006, sleek daelite wrote:
>> >
>> > > I installed libnet and libpcap from the links you provided for me..
>> > The
>> > > libmac i installed from the svn repository. My kernel is 2.6.15 and
>> > 2.6.17,
>> > > im running debian but i have two kernels compiled, thus both don't
>> > work with
>> > > the sample code.
>> > >
>> > > Cheers,
>> > > Allan
>> > >
>> > > On 9/16/06, Kishore Ramachandran <kishore at winlab.rutgers.edu> wrote:
>> > >>
>> > >> Hi Allan:
>> > >>
>> > >> Did you compile and install libmac before running the sample code?
>> > What
>> > >> about the other libraries? Did you use the code I sent or did you
>> > >> download code from SVN? Also, what version of Linux are you using?
>> > >>
>> > >> regards,
>> > >> Kishore
>> > >>
>> > >>
>> > >>
>> > >>
>> > 
>> ---------------------------------------------------------------------------
>> > >> Kishore Ramachandran
>> > >> Graduate Assistant, WINLAB/ECE, Rutgers University.
>> > >> WWW  : 
>> http://www.winlab.rutgers.edu/~kishore<http://www.winlab.rutgers.edu/%7Ekishore>
>> > >>
>> > >>
>> > >>
>> > 
>> ---------------------------------------------------------------------------
>> > >>
>> > >> On Fri, 15 Sep 2006, sleek daelite wrote:
>> > >>
>> > >> > Hi Kishore,
>> > >> >
>> > >> > Would it be possible that you could provide me with some guidance
>> > as to
>> > >> how
>> > >> > i can go about start writing my own application using Libmac to
>> > obtain
>> > >> RSSI
>> > >> > values and packet loss. I know there is a sample in the SVN
>> > repository,
>> > >> but
>> > >> > unforunately i get this error " receiver.c:76 error: 'struct
>> > mac_params'
>> > >> has
>> > >> > no member named 'key' " So im unable to run the sample.
>> > >> >
>> > >> > Any help with be greatly appreciated,
>> > >> >
>> > >> > Cheers,
>> > >> > Allan
>> > >> >
>> > >> > On 9/15/06, Kishore Ramachandran <kishore at winlab.rutgers.edu>
>> > wrote:
>> > >> >>
>> > >> >> Hi Allan:
>> > >> >>
>> > >> >> See my reply to you off this list.
>> > >> >>
>> > >> >> regards,
>> > >> >> Kishore
>> > >> >>
>> > >> >>
>> > >> >>
>> > >> >>
>> > >>
>> > >>
>> > 
>> ---------------------------------------------------------------------------
>> > >> >> Kishore Ramachandran
>> > >> >> Graduate Assistant, WINLAB/ECE, Rutgers University.
>> > >> >> WWW  : 
>> http://www.winlab.rutgers.edu/~kishore<http://www.winlab.rutgers.edu/%7Ekishore>
>> > >> >>
>> > >> >>
>> > >> >>
>> > >>
>> > >>
>> > 
>> ---------------------------------------------------------------------------
>> > >> >>
>> > >> >> On Thu, 14 Sep 2006, sleek daelite wrote:
>> > >> >>
>> > >> >> > Hi guys,
>> > >> >> >
>> > >> >> > I've made attempts to install the Libmac library into my
>> > computer,
>> > >> But
>> > >> >> > unforunately im missing files libnet.h and libpcap.h files and
>> > theirs
>> > >> >> > implementation files. If anyone have a complete installation of
>> > >> Libmac
>> > >> >> could
>> > >> >> > you email and attach it to me thanks. The files in the
>> > >> >> > http://svn.orbit-lab.org/svn/orbit/libmac/trunk took me ages to
>> > >> download
>> > >> >> as
>> > >> >> > im unable to get svn working. Anyhow thanks in advance if you
>> > could
>> > >> >> provide
>> > >> >> > me with those files.
>> > >> >> >
>> > >> >> > Cheers,
>> > >> >> > Allan
>> > >> >> >
>> > >> >>
>> > >> >
>> > >>
>> > >
>> >
>> 
>> 
>



More information about the orbit-user mailing list