Skip to content

Error while cross-compiling clkmindriver #336

@josemariasaldana

Description

@josemariasaldana

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions