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/shaman/Beagle_stuff/libnl-3.2.7/../out
> exec_prefix=${prefix}
> libdir=${exec_prefix}/lib
> includedir=${prefix}/include
>  
> [For this run, STAGING points inside the Beagle_stuff directory; its
> not an error.]
>  
> Still, strangely enough, the linux-zigbee Makefile points to:
> /home/shaman/Beagle_stuff/libnl-3.2.7/../out/home/shaman/Beagle_stuff/libnl-3.2.7/../out/
>  
> This equals $STAGING/$STAGING.
> Perhaps $STAGINS is referenced in a way that gets it appended twice
> to the target paths?

Can you do some debugging into your ./configure script to find out where
and why this happens? What version of automake/autoconf do you have?

>  When I skip the pkg-config, the make procedure get pasts the previous
> error point but crashes later on with various "undefined references",
> e.g.:
>  
> izcoordinator-coordinator.o: In function `cleanup':
> /home/shaman/Beagle_stuff/linux-zigbee/src/coordinator.c:239:
> undefined reference to `nl_close'
> izcoordinator-coordinator.o: In function `seq_check':
> /home/shaman/Beagle_stuff/linux-zigbee/src/coordinator.c:215:
> undefined reference to `nlmsg_get_src'
> /home/shaman/Beagle_stuff/linux-zigbee/src/coordinator.c:218:
> undefined reference to `nlmsg_hdr'

You need -l options for the netlink libraries.

> As a comic relief, I should mention that, since it's getting late here
> and I need to crash, I actually created the $STAGING/$STAGING
> directory structure with the required contents and the make/make
> install worked fine. So, at least I have a (hopefully) working copy of
> the tools. ;p
> [Which I already had - thanks to Joao - but still did it for the fun
> of it.. ;p]
>  

Still really strange about the $STAGING/STAGING. Which shell are you
using? My instructions work in bash.

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