* [Buildroot] Build errors in libnl
@ 2013-09-12 9:39 Jonas Ludvigsson
2013-09-12 11:46 ` Gustavo Zacarias
0 siblings, 1 reply; 2+ messages in thread
From: Jonas Ludvigsson @ 2013-09-12 9:39 UTC (permalink / raw)
To: buildroot
Hi,
I'm using Buildroot (2013.05-rc2) together with Busybox (1.21) and Linux (3.2.45) for the TI AM335x EVM board.
I got the following build errors when building 'libnl' (3.2.22):
CC addr.lo
CC nl.lo
CC object.lo
CC utils.lo
CC socket.lo
addr.c:1027: error: 'AF_RDS' undeclared here (not in a function)
addr.c:1033: error: 'AF_CAN' undeclared here (not in a function)
addr.c:1034: error: 'AF_TIPC' undeclared here (not in a function)
addr.c:1038: error: 'AF_ISDN' undeclared here (not in a function)
addr.c:1039: error: 'AF_PHONET' undeclared here (not in a function)
make[3]: *** [addr.lo] Error 1
I'm quite new to Linux and Buildroot, but as far as I understand my configuration is missing something. Any ideas on what it could be?
BR,
Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130912/ccb2815d/attachment-0001.html>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Build errors in libnl
2013-09-12 9:39 [Buildroot] Build errors in libnl Jonas Ludvigsson
@ 2013-09-12 11:46 ` Gustavo Zacarias
0 siblings, 0 replies; 2+ messages in thread
From: Gustavo Zacarias @ 2013-09-12 11:46 UTC (permalink / raw)
To: buildroot
On 09/12/2013 06:39 AM, Jonas Ludvigsson wrote:
> I got the following build errors when building ?libnl? (3.2.22):
>
>
>
> CC addr.lo
>
> CC nl.lo
>
> CC object.lo
>
> CC utils.lo
>
> CC socket.lo
>
> addr.c:1027: error: 'AF_RDS' undeclared here (not in a function)
>
> addr.c:1033: error: 'AF_CAN' undeclared here (not in a function)
>
> addr.c:1034: error: 'AF_TIPC' undeclared here (not in a function)
>
> addr.c:1038: error: 'AF_ISDN' undeclared here (not in a function)
>
> addr.c:1039: error: 'AF_PHONET' undeclared here (not in a function)
>
> make[3]: *** [addr.lo] Error 1
>
>
>
> I?m quite new to Linux and Buildroot, but as far as I understand my
> configuration is missing something. Any ideas on what it could be?
Ahhh trigger happy version bumping! :)
There's a reason we're sticking with libnl 3.2.21 still, and that's it.
You need a mode modern (snapshot/git) uClibc version with updated
bits/socket.h for it to work, or switch to some other external toolchain
that's up to date, or backport the changes for your current uClibc.
Regards.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-12 11:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-12 9:39 [Buildroot] Build errors in libnl Jonas Ludvigsson
2013-09-12 11:46 ` Gustavo Zacarias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox