Hi,
I changed to the linux-zigbee tree (git://
linux-zigbee.git.sourceforge.net/gitroot/linux-zigbee/linux-zigbee) and I
don't get those error anymore.
Now I only get errors on run 'make':
$ NL_CFLAGS=-I$PWD/../out/include NL_LIBS=-L$PWD/../out/lib ./autogen.sh
(if i don't do this way, the packages libnl-genl-3.0 and libnl-3.0 are not
found)
$ NL_CFLAGS=-I$PWD/../out/include NL_LIBS=-L$PWD/../out/lib ./configure
--prefix=$PWD/../out --host=arm-linux
$ make
make all-recursive
make[1]: Betrete Verzeichnis '/home/joao/JoaoPaulo/lowpan/usertools'
Making all in lib
make[2]: Betrete Verzeichnis '/home/joao/JoaoPaulo/lowpan/usertools/lib'
CC libcommon_la-printbuf.lo
CC libcommon_la-genl.lo
genl.c:92:32: error: 'struct nl_sock' declared inside parameter list
[-Werror]
genl.c:92:32: error: its scope is only this definition or declaration,
which is probably not what you want [-Werror]
genl.c: In function 'nl_get_multicast_id':
genl.c:112:2: error: passing argument 1 of 'genl_ctrl_resolve' from
incompatible pointer type [-Werror]
/usr/include/netlink/genl/ctrl.h:29:14: note: expected 'struct nl_handle *'
but argument is of type 'struct nl_sock *'
genl.c:120:2: error: passing argument 1 of 'nl_send_auto_complete' from
incompatible pointer type [-Werror]
/usr/include/netlink/netlink.h:48:14: note: expected 'struct nl_handle *'
but argument is of type 'struct nl_sock *'
genl.c:131:3: error: passing argument 1 of 'nl_recvmsgs' from incompatible
pointer type [-Werror]
/usr/include/netlink/netlink.h:58:14: note: expected 'struct nl_handle *'
but argument is of type 'struct nl_sock *'
cc1: all warnings being treated as errors
make[2]: *** [libcommon_la-genl.lo] Fehler 1
make[2]: Verlasse Verzeichnis '/home/joao/JoaoPaulo/lowpan/usertools/lib'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/home/joao/JoaoPaulo/lowpan/usertools'
make: *** [all] Fehler 2
root@rechenknecht2x:/home/joao/JoaoPaulo/lowpan/usertools#
Best regards,
Joao Paulo
2013/3/19 Alan Ott <a...@signal11.us>
> On 03/19/2013 09:11 AM, João Paulo Bodanese wrote:
>
> Hi Alan,
>
> Thanks for your help.
> I got an error on building. I did the following steps:
>
> I extracted libnl-3.2.7.tar.gz and linux-zigbee (git://
> github.com/tcheneau/linux-zigbee.git) side-by-side.
>
> $ cd libnl-3.2.7/
> $ ./configure --prefix=$PWD/../out --host=arm-linux
> $ make
> $ make install
>
> At this point ok, it was generated the folder ../out with the files
>
> $ cd ..
> $ cd linux-zigbee/
> $ autoreconf
> $ automake --add-missing
> $ autoreconf
>
>
> Why didn't you run ./autogen.sh instead?
>
>
> $ LDFLAGS=-L$PWD/../out/lib ./configure --prefix=$PWD/../out
> --host=arm-linux
> I got the error:
> checking for NL... no
> configure: error: Package requirements (libnl-3.0, libnl-genl-3.0)
> were not met:
> So i try:
> $ NL_CFLAGS=-I$PWD/out/include NL_LIBS=-L$PWD/../out/lib ./configure
> --prefix=$PWD/../out --host=arm-linux
> and i got:
> checking for NL... yes
>
>
> checking whether libnl requires additional libraries... failure
>
>
> That text is not in my ./configure, or in my output.
>
>
> configure: error: failed to link program with libnl
> See `config.log' for more details
>
>
> Are you using the latest from the linux-zigbee git repository? ie: did you
> check out with git clone ... ? What does config.log say (don't paste the
> whole thing, just the relevant parts and your analysis).
>
>
> Shoud I use the linux-zigbee userspace from Tony Cheneau's Github?
>
>
> The linux-zigbee tree is currently ahead of his in some key areas. If you
> want to use iz set, for example, you'll need the linux-zigbee tree.
>
> Alan.
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel