Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, I'm trying to cross-compile dnsmasq from ubuntu to android. When normally compiling it compiles without any error's, howevery when cross compiling i'm getting error's dnsmasq.h: 710: error: expected ')' ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2009
    Posts
    7

    Where does the type HEADER get defined?


    Hello,

    I'm trying to cross-compile dnsmasq from ubuntu to android.

    When normally compiling it compiles without any error's, howevery when cross compiling i'm getting error's

    dnsmasq.h: 710: error: expected ')' before '*' token

    since bionic (the libc version for android) is a lightweight i'm pretty sure the problem lies there.

    At line 710 there's a function declared: with the parameters: HEADER *header, size_t qlen, char *name, insigned short *typep

    I think the problem is the HEADER type, that bionic does not have the header file or whatever. However where in linux could i find this type? or what should i include?

    It's also kind of hard to google this problem for obvious reasons (the word header is kinda common in c )

    If anyone could give me any pointers...

    Xeli

  2. #2
    Just Joined!
    Join Date
    Dec 2009
    Posts
    7
    shameless bump, the problem is still there even after rebuilding the toolchain..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •