error: 'cloexec_done' undeclared, while cross compiling dbus 1.3.0 for ARM

pan son sonicpan.sonicpan at gmail.com
Thu Oct 8 12:20:46 PDT 2009


Answering my own question,

At line 3046 of dbus/dbus-sysdeps-unix.c, the #ifndef should be changed to
#ifdef

#ifdef F_DUPFD_CLOEXEC
  if (!cloexec_done)

That worked for me.


On Wed, Oct 7, 2009 at 6:09 PM, pan son <sonicpan.sonicpan at gmail.com> wrote:

> Hi,
>
> I am cross compiling dbus 1.3.0 for arm platform.
> I was able to configure the source, but when I run 'make' I get the
> following error,
>
> dbus-sysdeps-unix.c: In function '_dbus_dup':
> dbus-sysdeps-unix.c:3047: error: 'cloexec_done' undeclared (first use in
> this function)
> dbus-sysdeps-unix.c:3047: error: (Each undeclared identifier is reported
> only once
> dbus-sysdeps-unix.c:3047: error: for each function it appears in.)
> make[3]: *** [dbus-sysdeps-unix.lo] Error 1
>
> Any help regarding this is highly appreciated.
>
> Thankyou,
> Vink
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20091008/52aa97d7/attachment.html 


More information about the dbus mailing list