From: John Stile <john@stilen.com>
To: buildroot@busybox.net
Subject: [Buildroot] adding dhcpcd
Date: Wed, 06 Mar 2013 23:31:41 -0800 [thread overview]
Message-ID: <1362641501.11556.12.camel@genx> (raw)
In-Reply-To: <CAKcgs2yMcJMbJ+aM3XSpV7TdFdrAgTzZx0v6DL6qHv0gWv2SKg@mail.gmail.com>
Hello Gilles,
On Wed, 2013-03-06 at 20:51 -0800, Gilles Talis wrote:
> Hi John,
>
> > That did help. Thank you.
> > The build now fails because it can't find ifaddrs.h:
> > ipv6.c:34:21: error: ifaddrs.h: No such file or directory
> > net.c:56:21: error: ifaddrs.h: No such file or directory
> >
> > But I do see the file here:
> > ./output/toolchain/uClibc-0.9.32/include/ifaddrs.h
> >
> > Is there a good way to specify the path in my .mk file?
> Did you build your toolchain with Buildroot? In buildroot-2011.11,
> this feature is not enabled in uClibc-0.9.32 configuration.
> In order to enable it, you can follow these steps (if you built your
> toolchain using buildroot):
>
> 1. in toolchain/uClibc/uClibc-0.9.32.config, replace
> # UCLIBC_SUPPORT_AI_ADDRCONFIG is not set
> with
> UCLIBC_SUPPORT_AI_ADDRCONFIG=y
>
> 2. run "make clean" then
> 3. run "make". Toolchain will be rebuilt with ifaddrs.h
>
> This should get you going.
> Gilles.
That did get me quite a bit farther.
... now it fails to find a few more symbols:
bpf.c:32:21: error: net/bpf.h: No such file or directory
In file included from bpf.c:49:
bpf-filter.h:33: error: array type has incomplete element type
bpf-filter.h:36: error: 'BPF_LD' undeclared here (not in a function)
bpf-filter.h:36: error: 'BPF_H' undeclared here (not in a function)
bpf-filter.h:36: error: 'BPF_ABS' undeclared here (not in a function)
bpf-filter.h:37: error: 'BPF_JMP' undeclared here (not in a function)
bpf-filter.h:37: error: 'BPF_JEQ' undeclared here (not in a function)
bpf-filter.h:37: error: 'BPF_K' undeclared here (not in a function)
bpf-filter.h:46: error: 'BPF_RET' undeclared here (not in a function)
bpf-filter.h:78: error: array type has incomplete element type
bpf-filter.h:85: error: 'BPF_B' undeclared here (not in a function)
bpf-filter.h:89: error: 'BPF_JSET' undeclared here (not in a function)
bpf-filter.h:91: error: 'BPF_LDX' undeclared here (not in a function)
bpf-filter.h:91: error: 'BPF_MSH' undeclared here (not in a function)
bpf-filter.h:93: error: 'BPF_IND' undeclared here (not in a function)
I can see output/build/dhcpcd-5.6.7/bpf.c
has: #include "bpf-filter.h"
I can see the symbols are defined in several files.
./output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/include/linux/filter.h
./output/toolchain/linux/include/linux/filter.h
./output/toolchain/uClibc_dev/usr/include/linux/filter.h
./output/toolchain/linux-2.6.38.8/include/linux/filter.h
Are there more magical ideas to keep this compile going?
Possibly another uClibc option?
next prev parent reply other threads:[~2013-03-07 7:31 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-01 18:37 [Buildroot] adding dhcpcd John Stile
2013-03-01 18:47 ` Gustavo Zacarias
2013-03-05 16:21 ` John Stile
2013-03-05 18:47 ` Thomas Petazzoni
2013-03-06 18:01 ` John Stile
2013-03-06 18:58 ` Thomas Petazzoni
2013-03-06 19:50 ` John Stile
2013-03-06 20:05 ` Reuben Dowle
2013-03-06 20:08 ` Thomas Petazzoni
2013-03-06 20:41 ` John Stile
2013-03-06 20:54 ` Thomas Petazzoni
2013-03-06 21:02 ` John Stile
2013-03-06 21:14 ` Thomas Petazzoni
2013-03-06 21:20 ` John Stile
2013-03-06 21:29 ` Thomas Petazzoni
2013-03-06 22:57 ` John Stile
2013-03-06 23:48 ` Gilles Talis
2013-03-07 1:44 ` John Stile
2013-03-07 4:51 ` Gilles Talis
2013-03-07 7:31 ` John Stile [this message]
2013-03-07 8:53 ` Gilles Talis
2013-03-07 14:53 ` John Stile
2013-03-07 15:03 ` Thomas Petazzoni
2013-03-07 15:30 ` John Stile
2013-03-07 17:15 ` Thomas Petazzoni
2013-03-06 20:06 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1362641501.11556.12.camel@genx \
--to=john@stilen.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox