* [Buildroot] Bug 3877 - Patch not working
[not found] <BLU0-SMTP12114F40C37660CBB539A15D28E0@phx.gbl>
@ 2012-01-27 9:54 ` inblueswithu
2012-01-27 11:58 ` Thomas Petazzoni
2012-01-27 15:12 ` Peter Korsgaard
0 siblings, 2 replies; 6+ messages in thread
From: inblueswithu @ 2012-01-27 9:54 UTC (permalink / raw)
To: buildroot
Hi,
I 've got *"undefined reference to `accept4'"* this error while using
buildroot.
When I googled, I got this patch:
https://bugs.uclibc.org/attachment.cgi?id=3415&action=edit
I tried to apply this patch manually to the file as the patch is failing
to apply.
Even then the error persisted.
Can some one please help me in overcoming this.
My uClibc version : uClibc-0.9.32 & This was the error in command line
cd src/network/ && /usr/bin/make -f Makefile
make[2]: Entering directory
`/home/inblueswithu/buildroot2/buildroot/output/build/qt-4.7.4/src/network'
rm -f libQtNetwork.so.4.7.4 libQtNetwork.so libQtNetwork.so.4
libQtNetwork.so.4.7
linking ../../lib/libQtNetwork.so.4.7.4
.obj/release-shared-emb-arm/qnativesocketengine_unix.o: In function
`QNativeSocketEnginePrivate::nativeAccept()':
qnativesocketengine_unix.cpp:(.text+0x8d4): undefined reference to
`accept4'
.obj/release-shared-emb-arm/qlocalserver_unix.o: In function
`QLocalServerPrivate::_q_onNewConnection()':
qlocalserver_unix.cpp:(.text+0x718): undefined reference to `accept4'
collect2: ld returned 1 exit status
make[2]: *** [../../lib/libQtNetwork.so.4.7.4] Error 1
make[2]: Leaving directory
`/home/inblueswithu/buildroot2/buildroot/output/build/qt-4.7.4/src/network'
make[1]: *** [sub-network-make_default-ordered] Error 2
make[1]: Leaving directory
`/home/inblueswithu/buildroot2/buildroot/output/build/qt-4.7.4'
make: ***
[/home/inblueswithu/buildroot2/buildroot/output/build/qt-4.7.4/.stamp_built]
Error 2
Thanks & Regards
/inblueswithu/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120127/1bd96a52/attachment-0001.html>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Bug 3877 - Patch not working
2012-01-27 9:54 ` [Buildroot] Bug 3877 - Patch not working inblueswithu
@ 2012-01-27 11:58 ` Thomas Petazzoni
2012-01-27 14:36 ` inblueswithu
2012-01-27 15:12 ` Peter Korsgaard
1 sibling, 1 reply; 6+ messages in thread
From: Thomas Petazzoni @ 2012-01-27 11:58 UTC (permalink / raw)
To: buildroot
Le Fri, 27 Jan 2012 15:24:09 +0530,
inblueswithu <inblueswithu@hotmail.com> a ?crit :
> I 've got *"undefined reference to `accept4'"* this error while using
> buildroot.
> When I googled, I got this patch:
> https://bugs.uclibc.org/attachment.cgi?id=3415&action=edit
Can you please post your Buildroot .config file?
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Bug 3877 - Patch not working
2012-01-27 11:58 ` Thomas Petazzoni
@ 2012-01-27 14:36 ` inblueswithu
0 siblings, 0 replies; 6+ messages in thread
From: inblueswithu @ 2012-01-27 14:36 UTC (permalink / raw)
To: buildroot
On Friday 27 January 2012 05:28 PM, Thomas Petazzoni wrote:
> Le Fri, 27 Jan 2012 15:24:09 +0530,
> inblueswithu<inblueswithu@hotmail.com> a ?crit :
>
>> I 've got *"undefined reference to `accept4'"* this error while using
>> buildroot.
>> When I googled, I got this patch:
>> https://bugs.uclibc.org/attachment.cgi?id=3415&action=edit
> > Can you please post your Buildroot .config file?
Thanks for the reply. I'm attaching my .config file.
Please look into it.
Thanks & Regards
/inblueswithu/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120127/029f2148/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: .config
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120127/029f2148/attachment-0001.ksh>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Bug 3877 - Patch not working
2012-01-27 9:54 ` [Buildroot] Bug 3877 - Patch not working inblueswithu
2012-01-27 11:58 ` Thomas Petazzoni
@ 2012-01-27 15:12 ` Peter Korsgaard
2012-01-27 15:16 ` Thomas Petazzoni
2012-01-27 15:34 ` inblueswithu
1 sibling, 2 replies; 6+ messages in thread
From: Peter Korsgaard @ 2012-01-27 15:12 UTC (permalink / raw)
To: buildroot
>>>>> "inblueswithu" == inblueswithu <inblueswithu@hotmail.com> writes:
inblueswithu> Hi,
inblueswithu> I 've got "undefined reference to `accept4'" this error
inblueswithu> while using buildroot. When I googled, I got this patch:
inblueswithu> https://bugs.uclibc.org/attachment.cgi?id=
inblueswithu> 3415&action=edit
uClibc will only add an accept4() function if your kernel headers expose
sys_accept4, which for ARM was only added in 2.6.36.
Make sure your kernel headers (and runtime kernel) is atleast 2.6.36.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Bug 3877 - Patch not working
2012-01-27 15:12 ` Peter Korsgaard
@ 2012-01-27 15:16 ` Thomas Petazzoni
2012-01-27 15:34 ` inblueswithu
1 sibling, 0 replies; 6+ messages in thread
From: Thomas Petazzoni @ 2012-01-27 15:16 UTC (permalink / raw)
To: buildroot
Le Fri, 27 Jan 2012 16:12:42 +0100,
Peter Korsgaard <jacmet@uclibc.org> a ?crit :
> uClibc will only add an accept4() function if your kernel headers
> expose sys_accept4, which for ARM was only added in 2.6.36.
According to his .config file, the kernel headers used were 2.6.35, so
I guess you found the right spot.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Bug 3877 - Patch not working
2012-01-27 15:12 ` Peter Korsgaard
2012-01-27 15:16 ` Thomas Petazzoni
@ 2012-01-27 15:34 ` inblueswithu
1 sibling, 0 replies; 6+ messages in thread
From: inblueswithu @ 2012-01-27 15:34 UTC (permalink / raw)
To: buildroot
> inblueswithu> Hi,
>
> inblueswithu> I 've got "undefined reference to `accept4'" this error
> inblueswithu> while using buildroot. When I googled, I got this patch:
> inblueswithu> https://bugs.uclibc.org/attachment.cgi?id=
> inblueswithu> 3415&action=edit
>
> uClibc will only add an accept4() function if your kernel headers expose
> sys_accept4, which for ARM was only added in 2.6.36.
>
> Make sure your kernel headers (and runtime kernel) is atleast 2.6.36.
Thank You for your reply. This might be the problem, I'm working on this
right now.
Peter Korsgaard <jacmet@uclibc.org> a ?crit :
According to his .config file, the kernel headers used were 2.6.35, so
I guess you found the right spot.
Thank you for that quick reference & suggestion
Thanks & Regards
/inblueswithu/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120127/29965166/attachment-0001.html>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-01-27 15:34 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <BLU0-SMTP12114F40C37660CBB539A15D28E0@phx.gbl>
2012-01-27 9:54 ` [Buildroot] Bug 3877 - Patch not working inblueswithu
2012-01-27 11:58 ` Thomas Petazzoni
2012-01-27 14:36 ` inblueswithu
2012-01-27 15:12 ` Peter Korsgaard
2012-01-27 15:16 ` Thomas Petazzoni
2012-01-27 15:34 ` inblueswithu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox