{"action":"closed","issue":{"url":"https://api.github.com/repos/tgraf/bmon/issues/27","labels_url":"https://api.github.com/repos/tgraf/bmon/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/tgraf/bmon/issues/27/comments","events_url":"https://api.github.com/repos/tgraf/bmon/issues/27/events","html_url":"https://github.com/tgraf/bmon/issues/27","id":90706052,"number":27,"title":"bmon 3.6 on OSX 10.10.3","user":{"login":"hdatma","id":1321219,"avatar_url":"https://avatars.githubusercontent.com/u/1321219?v=3","gravatar_id":"","url":"https://api.github.com/users/hdatma","html_url":"https://github.com/hdatma","followers_url":"https://api.github.com/users/hdatma/followers","following_url":"https://api.github.com/users/hdatma/following{/other_user}","gists_url":"https://api.github.com/users/hdatma/gists{/gist_id}","starred_url":"https://api.github.com/users/hdatma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdatma/subscriptions","organizations_url":"https://api.github.com/users/hdatma/orgs","repos_url":"https://api.github.com/users/hdatma/repos","events_url":"https://api.github.com/users/hdatma/events{/privacy}","received_events_url":"https://api.github.com/users/hdatma/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-24T15:17:56Z","updated_at":"2015-07-24T08:23:25Z","closed_at":"2015-07-24T08:23:25Z","body":"Dear Thomas, \r\n\r\nPlease find enclosed the logs obtained compiling bmon on OSX 10.10.3. \r\n\r\nYours sincerely,\r\n\r\n## Notes:\r\n\r\nhttps://github.com/tgraf/bmon/releases/download/v3.6/bmon-3.6.tar.gz\r\n\r\n> clang -v\r\nclang version 3.6.1 (tags/RELEASE_361/final)\r\nTarget: x86_64-apple-darwin14.3.0\r\nThread model: posix\r\n\r\n### configure stdout:\r\n\r\nchecking build system type... x86_64-apple-darwin14.3.0\r\nchecking host system type... x86_64-apple-darwin14.3.0\r\nchecking target system type... x86_64-apple-darwin14.3.0\r\nchecking for a BSD-compatible install... /opt/local/bin/ginstall -c\r\nchecking whether build environment is sane... yes\r\nchecking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p\r\nchecking for gawk... gawk\r\nchecking whether make sets $(MAKE)... yes\r\nchecking whether make supports nested variables... yes\r\nchecking whether make supports nested variables... (cached) yes\r\nchecking for style of include used by make... GNU\r\nchecking for gcc... /opt/llvm/bin/clang\r\nchecking whether the C compiler works... yes\r\nchecking for C compiler default output file name... a.out\r\nchecking for suffix of executables... \r\nchecking whether we are cross compiling... no\r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether /opt/llvm/bin/clang accepts -g... yes\r\nchecking for /opt/llvm/bin/clang option to accept ISO C89... none needed\r\nchecking dependency style of /opt/llvm/bin/clang... gcc3\r\nchecking for library containing strerror... none required\r\nchecking for gcc... (cached) /opt/llvm/bin/clang\r\nchecking whether we are using the GNU C compiler... (cached) yes\r\nchecking whether /opt/llvm/bin/clang accepts -g... (cached) yes\r\nchecking for /opt/llvm/bin/clang option to accept ISO C89... (cached) none needed\r\nchecking dependency style of /opt/llvm/bin/clang... (cached) gcc3\r\nchecking for /opt/llvm/bin/clang option to accept ISO C99... none needed\r\nchecking for /opt/llvm/bin/clang option to accept ISO Standard C... (cached) none needed\r\nchecking how to run the C preprocessor... /opt/llvm/bin/clang -E\r\nchecking whether make sets $(MAKE)... (cached) yes\r\nchecking for an ANSI C-conforming const... yes\r\nchecking for inline... inline\r\nchecking whether time.h and sys/time.h may both be included... yes\r\nchecking for dirent.h that defines DIR... yes\r\nchecking for library containing opendir... none required\r\nchecking for grep that handles long lines and -e... /usr/bin/grep\r\nchecking for egrep... /usr/bin/grep -E\r\nchecking for ANSI C header files... yes\r\nchecking for sys/types.h... yes\r\nchecking for sys/stat.h... yes\r\nchecking for stdlib.h... yes\r\nchecking for string.h... yes\r\nchecking for memory.h... yes\r\nchecking for strings.h... yes\r\nchecking for inttypes.h... yes\r\nchecking for stdint.h... yes\r\nchecking for unistd.h... yes\r\nchecking for size_t... yes\r\nchecking return type of signal handlers... void\r\nchecking for pid_t... yes\r\nchecking vfork.h usability... no\r\nchecking vfork.h presence... no\r\nchecking for vfork.h... no\r\nchecking for fork... yes\r\nchecking for vfork... yes\r\nchecking for working fork... yes\r\nchecking for working vfork... (cached) yes\r\nchecking getopt.h usability... yes\r\nchecking getopt.h presence... yes\r\nchecking for getopt.h... yes\r\nchecking ncurses/ncurses.h usability... no\r\nchecking ncurses/ncurses.h presence... no\r\nchecking for ncurses/ncurses.h... no\r\nchecking ncurses.h usability... yes\r\nchecking ncurses.h presence... yes\r\nchecking for ncurses.h... yes\r\nchecking curses.h usability... yes\r\nchecking curses.h presence... yes\r\nchecking for curses.h... yes\r\nchecking dirent.h usability... yes\r\nchecking dirent.h presence... yes\r\nchecking for dirent.h... yes\r\nchecking sys/utsname.h usability... yes\r\nchecking sys/utsname.h presence... yes\r\nchecking for sys/utsname.h... yes\r\nchecking sys/sockio.h usability... yes\r\nchecking sys/sockio.h presence... yes\r\nchecking for sys/sockio.h... yes\r\nchecking netinet6/in6.h usability... no\r\nchecking netinet6/in6.h presence... no\r\nchecking for netinet6/in6.h... no\r\nchecking fcntl.h usability... yes\r\nchecking fcntl.h presence... yes\r\nchecking for fcntl.h... yes\r\nchecking netdb.h usability... yes\r\nchecking netdb.h presence... yes\r\nchecking for netdb.h... yes\r\nchecking netinet/in.h usability... yes\r\nchecking netinet/in.h presence... yes\r\nchecking for netinet/in.h... yes\r\nchecking sysctl/ioctl.h usability... no\r\nchecking sysctl/ioctl.h presence... no\r\nchecking for sysctl/ioctl.h... no\r\nchecking sys/param.h usability... yes\r\nchecking sys/param.h presence... yes\r\nchecking for sys/param.h... yes\r\nchecking sys/socket.h usability... yes\r\nchecking sys/socket.h presence... yes\r\nchecking for sys/socket.h... yes\r\nchecking for suseconds_t... yes\r\nchecking for atexit... yes\r\nchecking for gettimeofday... yes\r\nchecking for memset... yes\r\nchecking for pow... yes\r\nchecking for socket... yes\r\nchecking for strcasecmp... yes\r\nchecking for strchr... yes\r\nchecking for strdup... yes\r\nchecking for strerror... yes\r\nchecking for strncasecmp... yes\r\nchecking for strstr... yes\r\nchecking for strtol... yes\r\nchecking for uname... yes\r\nchecking for getdate... yes\r\nchecking for NcursesW wide-character library... no\r\nchecking for Ncurses library... yes\r\nchecking for working ncurses/curses.h... no\r\nchecking for working ncurses.h... yes\r\nchecking for pkg-config... /opt/local/bin/pkg-config\r\nchecking pkg-config is at least version 0.9.0... yes\r\nchecking for CONFUSE... yes\r\nchecking for pow in -lm... yes\r\nchecking for initscr in -lncurses... yes\r\nchecking for redrawwin in -lncurses... yes\r\nchecking for use_default_colors in -lncurses... yes\r\nchecking that generated files are newer than configure... done\r\nconfigure: creating ./config.status\r\nconfig.status: creating Makefile\r\nconfig.status: creating include/Makefile\r\nconfig.status: creating src/Makefile\r\nconfig.status: creating man/Makefile\r\nconfig.status: creating examples/Makefile\r\nconfig.status: creating include/bmon/defs.h\r\nconfig.status: executing depfiles commands\r\n \r\n### configure stderr:\r\n\r\nempty\r\n\r\n### compiler's stdout:\r\n\r\nMaking all in src\r\n  CC       bmon-utils.o\r\n  CC       bmon-unit.o\r\n  CC       bmon-conf.o\r\n  CC       bmon-input.o\r\n  CC       bmon-output.o\r\n  CC       bmon-group.o\r\n  CC       bmon-element.o\r\n  CC       bmon-attr.o\r\n  CC       bmon-element_cfg.o\r\n  CC       bmon-history.o\r\n  CC       bmon-graph.o\r\n  CC       bmon-bmon.o\r\n  CC       bmon-module.o\r\n  CC       bmon-in_netlink.o\r\n  CC       bmon-in_null.o\r\n  CC       bmon-in_dummy.o\r\n  CC       bmon-in_proc.o\r\n  CC       bmon-in_sysctl.o\r\n  CC       bmon-out_null.o\r\n  CC       bmon-out_format.o\r\n  CC       bmon-out_ascii.o\r\n  CC       bmon-out_curses.o\r\n  CCLD     bmon\r\n \r\n### compiler's stderr:\r\n\r\nUndefined symbols for architecture x86_64:\r\n  \"_cfg_free\", referenced from:\r\n      _conf_shutdown in bmon-conf.o\r\n     (maybe you meant: _element_cfg_free)\r\n  \"_cfg_getbool\", referenced from:\r\n      _unit_divisor in bmon-unit.o\r\n      _conf_init_post in bmon-conf.o\r\n      _configfile_read_attrs in bmon-conf.o\r\n      _configfile_read_element_cfg in bmon-conf.o\r\n  \"_cfg_getfloat\", referenced from:\r\n      _conf_init_post in bmon-conf.o\r\n      _get_lifecycles in bmon-conf.o\r\n      _configfile_read_history in bmon-conf.o\r\n  \"_cfg_getint\", referenced from:\r\n      _conf_init_post in bmon-conf.o\r\n      _configfile_read_history in bmon-conf.o\r\n      _configfile_read_element_cfg in bmon-conf.o\r\n      _main in bmon-bmon.o\r\n  \"_cfg_getnfloat\", referenced from:\r\n      _add_div in bmon-conf.o\r\n  \"_cfg_getnsec\", referenced from:\r\n      _configfile_read_units in bmon-conf.o\r\n      _configfile_read_history in bmon-conf.o\r\n      _configfile_read_attrs in bmon-conf.o\r\n      _configfile_read_element_cfg in bmon-conf.o\r\n  \"_cfg_getnstr\", referenced from:\r\n      _add_div in bmon-conf.o\r\n  \"_cfg_getstr\", referenced from:\r\n      _conf_init_post in bmon-conf.o\r\n      _configfile_read_history in bmon-conf.o\r\n      _configfile_read_attrs in bmon-conf.o\r\n      _configfile_read_element_cfg in bmon-conf.o\r\n  \"_cfg_init\", referenced from:\r\n      ___conf_init in bmon-conf.o\r\n  \"_cfg_parse\", referenced from:\r\n      _conf_read in bmon-conf.o\r\n  \"_cfg_parse_buf\", referenced from:\r\n      _conf_init_pre in bmon-conf.o\r\n  \"_cfg_setbool\", referenced from:\r\n      _main in bmon-bmon.o\r\n  \"_cfg_setfloat\", referenced from:\r\n      _main in bmon-bmon.o\r\n  \"_cfg_setint\", referenced from:\r\n      _set_unit_exp in bmon-conf.o\r\n      _main in bmon-bmon.o\r\n  \"_cfg_setstr\", referenced from:\r\n      _main in bmon-bmon.o\r\n  \"_cfg_size\", referenced from:\r\n      _configfile_read_units in bmon-conf.o\r\n      _configfile_read_history in bmon-conf.o\r\n      _configfile_read_attrs in bmon-conf.o\r\n      _configfile_read_element_cfg in bmon-conf.o\r\n      _add_div in bmon-conf.o\r\n  \"_cfg_title\", referenced from:\r\n      _configfile_read_units in bmon-conf.o\r\n      _configfile_read_history in bmon-conf.o\r\n      _configfile_read_attrs in bmon-conf.o\r\n      _configfile_read_element_cfg in bmon-conf.o\r\nld: symbol(s) not found for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nmake[1]: *** [bmon] Error 1\r\nmake: *** [all-recursive] Error 1\r\n \r\n### Detail of the first error:\r\n\r\n/opt/src/bmon-3.6> search -cv “_cfg_free” .\r\n./compiler-stderr.log:2:  \"_cfg_free\", referenced from:\r\n./compiler-stderr.log:4:     (maybe you meant: _element_cfg_free)\r\n./include/bmon/element_cfg.h:50:extern void   element_cfg_free(struct element_cfg *);\r\n./src/element_cfg.c:62:static void __element_cfg_free(struct element_cfg *ec)\r\n./src/element_cfg.c:71:void element_cfg_free(struct element_cfg *ec)\r\n./src/element_cfg.c:76:\t__element_cfg_free(ec);\r\n./src/element_cfg.c:95:\t__element_cfg_free(ec);\r\n/opt/src/bmon-3.6>\r\n\r\n"}}