kohler / click

The Click modular router: fast modular packet processing and analysis
Other
740 stars 321 forks source link

Error while cross-compiling clkmindriver #336

Open josemariasaldana opened 7 years ago

josemariasaldana commented 7 years ago

Hi,

I am trying to compile Click for OpenWrt. I am able to compile everything except clkmindriver. I obtain the next error:

intelnuc@wi5-controller:~/openwrt_compile_environment/trunkAC1750NotWorking/click/tools/click-mkmindriver$ make
make[1]: Entering directory '/home/intelnuc/openwrt_compile_environment/trunkAC1750NotWorking/click2Int/tools/lib'
  BUILDCXX ../../lib/string.cc
  BUILDCXX ../../lib/straccum.cc
  BUILDCXX ../../lib/glue.cc
  BUILDCXX ../../lib/bitvector.cc
  BUILDCXX ../../lib/hashallocator.cc
  BUILDCXX ../../lib/ipaddress.cc
  BUILDCXX ../../lib/etheraddress.cc
  BUILDCXX ../../lib/timestamp.cc
  BUILDCXX ../../lib/error.cc
../../lib/error.cc: In static member function ‘static String ErrorHandler::vxformat(int, const char*, __va_list_tag*)’:
../../lib/error.cc:729:52: error: cannot convert ‘__va_list_tag**’ to ‘__va_list_tag (*)[1]’ in argument passing
       strstore = item->hook(flags, VA_LIST_REF(val));
                                                    ^
Makefile:68: recipe for target 'error.bo' failed
make[1]: *** [error.bo] Error 1
make[1]: Leaving directory '/home/intelnuc/openwrt_compile_environment/trunkAC1750NotWorking/click2Int/tools/lib'
Makefile:83: recipe for target 'libclicktool_build.a' failed
make: *** [libclicktool_build.a] Error 2

Any ideas would be welcome. Thanks in advance!

peterrz commented 7 years ago

hi @josemariasaldana please check #340
i have this probelm too at #351 (when i try to install click i get this error). it solved.