2007-03-16 00:47:45

by Loreno Oliveira

[permalink] [raw]
Subject: [Bluez-users] error compiling code that uses dbus

Hi there,

i am trying to compile a simple program, from some presentation of Marcell,
but it seems that the dbus headers are someway broken.

The program is:

#include <stdio.h>
#include <stdlib.h>
#include <dbus/dbus.h>

int main( int argc, char **argv ) {
return 0;
}


Yes, there is no body in the program, just the #include. When I compile this
code I get:

/usr/include/dbus/dbus.h:33:33: error: dbus/dbus-arch-deps.h: No such file
or directory
/usr/include/dbus/dbus-types.h:33: error: 'dbus_uint32_t' does not name a
type
/usr/include/dbus/dbus-types.h:35: error: 'dbus_uint32_t' does not name a
type
/usr/include/dbus/dbus-errors.h:66: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-errors.h:68: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-address.h:35: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:49: error: 'dbus_uint32_t' does not name a
type
/usr/include/dbus/dbus-message.h:85: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:88: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:90: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:93: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:95: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:98: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:100: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:103: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:106: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:111: error: 'dbus_bool_t' has not been
declared
/usr/include/dbus/dbus-message.h:112: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:113: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:116: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:119: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:121: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:123: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:125: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:127: error: 'dbus_uint32_t' does not name a
type
/usr/include/dbus/dbus-message.h:128: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:130: error: 'dbus_uint32_t' does not name a
type
/usr/include/dbus/dbus-message.h:133: error: 'dbus_bool_t' has not been
declared
/usr/include/dbus/dbus-message.h:134: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:136: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:139: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:142: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:145: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:149: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:155: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:157: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:158: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:174: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:177: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:181: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:185: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:189: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:193: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:194: error: variable or field
'dbus_message_free_data_slot' declared void
/usr/include/dbus/dbus-message.h:194: error: 'dbus_int32_t' was not declared
in this scope
/usr/include/dbus/dbus-message.h:194: error: 'slot_p' was not declared in
this scope
/usr/include/dbus/dbus-message.h:195: error: 'dbus_bool_t' does not name a
type
/usr/include/dbus/dbus-message.h:200: error: 'dbus_int32_t' has not been
declared
/usr/include/dbus/dbus-connection.h:62: error: typedef 'dbus_bool_t' is
initialized (use __typeof__ instead)
/usr/include/dbus/dbus-connection.h:62: error: 'DBusAddWatchFunction' was
not declared in this scope
/usr/include/dbus/dbus-connection.h:62: error: expected ',' or ';' before
'(' token
/usr/include/dbus/dbus-connection.h:118: error: 'dbus_uint32_t' has not been
declared
/usr/include/dbus/dbus-connection.h:128: error: 'DBusAddWatchFunction' has
not been declared
/usr/include/dbus/dbus-connection.h:187: error: 'dbus_int32_t' was not
declared in this scope
/usr/include/dbus/dbus-connection.h:187: error: 'slot_p' was not declared in
this scope
/usr/include/dbus/dbus-connection.h:188: error: variable or field
'dbus_connection_free_data_slot' declared void
/usr/include/dbus/dbus-connection.h:188: error: 'dbus_int32_t' was not
declared in this scope
/usr/include/dbus/dbus-connection.h:188: error: 'slot_p' was not declared in
this scope
/usr/include/dbus/dbus-connection.h:190: error: 'dbus_int32_t' has not been
declared
/usr/include/dbus/dbus-connection.h:194: error: 'dbus_int32_t' has not been
declared
/usr/include/dbus/dbus-connection.h:212: error: 'dbus_uint32_t' has not been
declared
/usr/include/dbus/dbus-bus.h:60: error: 'dbus_uint32_t' has not been
declared
/usr/include/dbus/dbus-bus.h:61: error: 'dbus_uint32_t' has not been
declared
/usr/include/dbus/dbus-pending-call.h:47: error: 'dbus_int32_t' was not
declared in this scope
/usr/include/dbus/dbus-pending-call.h:47: error: 'slot_p' was not declared
in this scope
/usr/include/dbus/dbus-pending-call.h:48: error: variable or field
'dbus_pending_call_free_data_slot' declared void
/usr/include/dbus/dbus-pending-call.h:48: error: 'dbus_int32_t' was not
declared in this scope
/usr/include/dbus/dbus-pending-call.h:48: error: 'slot_p' was not declared
in this scope
/usr/include/dbus/dbus-pending-call.h:50: error: 'dbus_int32_t' has not been
declared
/usr/include/dbus/dbus-pending-call.h:54: error: 'dbus_int32_t' has not been
declared
/usr/include/dbus/dbus-server.h:55: error: 'DBusAddWatchFunction' has not
been declared
/usr/include/dbus/dbus-server.h:69: error: 'dbus_int32_t' was not declared
in this scope
/usr/include/dbus/dbus-server.h:69: error: 'slot_p' was not declared in this
scope
/usr/include/dbus/dbus-server.h:70: error: variable or field
'dbus_server_free_data_slot' declared void
/usr/include/dbus/dbus-server.h:70: error: 'dbus_int32_t' was not declared
in this scope
/usr/include/dbus/dbus-server.h:70: error: 'slot_p' was not declared in this
scope

My "uname -a" returns:

loreno@teckiller:Testes$ uname -a
Linux teckiller 2.6.15-28-386 #1 PREEMPT Thu Feb 1 15:51:56 UTC 2007 i686
GNU/Linux
loreno@teckiller:Testes$

My installed dbus-related pakages are:

loreno@teckiller:Testes$ dpkg --list | grep dbus
ii dbus 0.60-6ubuntu8.1
simple interprocess messaging system
ii dbus-1-utils 0.60-6ubuntu8.1
simple interprocess messaging system (utilit
ii libdbus-1-2 0.60-6ubuntu8.1
simple interprocess messaging system
ii libdbus-1-dev 0.60-6ubuntu8.1
simple interprocess messaging system (develo
ii libdbus-glib-1-2 0.60-6ubuntu8.1
simple interprocess messaging system (GLib-b
ii libdbus-glib-1-dev 0.60-6ubuntu8.1
simple interprocess messaging system (GLib i
ii python2.4-dbus 0.60-6ubuntu8.1
simple interprocess messaging system (Python
loreno@teckiller:Testes$


Does anybody can give me some direction over what I am doing wrong here??

Thanks for any help!

Loreno


Attachments:
(No filename) (7.72 kB)
(No filename) (10.16 kB)
(No filename) (345.00 B)
(No filename) (164.00 B)
Download all attachments

2007-03-17 18:33:48

by Loreno Oliveira

[permalink] [raw]
Subject: Re: [Bluez-users] error compiling code that uses dbus

Hi Mark, really thanks for the answer.

Just after I have sent this message I found that it was not a good idea to
post this doubt in the bluez list. I realized that people from the dbus list
could give more help because this is a dbus related issues, and not a bluez
related one.

BTW, if someone eventually come to the archive of this list due to similar
problems here is the solution (that worked to me) from the people from dbus
list.

I have just changeed the compilation command line from:

g++ -DDBUS_API_SUBJECT_TO_CHANGE -Wall -o test test.cpp

to:

g++ -DDBUS_API_SUBJECT_TO_CHANGE -Wall `pkg-config --cflags --libs dbus-1`
-o test test.cpp

Simple like that :-)

Regards!

Loreno

On 3/16/07, Mark S. Townsley <[email protected]> wrote:
>
> Loreno:
>
> I had no problem compiling your code but I am using an older version of
> DBUS (0.6.2)
>
> I did this to compile:
> g++ -I/usr/local/dbus0.62 -L/usr/local/lib -o test test.c -ldbus-1
>
>
> Mark
>
>
>
>
> On 3/15/07, Loreno Oliveira <[email protected]> wrote:
>
> > Hi there,
> >
> > i am trying to compile a simple program, from some presentation of
> > Marcell, but it seems that the dbus headers are someway broken.
> >
> > The program is:
> >
> > #include <stdio.h>
> > #include <stdlib.h >
> > #include <dbus/dbus.h>
> >
> > int main( int argc, char **argv ) {
> > return 0;
> > }
> >
> >
> > Yes, there is no body in the program, just the #include. When I compile
> > this code I get:
> >
> > /usr/include/dbus/dbus.h:33:33: error: dbus/dbus- arch-deps.h: No such
> > file or directory
> > /usr/include/dbus/dbus-types.h:33: error: 'dbus_uint32_t' does not name
> > a type
> > /usr/include/dbus/dbus-types.h:35: error: 'dbus_uint32_t' does not name
> > a type
> > /usr/include/dbus/dbus- errors.h:66: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-errors.h:68: error: 'dbus_bool_t' does not name a
> > type
> > /usr/include/dbus/dbus-address.h:35: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:49: error: 'dbus_uint32_t' does not
> > name a type
> > /usr/include/dbus/dbus-message.h:85: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:88: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:90: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:93: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:95: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:98: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:100: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:103: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:106: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:111: error: 'dbus_bool_t' has not been
> > declared
> > /usr/include/dbus/dbus-message.h:112: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:113: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:116: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:119: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:121: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:123: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:125: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:127: error: 'dbus_uint32_t' does not
> > name a type
> > /usr/include/dbus/dbus-message.h:128: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h :130: error: 'dbus_uint32_t' does not
> > name a type
> > /usr/include/dbus/dbus-message.h:133: error: 'dbus_bool_t' has not been
> > declared
> > /usr/include/dbus/dbus-message.h:134: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:136: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:139: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:142: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:145: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:149: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:155: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:157: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:158: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:174: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:177: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:181: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:185: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:189: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:193: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:194: error: variable or field
> > 'dbus_message_free_data_slot' declared void
> > /usr/include/dbus/dbus- message.h :194: error: 'dbus_int32_t' was not
> > declared in this scope
> > /usr/include/dbus/dbus-message.h:194: error: 'slot_p' was not declared
> > in this scope
> > /usr/include/dbus/dbus-message.h:195: error: 'dbus_bool_t' does not name
> > a type
> > /usr/include/dbus/dbus-message.h:200: error: 'dbus_int32_t' has not been
> > declared
> > /usr/include/dbus/dbus-connection.h:62: error: typedef 'dbus_bool_t' is
> > initialized (use __typeof__ instead)
> > /usr/include/dbus/dbus- connection.h:62: error: 'DBusAddWatchFunction'
> > was not declared in this scope
> > /usr/include/dbus/dbus-connection.h:62: error: expected ',' or ';'
> > before '(' token
> > /usr/include/dbus/dbus- connection.h:118: error: 'dbus_uint32_t' has not
> > been declared
> > /usr/include/dbus/dbus-connection.h:128: error: 'DBusAddWatchFunction'
> > has not been declared
> > /usr/include/dbus/dbus-connection.h:187: error: 'dbus_int32_t' was not
> > declared in this scope
> > /usr/include/dbus/dbus- connection.h :187: error: 'slot_p' was not
> > declared in this scope
> > /usr/include/dbus/dbus-connection.h:188: error: variable or field
> > 'dbus_connection_free_data_slot' declared void
> > /usr/include/dbus/dbus-connection.h :188: error: 'dbus_int32_t' was not
> > declared in this scope
> > /usr/include/dbus/dbus-connection.h:188: error: 'slot_p' was not
> > declared in this scope
> > /usr/include/dbus/dbus-connection.h:190: error: 'dbus_int32_t' has not
> > been declared
> > /usr/include/dbus/dbus- connection.h:194: error: 'dbus_int32_t' has not
> > been declared
> > /usr/include/dbus/dbus-connection.h:212: error: 'dbus_uint32_t' has not
> > been declared
> > /usr/include/dbus/dbus-bus.h:60: error: 'dbus_uint32_t' has not been
> > declared
> > /usr/include/dbus/dbus-bus.h:61: error: 'dbus_uint32_t' has not been
> > declared
> > /usr/include/dbus/dbus-pending-call.h:47: error: 'dbus_int32_t' was not
> > declared in this scope
> > /usr/include/dbus/dbus-pending-call.h:47: error: 'slot_p' was not
> > declared in this scope
> > /usr/include/dbus/dbus- pending-call.h :48: error: variable or field
> > 'dbus_pending_call_free_data_slot' declared void
> > /usr/include/dbus/dbus-pending-call.h:48: error: 'dbus_int32_t' was not
> > declared in this scope
> > /usr/include/dbus/dbus-pending-call.h :48: error: 'slot_p' was not
> > declared in this scope
> > /usr/include/dbus/dbus-pending-call.h:50: error: 'dbus_int32_t' has not
> > been declared
> > /usr/include/dbus/dbus-pending-call.h:54: error: 'dbus_int32_t' has not
> > been declared
> > /usr/include/dbus/dbus- server.h:55: error: 'DBusAddWatchFunction' has
> > not been declared
> > /usr/include/dbus/dbus-server.h:69: error: 'dbus_int32_t' was not
> > declared in this scope
> > /usr/include/dbus/dbus-server.h:69: error: 'slot_p' was not declared in
> > this scope
> > /usr/include/dbus/dbus- server.h:70: error: variable or field
> > 'dbus_server_free_data_slot' declared void
> > /usr/include/dbus/dbus-server.h:70: error: 'dbus_int32_t' was not
> > declared in this scope
> > /usr/include/dbus/dbus-server.h:70: error: 'slot_p' was not declared in
> > this scope
> >
> > My "uname -a" returns:
> >
> > loreno@teckiller:Testes$ uname -a
> > Linux teckiller 2.6.15-28-386 #1 PREEMPT Thu Feb 1 15:51:56 UTC 2007
> > i686 GNU/Linux
> > loreno@teckiller:Testes$
> >
> > My installed dbus-related pakages are:
> >
> > loreno@teckiller :Testes$ dpkg --list | grep dbus
> > ii dbus 0.60-6ubuntu8.1
> > simple interprocess messaging system
> > ii dbus-1-utils 0.60-6ubuntu8.1 simple interprocess messaging system (utilit
> > ii libdbus-1-2 0.60-6ubuntu8.1
> > simple interprocess messaging system
> > ii libdbus-1-dev 0.60-6ubuntu8.1
> > simple interprocess messaging system (develo
> > ii libdbus-glib-1-2 0.60-6ubuntu8.1
> > simple interprocess messaging system (GLib-b
> > ii libdbus-glib-1-dev 0.60-6ubuntu8.1
> > simple interprocess messaging system (GLib i
> > ii python2.4-dbus 0.60-6ubuntu8.1
> > simple interprocess messaging system (Python
> > loreno@teckiller:Testes$
> >
> >
> > Does anybody can give me some direction over what I am doing wrong
> > here??
> >
> > Thanks for any help!
> >
> > Loreno
> >
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> > your
> > opinions on IT & business topics through brief surveys-and earn cash
> >
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Bluez-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/bluez-users
> >
> >
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
>


Attachments:
(No filename) (10.64 kB)
(No filename) (14.56 kB)
(No filename) (345.00 B)
(No filename) (164.00 B)
Download all attachments

2007-03-16 19:37:46

by Mark S. Townsley

[permalink] [raw]
Subject: Re: [Bluez-users] error compiling code that uses dbus

Loreno:

I had no problem compiling your code but I am using an older version of DBUS
(0.6.2)

I did this to compile:
g++ -I/usr/local/dbus0.62 -L/usr/local/lib -o test test.c -ldbus-1


Mark




On 3/15/07, Loreno Oliveira <[email protected]> wrote:
>
> Hi there,
>
> i am trying to compile a simple program, from some presentation of
> Marcell, but it seems that the dbus headers are someway broken.
>
> The program is:
>
> #include <stdio.h>
> #include <stdlib.h >
> #include <dbus/dbus.h>
>
> int main( int argc, char **argv ) {
> return 0;
> }
>
>
> Yes, there is no body in the program, just the #include. When I compile
> this code I get:
>
> /usr/include/dbus/dbus.h:33:33: error: dbus/dbus- arch-deps.h: No such
> file or directory
> /usr/include/dbus/dbus-types.h:33: error: 'dbus_uint32_t' does not name a
> type
> /usr/include/dbus/dbus-types.h:35: error: 'dbus_uint32_t' does not name a
> type
> /usr/include/dbus/dbus- errors.h:66: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-errors.h:68: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-address.h:35: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:49: error: 'dbus_uint32_t' does not name
> a type
> /usr/include/dbus/dbus-message.h:85: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:88: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:90: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:93: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:95: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:98: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:100: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:103: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:106: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:111: error: 'dbus_bool_t' has not been
> declared
> /usr/include/dbus/dbus-message.h:112: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:113: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:116: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:119: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:121: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:123: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:125: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:127: error: 'dbus_uint32_t' does not name
> a type
> /usr/include/dbus/dbus-message.h:128: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:130: error: 'dbus_uint32_t' does not name
> a type
> /usr/include/dbus/dbus-message.h:133: error: 'dbus_bool_t' has not been
> declared
> /usr/include/dbus/dbus-message.h:134: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:136: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:139: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:142: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:145: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:149: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:155: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:157: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:158: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:174: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:177: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:181: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:185: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:189: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:193: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:194: error: variable or field
> 'dbus_message_free_data_slot' declared void
> /usr/include/dbus/dbus-message.h :194: error: 'dbus_int32_t' was not
> declared in this scope
> /usr/include/dbus/dbus-message.h:194: error: 'slot_p' was not declared in
> this scope
> /usr/include/dbus/dbus-message.h:195: error: 'dbus_bool_t' does not name a
> type
> /usr/include/dbus/dbus-message.h:200: error: 'dbus_int32_t' has not been
> declared
> /usr/include/dbus/dbus-connection.h:62: error: typedef 'dbus_bool_t' is
> initialized (use __typeof__ instead)
> /usr/include/dbus/dbus- connection.h:62: error: 'DBusAddWatchFunction' was
> not declared in this scope
> /usr/include/dbus/dbus-connection.h:62: error: expected ',' or ';' before
> '(' token
> /usr/include/dbus/dbus-connection.h:118: error: 'dbus_uint32_t' has not
> been declared
> /usr/include/dbus/dbus-connection.h:128: error: 'DBusAddWatchFunction' has
> not been declared
> /usr/include/dbus/dbus-connection.h:187: error: 'dbus_int32_t' was not
> declared in this scope
> /usr/include/dbus/dbus-connection.h :187: error: 'slot_p' was not declared
> in this scope
> /usr/include/dbus/dbus-connection.h:188: error: variable or field
> 'dbus_connection_free_data_slot' declared void
> /usr/include/dbus/dbus-connection.h:188: error: 'dbus_int32_t' was not
> declared in this scope
> /usr/include/dbus/dbus-connection.h:188: error: 'slot_p' was not declared
> in this scope
> /usr/include/dbus/dbus-connection.h:190: error: 'dbus_int32_t' has not
> been declared
> /usr/include/dbus/dbus-connection.h:194: error: 'dbus_int32_t' has not
> been declared
> /usr/include/dbus/dbus-connection.h:212: error: 'dbus_uint32_t' has not
> been declared
> /usr/include/dbus/dbus-bus.h:60: error: 'dbus_uint32_t' has not been
> declared
> /usr/include/dbus/dbus-bus.h:61: error: 'dbus_uint32_t' has not been
> declared
> /usr/include/dbus/dbus-pending-call.h:47: error: 'dbus_int32_t' was not
> declared in this scope
> /usr/include/dbus/dbus-pending-call.h:47: error: 'slot_p' was not declared
> in this scope
> /usr/include/dbus/dbus-pending-call.h :48: error: variable or field
> 'dbus_pending_call_free_data_slot' declared void
> /usr/include/dbus/dbus-pending-call.h:48: error: 'dbus_int32_t' was not
> declared in this scope
> /usr/include/dbus/dbus-pending-call.h:48: error: 'slot_p' was not declared
> in this scope
> /usr/include/dbus/dbus-pending-call.h:50: error: 'dbus_int32_t' has not
> been declared
> /usr/include/dbus/dbus-pending-call.h:54: error: 'dbus_int32_t' has not
> been declared
> /usr/include/dbus/dbus-server.h:55: error: 'DBusAddWatchFunction' has not
> been declared
> /usr/include/dbus/dbus-server.h:69: error: 'dbus_int32_t' was not declared
> in this scope
> /usr/include/dbus/dbus-server.h:69: error: 'slot_p' was not declared in
> this scope
> /usr/include/dbus/dbus-server.h:70: error: variable or field
> 'dbus_server_free_data_slot' declared void
> /usr/include/dbus/dbus-server.h:70: error: 'dbus_int32_t' was not declared
> in this scope
> /usr/include/dbus/dbus-server.h:70: error: 'slot_p' was not declared in
> this scope
>
> My "uname -a" returns:
>
> loreno@teckiller:Testes$ uname -a
> Linux teckiller 2.6.15-28-386 #1 PREEMPT Thu Feb 1 15:51:56 UTC 2007 i686
> GNU/Linux
> loreno@teckiller:Testes$
>
> My installed dbus-related pakages are:
>
> loreno@teckiller :Testes$ dpkg --list | grep dbus
> ii dbus 0.60-6ubuntu8.1
> simple interprocess messaging system
> ii dbus-1-utils 0.60-6ubuntu8.1
> simple interprocess messaging system (utilit
> ii libdbus-1-2 0.60-6ubuntu8.1
> simple interprocess messaging system
> ii libdbus-1-dev 0.60-6ubuntu8.1
> simple interprocess messaging system (develo
> ii libdbus-glib-1-2 0.60-6ubuntu8.1
> simple interprocess messaging system (GLib-b
> ii libdbus-glib-1-dev 0.60-6ubuntu8.1
> simple interprocess messaging system (GLib i
> ii python2.4-dbus 0.60-6ubuntu8.1
> simple interprocess messaging system (Python
> loreno@teckiller:Testes$
>
>
> Does anybody can give me some direction over what I am doing wrong here??
>
> Thanks for any help!
>
> Loreno
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
>


Attachments:
(No filename) (8.89 kB)
(No filename) (12.33 kB)
(No filename) (345.00 B)
(No filename) (164.00 B)
Download all attachments