Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error while cross-compiling clkmindriver #336

Open
josemariasaldana opened this issue Mar 7, 2017 · 1 comment · May be fixed by #340
Open

Error while cross-compiling clkmindriver #336

josemariasaldana opened this issue Mar 7, 2017 · 1 comment · May be fixed by #340

Comments

@josemariasaldana
Copy link

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
Copy link

peterrz commented Jul 9, 2017

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants