----- "Dave Andreoli" <[EMAIL PROTECTED]> ha scritto:

> ----- "Sebastian Dransfeld" <[EMAIL PROTECTED]> ha scritto:
> 
> > Dave Andreoli wrote:
> > > Hi all
> > > I have problem using E_Hal (adn/or E_DBus) in an e module:
> > >
> > > If I use: #include <E_DBus.h>
> > > I always get:
> > >
> > >   In file included from /usr/local/include/E_Hal.h:3,
> > >                    from e_mod_main.c:3:
> > >   /usr/local/include/E_DBus.h:42: error: expected ‘{’ before
> ‘void’
> > >   /usr/local/include/E_DBus.h:42: error: two or more data types in
> > declaration specifiers
> > >
> > > the line 42 of E_DBus.h is:
> > >    typedef struct E_DBus_Interface E_DBus_Interface;
> > >
> > > Is right to link against E_dbus and E_hal in the module autotool?
> or
> > > is e17 that link against that libs?
> > > Someone has an idea? i'm getting creazy and is probably a stipid
> > thing :(
> >
> > No problem including E_DBus.h or E_Hal.h here. Do you include
> anything
> > before E_Hal.h?
> 
> I include <e.h> before (that should also include E_DBus.h).

Ok, I solved the problem.
Was because in the module HAVE_EDBUS isn't set and this cause problems
in e_msgbus.h (ther's a check for HAVE_EDBUS at line 6).

I have fixed with:
AC_DEFINE(HAVE_EDBUS, 1, [E_Dbus support])
in configure.in

Thanks all!
dave


> 
> >
> > Sebastian
> >
> >
> -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move Developer's
> > challenge
> > Build the coolest Linux based applications with Moblin SDK & win
> great
> > prizes
> > Grand prize is a trip for two to an Open Source event anywhere in
> the
> > world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to