* [Buildroot] Conflicting types for getline
[not found] <7085C89ACBD47E4B947F91A84B9EA9240C1CF914C3@EXCHANGE31.staff.main.ntu.edu.sg>
@ 2009-10-03 13:48 ` Teng Chee Wan Philip
2009-10-03 17:02 ` Peter Korsgaard
0 siblings, 1 reply; 4+ messages in thread
From: Teng Chee Wan Philip @ 2009-10-03 13:48 UTC (permalink / raw)
To: buildroot
Hi,
I encountered an error running make for buildroot. Any ideas? Thanks in advance.
Attached is the make output.
regards,
Philip
===================================================================
$ make
make: Warning: File `.config.cmd' has modification time 2.1e+04 s in the future
Checking build system dependencies:
BUILDROOT_DL_DIR clean: Ok
CC clean: Ok
CXX clean: Ok
CPP clean: Ok
CFLAGS clean: Ok
INCLUDES clean: Ok
CXXFLAGS clean: Ok
which installed: Ok
sed works: Ok (/bin/sed)
GNU make version '3.81': Ok
C compiler '/usr/lib/ccache/gcc'
C compiler version '4.4.0': Ok
C++ compiler '/usr/lib/ccache/g++'
C++ compiler version '4.4.0': Ok
awk installed: Ok
bash installed: Ok
bison installed: Ok
flex installed: Ok
gettext installed: Ok
makeinfo installed: Ok
Build system dependencies: Ok
rm -rf /home/philipteng/buildroot-2009.08/project_build_i386/uclibc/buildroot-config
mkdir -p /home/philipteng/buildroot-2009.08/project_build_i386/uclibc
cp -dpRf package/config/buildroot-config /home/philipteng/buildroot-2009.08/project_build_i386/uclibc/buildroot-config
(cd /home/philipteng/buildroot-2009.08/toolchain_build_i386/linux-2.6.28.4; \
/usr/bin/make -j1 ARCH=i386 \
HOSTCC="/usr/lib/ccache/gcc" HOSTCFLAGS="" \
HOSTCXX="/usr/lib/ccache/g++" \
INSTALL_HDR_PATH=/home/philipteng/buildroot-2009.08/toolchain_build_i386/linux headers_install; \
)
make[1]: Entering directory `/home/philipteng/buildroot-2009.08/toolchain_build_i386/linux-2.6.28.4'
CHK include/linux/version.h
HOSTCC scripts/unifdef
scripts/unifdef.c:209: error: conflicting types for ?getline?
/usr/include/stdio.h:653: note: previous declaration of ?getline? was here
make[2]: *** [scripts/unifdef] Error 1
make[1]: *** [__headers] Error 2
make[1]: Leaving directory `/home/philipteng/buildroot-2009.08/toolchain_build_i386/linux-2.6.28.4'
make: *** [/home/philipteng/buildroot-2009.08/toolchain_build_i386/linux/.configured] Error 2
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Conflicting types for getline
2009-10-03 13:48 ` [Buildroot] Conflicting types for getline Teng Chee Wan Philip
@ 2009-10-03 17:02 ` Peter Korsgaard
2010-05-16 10:24 ` [Buildroot] FYI: " Jochen+busybox at Hayek.name
0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2009-10-03 17:02 UTC (permalink / raw)
To: buildroot
>>>>> "Teng" == Teng Chee Wan Philip <tcheewan@ntu.edu.sg> writes:
Teng> Hi,
Teng> I encountered an error running make for buildroot. Any ideas? Thanks in advance.
That's a known problem when you try to use older Linux kernels on new
distributions. Select a newer version (>2.6.28) for the Linux kernel
headers and it should work.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] FYI: Re: Conflicting types for getline
2009-10-03 17:02 ` Peter Korsgaard
@ 2010-05-16 10:24 ` Jochen+busybox at Hayek.name
2010-05-16 11:45 ` Michael S. Zick
0 siblings, 1 reply; 4+ messages in thread
From: Jochen+busybox at Hayek.name @ 2010-05-16 10:24 UTC (permalink / raw)
To: buildroot
>>>>> "PK" == Peter Korsgaard <jacmet-2zL2ArBv0bUdnm+yROfE0A@public.gmane.org> writes:
>>>>> "TCWP" == Teng Chee Wan Philip <tcheewan-HU4z9rI8l8CLvajZxc+D7Q@public.gmane.org> writes:
TCWP> Hi,
TCWP> I encountered an error running make for buildroot.
TCWP> Any ideas?
TCWP> Thanks in advance.
PK> That's a known problem
Oh, good to know ;-)
PK> when you try to use older Linux kernels on new distributions.
PK> Select a newer version (>2.6.28) for the Linux kernel headers
PK> and it should work.
Well, Peter,
I am facing the same problem as Teng Chee Wan Philip did then.
And I am not really free in my choice regarding the kernel.
My pretty brand new Internet router ("AVM FRITZ!Box 7390") is using a 2.6.19.2 Linux kernel,
and I can't really rebuild the entire thing,
as they only tell us, on what open source it's based,
and they don't publish their extensions.
root at fritz.fonwlan.box(fb7390) # uname -a
Linux fritz.fonwlan.box 2.6.19.2 #4 Fri Mar 26 17:10:43 CET 2010 mips unknown
root at fritz.fonwlan.box(fb7390) # cat /proc/cpuinfo
system type : Ikanos Fusiv Core
processor : 0
cpu model : MIPS 24K V4.12
BogoMIPS : 330.75
wait instruction : yes
unaligned_instructions : 2845982
microsecond timers : yes
tlb_entries : 64
extra interrupt vector : yes
hardware watchpoint : yes
ASEs implemented : mips16 dsp
VCED exceptions : not available
VCEI exceptions : not available
I want to be able to mount ext2 partitions on external disks,
and not just vfat partitions,
so I want to grab the ext2.ko from your build
and "insmod" it in my devices kernel.
They actually supply us with the kernel sources,
they use for building their device,
and I have no idea, whether they really changed it.
Of course, I know how to do a "diff -r" on their kernel and the vanilla 2.6.19.2 ...
So now with your software
I actually also didn't find a way to tell it,
how to use a custom kernel, that I already have on my disk.
And "here" you are also telling us,
there is a problem with buildroot regarding the kernel to be built resp. how new it is.
Well, whatever!
Either I use your software, which so far seems to lack a few features resp. suffers from a few minor deficits,
or I need to build a cross-compiler and then the kernel with that cross-compiler all by myself.
Now in this light -- do you see any chance for me to get this job done?
Be sure: your community would love you for this!
Kind regards,
Jochen
P.S.
I am a little in a hurry right now,
and I hope you don't consider me curt.
Thanks for your work on buildroot!!!
Do you have an Amazon or whatever wishlist,
so I can do something good for you?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] FYI: Re: Conflicting types for getline
2010-05-16 10:24 ` [Buildroot] FYI: " Jochen+busybox at Hayek.name
@ 2010-05-16 11:45 ` Michael S. Zick
0 siblings, 0 replies; 4+ messages in thread
From: Michael S. Zick @ 2010-05-16 11:45 UTC (permalink / raw)
To: buildroot
On Sun May 16 2010, Jochen+busybox at hayek.name wrote:
> >>>>> "PK" == Peter Korsgaard <jacmet-2zL2ArBv0bUdnm+yROfE0A@public.gmane.org> writes:
>
> >>>>> "TCWP" == Teng Chee Wan Philip <tcheewan-HU4z9rI8l8CLvajZxc+D7Q@public.gmane.org> writes:
>
> TCWP> Hi,
> TCWP> I encountered an error running make for buildroot.
> TCWP> Any ideas?
> TCWP> Thanks in advance.
>
> PK> That's a known problem
>
> Oh, good to know ;-)
>
> PK> when you try to use older Linux kernels on new distributions.
>
> PK> Select a newer version (>2.6.28) for the Linux kernel headers
> PK> and it should work.
>
> Well, Peter,
> I am facing the same problem as Teng Chee Wan Philip did then.
> And I am not really free in my choice regarding the kernel.
>
> My pretty brand new Internet router ("AVM FRITZ!Box 7390") is using a 2.6.19.2 Linux kernel,
> and I can't really rebuild the entire thing,
> as they only tell us, on what open source it's based,
> and they don't publish their extensions.
>
> root at fritz.fonwlan.box(fb7390) # uname -a
> Linux fritz.fonwlan.box 2.6.19.2 #4 Fri Mar 26 17:10:43 CET 2010 mips unknown
>
> root at fritz.fonwlan.box(fb7390) # cat /proc/cpuinfo
> system type : Ikanos Fusiv Core
> processor : 0
> cpu model : MIPS 24K V4.12
> BogoMIPS : 330.75
> wait instruction : yes
> unaligned_instructions : 2845982
> microsecond timers : yes
> tlb_entries : 64
> extra interrupt vector : yes
> hardware watchpoint : yes
> ASEs implemented : mips16 dsp
> VCED exceptions : not available
> VCEI exceptions : not available
>
> I want to be able to mount ext2 partitions on external disks,
> and not just vfat partitions,
> so I want to grab the ext2.ko from your build
> and "insmod" it in my devices kernel.
>
>
> They actually supply us with the kernel sources,
> they use for building their device,
> and I have no idea, whether they really changed it.
> Of course, I know how to do a "diff -r" on their kernel and the vanilla 2.6.19.2 ...
>
> So now with your software
> I actually also didn't find a way to tell it,
> how to use a custom kernel, that I already have on my disk.
>
> And "here" you are also telling us,
> there is a problem with buildroot regarding the kernel to be built resp. how new it is.
>
> Well, whatever!
> Either I use your software, which so far seems to lack a few features resp. suffers from a few minor deficits,
> or I need to build a cross-compiler and then the kernel with that cross-compiler all by myself.
>
>
> Now in this light -- do you see any chance for me to get this job done?
>
Try here:
http://minimodding.com
We do almost exclusively MIPS, primarily 24K
And we are dealing with similar problems with the MultiMedia SoC chips -
the factory is building on 2.6.12.4 and we want something newer.
Or (just so you don't think my site is the only place)
OpenWRT and OpenEmbedded projects support MIPS.
Mike
> Be sure: your community would love you for this!
>
> Kind regards,
> Jochen
>
> P.S.
> I am a little in a hurry right now,
> and I hope you don't consider me curt.
> Thanks for your work on buildroot!!!
> Do you have an Amazon or whatever wishlist,
> so I can do something good for you?
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-05-16 11:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <7085C89ACBD47E4B947F91A84B9EA9240C1CF914C3@EXCHANGE31.staff.main.ntu.edu.sg>
2009-10-03 13:48 ` [Buildroot] Conflicting types for getline Teng Chee Wan Philip
2009-10-03 17:02 ` Peter Korsgaard
2010-05-16 10:24 ` [Buildroot] FYI: " Jochen+busybox at Hayek.name
2010-05-16 11:45 ` Michael S. Zick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox