Hi,

Correct, the building processes was looking at /usr/include/netlink that
was an older version. I updated and now it is compiling.
The new instructions in the website worked fine. All the files were
installed in ..out/ successfully.
But, I was making a mistake. I was using --host=arm-linux instead of my
toolchain that is arm-angstrom-linux-gnueabi.
When specified an invalid toolchain prefix as my case, the build process
use the local compiler.
I changed to --host=arm-angstrom-linux-gnueabi and recompiled the libnl-3
again. I get the errors below when run 'make' in the linux-zigbee tools
source:

root@rechenknecht2x:/home/joao/JoaoPaulo/new/linux-zigbee# make
make  all-recursive
make[1]: Betrete Verzeichnis '/home/joao/JoaoPaulo/new/linux-zigbee'
Making all in lib
make[2]: Betrete Verzeichnis '/home/joao/JoaoPaulo/new/linux-zigbee/lib'
  CC     libcommon_la-printbuf.lo
  CC     libcommon_la-genl.lo
genl.c:31:31: error: netlink/genl/genl.h: No such file or directory
genl.c:32:33: error: netlink/genl/family.h: No such file or directory
genl.c:33:33: error: netlink/genl/ctrl.h: No such file or directory
genl.c:34:25: error: netlink/msg.h: No such file or directory
genl.c:35:26: error: netlink/attr.h: No such file or directory
cc1: warnings being treated as errors
genl.c:40: error: 'struct nlmsgerr' declared inside parameter list
...

Its strange because all the files are in the same place when i was using
--host=arm-linux, but now its looking in a wrong folder.

find / -name genl.h
/home/joao/JoaoPaulo/new/out/include/libnl3/netlink/genl/genl.h
/home/joao/JoaoPaulo/new/libnl-3.2.7/include/netlink/genl/genl.h
/usr/include/netlink/genl/genl.h

Is there some tricky to use this toolchain?


Thank you very much,


Best Regards,
Joao Paulo

2013/3/20 Alan Ott <a...@signal11.us>

> On 03/20/2013 12:18 PM, Alan Ott wrote:
> > Yes, it looks like my instructions were working because they were
> > pulling some of those includes from the system. Further, the --prefix
> > bit is not the right way to do it, but unfortunately, I can't get
> > libnl to use it that way.
>
> Please review these instructions (which are new).
>
>
> https://sourceforge.net/apps/trac/linux-zigbee/wiki/BuildingUserspaceTools
>
> 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