Bug 11766 - compilation failure
Summary: compilation failure
Status: RESOLVED FIXED
Alias: None
Product: dbus
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: x86 (IA32) All
: highest normal
Assignee: Havoc Pennington
QA Contact: John (J5) Palmieri
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-29 13:53 UTC by Diego
Modified: 2007-07-30 09:19 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Diego 2007-07-29 13:53:30 UTC
activation-helper.c does not compile beacuse the function _dbus_check_is_valid_bus_name is undefined. I have grepped for it and it does not exist neither in the bus nor dbus directories.
Comment 1 Havoc Pennington 2007-07-29 22:50:06 UTC
It's defined via macro in 
http://dbus.freedesktop.org/doc/dbus/api/html/dbus-marshal-validate_8c-source.html

look for DEFINE_DBUS_NAME_CHECK(bus_name)

So something more complicated is going on, perhaps.

What is your OS and version?
Comment 2 Diego 2007-07-30 00:26:09 UTC
ok, the problem was that i was using --disable-checks, in which case that check should not be used. 

Anyway, removing that line from the configure arguments fixed it.
Comment 3 Havoc Pennington 2007-07-30 09:19:39 UTC
Right, the code should be using _dbus_validate_bus_name(), thanks.

Fixed in cvs.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.