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
> <http://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

Reply via email to