Hi,
I have problems in compiling dubs on my mac retina with mountain lion.
This is the error I get.
Thank you
Regards
Pasquale Mazzotta
dbus-string.c:1153:3: warning: cast from 'unsigned char *' to 'dbus_uint16_t *'
(aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
ASSIGN_2_OCTETS (real->str + insert_at, octets);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dbus-string.c:1056:5: note: expanded from macro 'ASSIGN_2_OCTETS'
*((dbus_uint16_t*)(p)) = *((dbus_uint16_t*)(octets));
^~~~~~~~~~~~~~~~~~~
dbus-string.c:1153:3: warning: cast from 'const unsigned char *' to
'dbus_uint16_t *' (aka 'unsigned short *') increases required alignment from 1
to 2 [-Wcast-align]
ASSIGN_2_OCTETS (real->str + insert_at, octets);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dbus-string.c:1056:30: note: expanded from macro 'ASSIGN_2_OCTETS'
*((dbus_uint16_t*)(p)) = *((dbus_uint16_t*)(octets));
^~~~~~~~~~~~~~~~~~~~~~~~
dbus-string.c:1177:3: warning: cast from 'unsigned char *' to 'dbus_uint32_t *'
(aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
ASSIGN_4_OCTETS (real->str + insert_at, octets);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dbus-string.c:1060:5: note: expanded from macro 'ASSIGN_4_OCTETS'
*((dbus_uint32_t*)(p)) = *((dbus_uint32_t*)(octets));
^~~~~~~~~~~~~~~~~~~
dbus-string.c:1177:3: warning: cast from 'const unsigned char *' to
'dbus_uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to
4 [-Wcast-align]
ASSIGN_4_OCTETS (real->str + insert_at, octets);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dbus-string.c:1060:30: note: expanded from macro 'ASSIGN_4_OCTETS'
*((dbus_uint32_t*)(p)) = *((dbus_uint32_t*)(octets));
^~~~~~~~~~~~~~~~~~~~~~~~
dbus-string.c:1203:3: warning: cast from 'unsigned char *' to 'dbus_uint64_t *'
(aka 'unsigned long *') increases required alignment from 1 to 8 [-Wcast-align]
ASSIGN_8_OCTETS (real->str + insert_at, octets);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dbus-string.c:1065:5: note: expanded from macro 'ASSIGN_8_OCTETS'
*((dbus_uint64_t*)(p)) = *((dbus_uint64_t*)(octets));
^~~~~~~~~~~~~~~~~~~
dbus-string.c:1203:3: warning: cast from 'const unsigned char *' to
'dbus_uint64_t *' (aka 'unsigned long *') increases required alignment from 1
to 8 [-Wcast-align]
ASSIGN_8_OCTETS (real->str + insert_at, octets);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dbus-string.c:1065:30: note: expanded from macro 'ASSIGN_8_OCTETS'
*((dbus_uint64_t*)(p)) = *((dbus_uint64_t*)(octets));
^~~~~~~~~~~~~~~~~~~~~~~~
6 warnings generated.
CC libdbus_1_la-dbus-server-launchd.lo
dbus-server-launchd.c:70:5: error: use of undeclared identifier 'launch_data_t'
launch_data_t sockets_dict, checkin_response;
^
dbus-server-launchd.c:71:5: error: use of undeclared identifier 'launch_data_t'
launch_data_t checkin_request;
^
dbus-server-launchd.c:72:5: error: use of undeclared identifier 'launch_data_t'
launch_data_t listening_fd_array, listening_fd;
^
dbus-server-launchd.c:73:5: error: use of undeclared identifier 'launch_data_t'
launch_data_t environment_dict, environment_param;
^
dbus-server-launchd.c:104:10: error: use of undeclared identifier
'checkin_request'
if ((checkin_request = launch_data_new_string (LAUNCH_KEY_CHECKIN)) == NULL)
^
dbus-server-launchd.c:104:28: warning: implicit declaration of function
'launch_data_new_string' is invalid in C99 [-Wimplicit-function-declaration]
if ((checkin_request = launch_data_new_string (LAUNCH_KEY_CHECKIN)) == NULL)
^
dbus-server-launchd.c:104:52: error: use of undeclared identifier
'LAUNCH_KEY_CHECKIN'
if ((checkin_request = launch_data_new_string (LAUNCH_KEY_CHECKIN)) == NULL)
^
dbus-server-launchd.c:108:25: error: use of undeclared identifier
'LAUNCH_KEY_CHECKIN'
LAUNCH_KEY_CHECKIN);
^
dbus-server-launchd.c:112:10: error: use of undeclared identifier
'checkin_response'
if ((checkin_response = launch_msg (checkin_request)) == NULL)
^
dbus-server-launchd.c:112:29: warning: implicit declaration of function
'launch_msg' is invalid in C99 [-Wimplicit-function-declaration]
if ((checkin_response = launch_msg (checkin_request)) == NULL)
^
dbus-server-launchd.c:112:41: error: use of undeclared identifier
'checkin_request'
if ((checkin_response = launch_msg (checkin_request)) == NULL)
^
dbus-server-launchd.c:116:25: error: use of undeclared identifier
'LAUNCH_KEY_CHECKIN'
LAUNCH_KEY_CHECKIN, strerror (errno));
^
dbus-server-launchd.c:120:9: error: use of undeclared identifier
'LAUNCH_DATA_ERRNO'
if (LAUNCH_DATA_ERRNO == launch_data_get_type (checkin_response))
^
dbus-server-launchd.c:120:30: warning: implicit declaration of function
'launch_data_get_type' is invalid in C99 [-Wimplicit-function-declaration]
if (LAUNCH_DATA_ERRNO == launch_data_get_type (checkin_response))
^
dbus-server-launchd.c:120:52: error: use of undeclared identifier
'checkin_response'
if (LAUNCH_DATA_ERRNO == launch_data_get_type (checkin_response))
^
dbus-server-launchd.c:123:35: warning: implicit declaration of function
'launch_data_get_errno' is invalid in C99 [-Wimplicit-function-declaration]
strerror (launch_data_get_errno (checkin_response)));
^
dbus-server-launchd.c:123:58: error: use of undeclared identifier
'checkin_response'
strerror (launch_data_get_errno (checkin_response)));
^
dbus-server-launchd.c:127:5: error: use of undeclared identifier 'sockets_dict'
sockets_dict =
^
dbus-server-launchd.c:128:7: warning: implicit declaration of function
'launch_data_dict_lookup' is invalid in C99 [-Wimplicit-function-declaration]
launch_data_dict_lookup (checkin_response, LAUNCH_JOBKEY_SOCKETS);
^
dbus-server-launchd.c:128:32: error: use of undeclared identifier
'checkin_response'
launch_data_dict_lookup (checkin_response, LAUNCH_JOBKEY_SOCKETS);
^
dbus-server-launchd.c:129:17: error: use of undeclared identifier 'sockets_dict'
if (NULL == sockets_dict)
^
dbus-server-launchd.c:136:5: error: use of undeclared identifier
'listening_fd_array'
listening_fd_array =
^
dbus-server-launchd.c:137:32: error: use of undeclared identifier 'sockets_dict'
launch_data_dict_lookup (sockets_dict, "unix_domain_listener");
^
dbus-server-launchd.c:138:17: error: use of undeclared identifier
'listening_fd_array'
if (NULL == listening_fd_array)
^
dbus-server-launchd.c:145:9: warning: implicit declaration of function
'launch_data_array_get_count' is invalid in C99
[-Wimplicit-function-declaration]
if (launch_data_array_get_count (listening_fd_array) != 1)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
6 warnings and 20 errors generated.
make[3]: *** [libdbus_1_la-dbus-server-launchd.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of /tmp/fink.GWYgH failed, exit code 2
### execution of /tmp/fink.f8Wlj failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-dbus1.3-shlibs-1.4.18-1
(Reading database ... 18302 files and directories currently installed.)
Removing fink-buildlock-dbus1.3-shlibs-1.4.18-1 ...
Failed: phase compiling: dbus1.3-shlibs-1.4.18-1 failed
Before reporting any errors, please run "fink selfupdate" and try again.
If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem. If not, ask on one (not both, please) of
these mailing lists:
The Fink Users List <fink-us...@lists.sourceforge.net>
The Fink Beginners List <fink-beginners@lists.sourceforge.net>,
with a carbon copy to the maintainer:
Benjamin Reed <d...@fink.raccoonfink.com>
Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.
Please try to include the complete error message in your report. This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.
Also include the following system information:
Package manager version: 0.34.2
Distribution version: selfupdate-rsync Tue Aug 28 15:05:25 2012, 10.8, x86_64
Trees: local/main stable/main
Xcode.app: 4.4.1
Xcode command-line tools: 4.4.0.0.1.1249367152
Max. Fink build jobs: 1
---------------------------------------------------------
You can reach me at the Voice Mail any time +39 06916508745
---------------------------------------------------------
Pasquale Mazzotta
Universita' di Roma "Tor Vergata" and
Harvard-Smithsonian Center for Astrophysics
60 Garden Street, MS06
Cambridge MA 02138 (USA)
Tel (617) 495-7138
Fax (617) 495-7356
email:mazzo...@head.cfa.harvard.edu
http://people.fisica.uniroma2.it/~mazzotta
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners