Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-25 Thread João Paulo Bodanese
Take a look if you are using the last 3.8 kernel from https://github.com/beagleboard/kernel. There is a patch after March, 6th (commit 9bf23ea262), that removes the symbol spi1_pins_s0 from am335x-bone-common.dtsi that is required to run the command "echo BB-BONE-MRF24J40 >/sys/devices/bone_capemgr

[Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-25 Thread K F
I'm baffled. I did echo $STAGING and re-checked the pkconfig files again, and they all seemed OK. I thought I was going crazy or something, so I deleted all files (I mean everything, even source files) and started over. Same behaviour. I'm also sending a screenshot, because I know it's hard to be

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-25 Thread Alan Ott
On 03/25/2013 04:16 PM, K F wrote: > I did echo $STAGING and re-checked the pkconfig files again, and they > all seemed OK. > I thought I was going crazy or something, so I deleted all files (I > mean everything, even source files) and started over. > Same behaviour. > Ok, interesting. Try it ag

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-25 Thread Alan Ott
On 03/25/2013 03:12 PM, K F wrote: > I also had another issue when patching the kernel. > > I already had a recent kernel for the Bbone (3.8.4-bone9), which I got > following this procedure (which includes very helpful scripts): > http://www.eewiki.net/display/linuxonarm/BeagleBone?focusedComment

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-25 Thread K F
I also had another issue when patching the kernel. I already had a recent kernel for the Bbone (3.8.4-bone9), which I got following this procedure (which includes very helpful scripts): http://www.eewiki.net/display/linuxonarm/BeagleBone?focusedCommentId=13140246#BeagleBone-LinuxKernel Since the

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-25 Thread Alan Ott
On 03/25/2013 02:50 PM, K F wrote: > I'm using bash shell as well. > > My automake is version 1.11.6. > Autoconf is 2.69. Mine are very close to that 1.11.1 and 2.69. > > Using: > PKG_CONFIG_DIR= \ > PKG_CONFIG_LIBDIR=$STAGING/lib/pkgconfig:$STAGING/share/pkgconfig \ > PKG_CONFIG_SYSROOT_DIR

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-25 Thread K F
Hi Alan, I'm using bash shell as well. My automake is version 1.11.6. Autoconf is 2.69. Using: PKG_CONFIG_DIR= \ PKG_CONFIG_LIBDIR=$STAGING/lib/pkgconfig:$STAGING/share/pkgconfig \ PKG_CONFIG_SYSROOT_DIR=$STAGING DESTDIR=$STAGING \ pkg-config libnl-genl-3.0 --cflags --libs I get: -I /home/sha

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-24 Thread Alan Ott
On 03/24/2013 08:35 PM, Alan Ott wrote: > On 03/24/2013 08:19 PM, K F wrote: >> Hi Alan, >> >> Yes, I'm using the absolute path and using echo $STAGING I can confirm >> that the environment variable is set properly (i.e. points to the >> right directory). >> >> Also, the pkg-config files are OK a

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-24 Thread Alan Ott
On 03/24/2013 08:19 PM, K F wrote: > Hi Alan, > > Yes, I'm using the absolute path and using echo $STAGING I can confirm > that the environment variable is set properly (i.e. points to the > right directory). > > Also, the pkg-config files are OK as well. > They all start with: > > prefix=/home

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-24 Thread K F
Hi Alan, Yes, I'm using the absolute path and using echo $STAGING I can confirm that the environment variable is set properly (i.e. points to the right directory). Also, the pkg-config files are OK as well. They all start with: prefix=/home/shaman/Beagle_stuff/libnl-3.2.7/../out exec_prefix=${pr

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-24 Thread Alan Ott
On 03/24/2013 09:16 AM, João Paulo Bodanese wrote: > 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_

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-24 Thread Alan Ott
On 03/24/2013 08:24 AM, K F wrote: > 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 > -

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-24 Thread João Paulo Bodanese
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/Joa

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-24 Thread K F
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 "ou

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-24 Thread K F
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

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-23 Thread Alan Ott
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":

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-23 Thread K F
Hey all, 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/g

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-22 Thread Alan Ott
On 03/22/2013 11:40 AM, João Paulo Bodanese wrote: > I found the problem. I changed the toolchain to arm-linux-gnueabi and > now is compiling. > I don't know why the toolchain arm-angstrom-linux-gnueabi doesn't > compile the usertools for me. You may have needed a distclean or a git clean -fdx Al

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-22 Thread João Paulo Bodanese
Hi, I found the problem. I changed the toolchain to arm-linux-gnueabi and now is compiling. I don't know why the toolchain arm-angstrom-linux-gnueabi doesn't compile the usertools for me. Thank you, Joao paulo 2013/3/21 João Paulo Bodanese > Hi, > > Correct, the building processes was looking

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-21 Thread João Paulo Bodanese
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 inst

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-20 Thread Alan Ott
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 in

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-20 Thread Alan Ott
On 03/20/2013 07:45 AM, João Paulo Bodanese wrote: > 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 o

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-20 Thread João Paulo Bodanese
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 packag

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-19 Thread Alan Ott
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

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-19 Thread João Paulo Bodanese
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 p

Re: [Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-18 Thread Alan Ott
On 03/18/2013 04:45 AM, João Paulo Bodanese wrote: > I am trying to set up the demo that Alan presented at Linux Conference > Europe 2012. > I have already installed the 3.7-rc2 Linux kernel in the BeagleBone > with all the patches that its described in his website. Hi João, At this point you

[Linux-zigbee-devel] Install linux-zigbee tools in the Beaglebone

2013-03-18 Thread João Paulo Bodanese
Hello, I am trying to set up the demo that Alan presented at Linux Conference Europe 2012. I have already installed the 3.7-rc2 Linux kernel in the BeagleBone with all the patches that its described in his website. My question is how to install the linux-zigbee userspace tools in the BeagleBone n