Reg - Libnl compilation for powerpc

Senthil K Senthil.K at aricent.com
Wed Jan 4 08:30:21 EST 2012


Hi ,

I was trying to compile the libnl for powerpc.I am facing the compilation errror.
The Following are the compilation steps.

1.I used the libnl3.0 version and compiled in the host centOS-5.0.
2.sed -i "/^#include.*<stdlib.h>/a\#include <limits.h>" include/netlink-local.h && ./configure --host=powerpc CC=powerpc-linux-gnu-gcc [ I did n't face any issues during configuration ]
3.make

Errors
=====

Making all in lib
make[1]: Entering directory `/home/senthil/wifi_open_src/ppc_lib/libnl-3.0/lib'
make  all-am
make[2]: Entering directory `/home/senthil/wifi_open_src/ppc_lib/libnl-3.0/lib'
  CC     addr.lo
  CC     attr.lo
  CC     cache.lo
  CC     cache_mngr.lo
  CC     cache_mngt.lo
  CC     data.lo
  CC     error.lo
  CC     handlers.lo
  CC     msg.lo
  CC     nl.lo
  CC     object.lo
  CC     socket.lo
  CC     utils.lo
  CCLD   libnl.la
  CC     genl/ctrl.lo
  CC     genl/family.lo
  CC     genl/genl.lo
  CC     genl/mngt.lo
  CCLD   libnl-genl.la
  CC     route/addr.lo
  CC     route/class.lo
  CC     route/cls.lo
  CC     route/link.lo
  CC     route/neigh.lo
  CC     route/neightbl.lo
  CC     route/nexthop.lo
  CC     route/qdisc.lo
  CC     route/route.lo
  CC     route/route_obj.lo
  CC     route/route_utils.lo
  CC     route/rtnl.lo
  CC     route/rule.lo
  CC     route/tc.lo
  CC     route/classid.lo
  CC     route/cls/fw.lo
  CC     route/cls/police.lo
  CC     route/cls/u32.lo
  CC     route/cls/basic.lo
  CC     route/cls/cgroup.lo
  GEN    route/cls/ematch_syntax.c
route/cls/ematch_syntax.y:31.9-16: syntax error, unexpected identifier, expecting string
make[2]: *** [route/cls/ematch_syntax.c] Error 1
make[2]: Leaving directory `/home/senthil/wifi_open_src/ppc_lib/libnl-3.0/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/senthil/wifi_open_src/ppc_lib/libnl-3.0/lib'
make: *** [all-recursive] Error 1
Thanks and Regards
K.Senthil




===============================================================================
Please refer to http://www.aricent.com/legal/email_disclaimer.html
for important disclosures regarding this electronic communication.
===============================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20120104/4e67f192/attachment.html>


More information about the libnl mailing list