On 8/28/12 12:29 PM, Pasquale Mazzotta wrote: > > 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 > > >
<snip> > 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 > <mailto:fink-us...@lists.sourceforge.net>> > The Fink Beginners List <fink-beginners@lists.sourceforge.net > <mailto:fink-beginners@lists.sourceforge.net>>, > > with a carbon copy to the maintainer: > > Benjamin Reed <d...@fink.raccoonfink.com <mailto: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://head.cfa.harvard.edu> > http://people.fisica.uniroma2.it/~mazzotta > I didn't reproduce your error on 10.8.1 with the same listed Xcode command-line tools version. It might be helpful to check earlier in the output for some of the results of the configuration stage. I got: D-Bus 1.4.18 ============== prefix: /sw exec_prefix: ${prefix} libdir: /sw/lib libexecdir: /sw/sbin bindir: /sw/bin sysconfdir: /sw/etc localstatedir: /sw/var datadir: /sw/share source code location: . compiler: gcc cflags: -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wno-address -Wfloat-equal -Wdeclaration-after-statement -Wno-unused -Wno-sign-compare -Wno-pointer-sign -Wno-deprecated-declarations -fno-common -fno-strict-aliasing -Os -g cppflags: -I/sw/include cxxflags: -g -O2 64-bit int: long 32-bit int: int 16-bit int: short Doxygen: /sw/bin/doxygen xmlto: /sw/bin/xmlto man2html: /sw/bin/man2html Maintainer mode: no gcc coverage profiling: Building embedded tests: no Building modular tests: no Building verbose mode: no Building assertions: no Building checks: yes Building SELinux support: no Building inotify support: no Building dnotify support: no Building kqueue support: yes Building X11 code: Building Doxygen docs: no Building XML docs: no Building cache support: no Building launchd support: yes Using XML parser: expat Init scripts style: none Abstract socket names: no System bus socket: /sw/var/run/dbus/system_bus_socket System bus address: unix:path=/sw/var/run/dbus/system_bus_socket System bus PID file: /sw/var/run/dbus/pid Session bus address: launchd:env=DBUS_FINK_SESSION_BUS_SOCKET Console auth dir: /var/run/console/ Console owner file: no Console owner file path: System bus user: messagebus Session bus services dir: /sw/share/dbus-1/services 'make check' socket dir: /tmp launchd agent dir: /sw/share/dbus/launchd make Check if your results differ. If you don't see anything different between your setup and mine, then edit /sw/fink/dists/stable/main/finkinfo/libs/dbus1.3-shlibs.info and insert --disable-silent-rules \ at the beginning of the ConfigureParams block to make the build verbose. I.e. have it look like: ConfigureParams: << --disable-silent-rules \ --mandir=%p/share/man \ ... -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ 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