Hi,
I had the same problem when I was using arm-angstrom-linux-gnueabi
toolchain. My Makefile was:
NL_CFLAGS =
-I/home/joao/JoaoPaulo/lowpan3/libnl-3.2.7/../out/home/joao/JoaoPaulo/lowpan3/libnl-3.2.7/../out/include/libnl3
NL_LIBS =
-L/home/joao/JoaoPaulo/lowpan3/libnl-3.2.7/../out/home/joao/JoaoPaulo/lowpan3/libnl-3.2.7/../out/lib
-lnl-genl-3 -lnl-3
So, I installed "apt-get install gcc-arm-linux-gnueabi" and than I could
compile. The generated Makefile was:
NL_CFLAGS =
-I/home/joao/JoaoPaulo/lowpan3/linux-zigbee/../out/home/joao/JoaoPaulo/lowpan3/libnl-3.2.7/../out/include/libnl3
NL_LIBS =
-L/home/joao/JoaoPaulo/lowpan3/linux-zigbee/../out/home/joao/JoaoPaulo/lowpan3/libnl-3.2.7/../out/lib
-lnl-genl-3 -lnl-3
But even I modifying the NL_CFLAGS and NL_LIBS to the both paths, using the
arm-angstrom-linux-gnueabi toolchain I could not compile.
Now I am using the arm-linux-gnueabi. But the problem that this toolchain
doesn't have arm-linux-gnueabi-g++, so I can't compile the
elce2012_alarm_demo.
2013/3/24 K F <shaman...@gmail.com>
> I just noticed that the Makefile produced, defines the following:
>
> NL_CFLAGS =
> -I/home/shaman/Beagle_stuff/../out/home/shaman/Beagle_stuff/../out/include/libnl3
>
> NL_LIBS =
> -L/home/shaman/Beagle_stuff/../out/home/shaman/Beagle_stuff/../out/lib
> -lnl-genl-3 -lnl-3
>
> i.e. the absolute path to folder "out" (/home/shaman/Beagle_stuff/.../out)
> is used twice.
>
> Corrected both, but it still can't find its way to genl.h.
>
>
> 2013/3/24 K F <shaman...@gmail.com>
>
>> Hi Alan, thanks for the prompt reply.
>> Yes, I did a make clean, git clean -fdx and started over with
>> arm-linux-gnueabi as $HOST (using the variable whenever the host has to be
>> defined). Same error.
>> I even tried with the arm-linux-gnueabihf (hard float) compiler, but no
>> luck.
>>
>> The genl.h and related files exist both in the "out" folder and under
>> /usr (I must have apt-got the libnl3 at some point).
>>
>>
>>
>> 2013/3/23 Alan Ott <a...@signal11.us>
>>
>>> On 03/23/2013 04:06 PM, K F wrote:
>>> >
>>> > I too was following the updated crossbuilding instructions (@ the
>>> > linux-zigbee Wiki) and got a similar error.
>>> > Libnl3 (3.2.7) files are installed at "out", as expected, but when
>>> > moving on to install the linux-zigbee tools I get the following at
>>> "make":
>>> >
>>> > genl.c:31:31: fatal error: netlink/genl/genl.h: No such file or
>>> directory
>>> > compilation terminated
>>>
>>> Did you change the instances of arm-linux to whatever your compiler is?
>>>
>>> I noticed in the website that I still had arm-linux instead of $HOST
>>> (and fixed it). Do the new instructions work any better? Did you run
>>> ./autogen.sh again? or git clean -fdx?
>>>
>>> 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
>
>
------------------------------------------------------------------------------
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