* [Buildroot] [Bug 1261] New: The getline() in output/build/linux-2.6.28/scripts/unifdef.c in buildroot is buggy
@ 2010-03-11 5:47 bugzilla at busybox.net
2010-03-14 7:26 ` [Buildroot] [Bug 1261] " bugzilla at busybox.net
2010-07-18 17:00 ` bugzilla at busybox.net
0 siblings, 2 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2010-03-11 5:47 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=1261
Summary: The getline() in output/build/linux-
2.6.28/scripts/unifdef.c in buildroot is buggy
Product: buildroot
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Keywords: link-failure
Severity: enhancement
Priority: P3
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: vikki.km at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Hi,
Yesterday i was trying to buildroot for my ARM920t and i think this is the bug.
Target: ARM920t
OS: Fedora 12 ( 2.6.31 using)
Kernel Headers: 2.6.32
Kernel used: 2.6.28
output/build/linux-2.6.28/scripts/unifdef.c
the getline() function in unidef.c contradicts with the already present getline
function in stdio.h and gives this error
error:
/usr/include/stdio.h:653: note: previous declaration of ?getline? was here
How i fixed the error?
i changed the getline function in unidef.c to get_line ie. other than getline
and it works fine.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [Bug 1261] The getline() in output/build/linux-2.6.28/scripts/unifdef.c in buildroot is buggy
2010-03-11 5:47 [Buildroot] [Bug 1261] New: The getline() in output/build/linux-2.6.28/scripts/unifdef.c in buildroot is buggy bugzilla at busybox.net
@ 2010-03-14 7:26 ` bugzilla at busybox.net
2010-07-18 17:00 ` bugzilla at busybox.net
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2010-03-14 7:26 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=1261
Peter Korsgaard <jacmet@uclibc.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from Peter Korsgaard <jacmet@uclibc.org> 2010-03-14 07:26:13 UTC ---
(In reply to comment #0)
> /usr/include/stdio.h:653: note: previous declaration of ?getline? was here
>
> How i fixed the error?
>
> i changed the getline function in unidef.c to get_line ie. other than getline
> and it works fine.
That's a known problem in older versions of the Linux kernel when building on
new distributions. The official fix (which is included in 2.6.29+) is like you
describe (getline -> get_line).
Any reason why you want to use such an old kernel for a new project?
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [Bug 1261] The getline() in output/build/linux-2.6.28/scripts/unifdef.c in buildroot is buggy
2010-03-11 5:47 [Buildroot] [Bug 1261] New: The getline() in output/build/linux-2.6.28/scripts/unifdef.c in buildroot is buggy bugzilla at busybox.net
2010-03-14 7:26 ` [Buildroot] [Bug 1261] " bugzilla at busybox.net
@ 2010-07-18 17:00 ` bugzilla at busybox.net
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at busybox.net @ 2010-07-18 17:00 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=1261
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |WONTFIX
--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
This is not a Buildroot bug, but rather a know bug when using old versions of
the kernel in newer distributions. I don't think there's anything Buildroot can
do to fix this.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-07-18 17:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-11 5:47 [Buildroot] [Bug 1261] New: The getline() in output/build/linux-2.6.28/scripts/unifdef.c in buildroot is buggy bugzilla at busybox.net
2010-03-14 7:26 ` [Buildroot] [Bug 1261] " bugzilla at busybox.net
2010-07-18 17:00 ` bugzilla at busybox.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox