All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Error while building libevas, SFD_NONBLOCK undeclared
@ 2013-07-08 18:01 Daniel.
  2013-07-08 21:57 ` Baruch Siach
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel. @ 2013-07-08 18:01 UTC (permalink / raw)
  To: buildroot

I'm receiving this error while trying to build with buildroot.

make[5]: Entering directory
`/home/hilst/buildroot/buildroot-2013.05/output/build/libevas-1.7.4/src/bin'
CC evas_cserve2_main_loop_linux.o
evas_cserve2_main_loop_linux.c: In function '_signalfd_setup':
evas_cserve2_main_loop_linux.c:156: error: 'SFD_NONBLOCK' undeclared (first
use in this function)
evas_cserve2_main_loop_linux.c:156: error: (Each undeclared identifier is
reported only once
evas_cserve2_main_loop_linux.c:156: error: for each function it appears in.)
evas_cserve2_main_loop_linux.c:156: error: 'SFD_CLOEXEC' undeclared (first
use in this fu

My .config can be found here: https://gist.github.com/gkos/5950964

Any help is appreciated,

I'm on archilinux using Sourcery CodeBench toolchain..
Best regards


-- 
*"Do or do not. There is no try"*
*  **Yoda Master*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130708/ad81938a/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Error while building libevas, SFD_NONBLOCK undeclared
  2013-07-08 18:01 [Buildroot] Error while building libevas, SFD_NONBLOCK undeclared Daniel.
@ 2013-07-08 21:57 ` Baruch Siach
       [not found]   ` <CAF3SDA6AyqLbAgba3ZcK+o4tsHJAOVZ=LhQAfRdqWrGWjEtoew@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2013-07-08 21:57 UTC (permalink / raw)
  To: buildroot

Hi Daniel,

On Mon, Jul 08, 2013 at 06:01:26PM +0000, Daniel. wrote:
> I'm receiving this error while trying to build with buildroot.
> 
> make[5]: Entering directory
> `/home/hilst/buildroot/buildroot-2013.05/output/build/libevas-1.7.4/src/bin'
> CC evas_cserve2_main_loop_linux.o
> evas_cserve2_main_loop_linux.c: In function '_signalfd_setup':
> evas_cserve2_main_loop_linux.c:156: error: 'SFD_NONBLOCK' undeclared (first
> use in this function)
> evas_cserve2_main_loop_linux.c:156: error: (Each undeclared identifier is
> reported only once
> evas_cserve2_main_loop_linux.c:156: error: for each function it appears in.)
> evas_cserve2_main_loop_linux.c:156: error: 'SFD_CLOEXEC' undeclared (first
> use in this fu
> 
> My .config can be found here: https://gist.github.com/gkos/5950964
> 
> Any help is appreciated,
> 
> I'm on archilinux using Sourcery CodeBench toolchain..

The signalfd(2) man page says that these flags (SFD_NONBLOCK and SFD_CLOEXEC) 
are only defined since kernel version 2.6.27. It seems that your toolchain 
uses an older kernel. Which version of the Sourcery CodeBench do you use?

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] Error while building libevas, SFD_NONBLOCK undeclared
       [not found]   ` <CAF3SDA6AyqLbAgba3ZcK+o4tsHJAOVZ=LhQAfRdqWrGWjEtoew@mail.gmail.com>
@ 2013-07-09  3:10     ` Baruch Siach
  0 siblings, 0 replies; 3+ messages in thread
From: Baruch Siach @ 2013-07-09  3:10 UTC (permalink / raw)
  To: buildroot

Hi Daniel,

Please Cc the list on your response.

On Tue, Jul 09, 2013 at 01:24:54AM +0000, Daniel. wrote:
> Baruch I use this one:
> arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu
> 
> Is the toolchain tied to kernel headers that was compiled against?

Yes. Apparently the 2009q1 toolchain is based on kernel version 2.6.30 which 
should be fine, but for some reason it does not have SFD_NONBLOCK and 
SFD_CLOEXEC in its sys/signalfd.h header file. 2010q1 (2.6.36 based) does have 
these defines. Both toolchains are quite old anyway.

baruch

> 2013/7/8 Baruch Siach <baruch@tkos.co.il>
> >
> > On Mon, Jul 08, 2013 at 06:01:26PM +0000, Daniel. wrote:
> > > I'm receiving this error while trying to build with buildroot.
> > >
> > > make[5]: Entering directory
> > >
> > `/home/hilst/buildroot/buildroot-2013.05/output/build/libevas-1.7.4/src/bin'
> > > CC evas_cserve2_main_loop_linux.o
> > > evas_cserve2_main_loop_linux.c: In function '_signalfd_setup':
> > > evas_cserve2_main_loop_linux.c:156: error: 'SFD_NONBLOCK' undeclared
> > (first
> > > use in this function)
> > > evas_cserve2_main_loop_linux.c:156: error: (Each undeclared identifier is
> > > reported only once
> > > evas_cserve2_main_loop_linux.c:156: error: for each function it appears
> > in.)
> > > evas_cserve2_main_loop_linux.c:156: error: 'SFD_CLOEXEC' undeclared
> > (first
> > > use in this fu
> > >
> > > My .config can be found here: https://gist.github.com/gkos/5950964
> > >
> > > Any help is appreciated,
> > >
> > > I'm on archilinux using Sourcery CodeBench toolchain..
> >
> > The signalfd(2) man page says that these flags (SFD_NONBLOCK and
> > SFD_CLOEXEC)
> > are only defined since kernel version 2.6.27. It seems that your toolchain
> > uses an older kernel. Which version of the Sourcery CodeBench do you use?
> >
> > baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-09  3:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-08 18:01 [Buildroot] Error while building libevas, SFD_NONBLOCK undeclared Daniel.
2013-07-08 21:57 ` Baruch Siach
     [not found]   ` <CAF3SDA6AyqLbAgba3ZcK+o4tsHJAOVZ=LhQAfRdqWrGWjEtoew@mail.gmail.com>
2013-07-09  3:10     ` Baruch Siach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.