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
> -lnl-genl-3 -lnl-3

Clearly those paths are wrong...

In the instructions here:
   
https://sourceforge.net/apps/trac/linux-zigbee/wiki/BuildingUserspaceTools

$STAGING must be an absolute path (so use $PWD if you want to use the
current path, etc).

See if your pkg-config files are right:
    $STAGING/lib/pkgconfig/

If not, rebuild libnl until they are.

run:
    make V=1

and see if you can determine what's wrong from the output.

Alternatively, skip pkg-config and do something like:
    NL_CFLAGS=-I$STAGING/include/libnl3 \
    NL_LIBS=-L$STAGING/lib \
    ./configure --prefix=/ --host=$HOST

But seriously, get the pkg-config method to work.

Alan.

>  
> i.e. the absolute path to folder "out"
> (/home/shaman/Beagle_stuff/.../out) is used twice.
>  

No it's not.

/home/shaman/Beagle_stuff/../out/home/shaman/Beagle_stuff/../out/include/libnl3

is used, and that's not a real path. Something is messed up in your
pkg-config file.

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