MacBook-Pro-Dmitrij:~ dpolpudenko$ cd libosmocore/
MacBook-Pro-Dmitrij:libosmocore dpolpudenko$ autoreconf -i
glibtoolize: putting auxiliary files in `.'.
glibtoolize: copying file `./ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
glibtoolize: copying file `m4/libtool.m4'
glibtoolize: copying file `m4/ltoptions.m4'
glibtoolize: copying file `m4/ltsugar.m4'
glibtoolize: copying file `m4/ltversion.m4'
glibtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:14: installing './compile'
configure.ac:16: installing './config.guess'
configure.ac:16: installing './config.sub'
configure.ac:5: installing './install-sh'
configure.ac:5: installing './missing'
src/Makefile.am: installing './depcomp'
src/gsm/Makefile.am:14: warning: source file 'milenage/aes-encblock.c' is in a subdirectory,
src/gsm/Makefile.am:14: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
src/gsm/Makefile.am:14: warning: source file 'milenage/aes-internal.c' is in a subdirectory,
src/gsm/Makefile.am:14: but option 'subdir-objects' is disabled
src/gsm/Makefile.am:14: warning: source file 'milenage/aes-internal-enc.c' is in a subdirectory,
src/gsm/Makefile.am:14: but option 'subdir-objects' is disabled
src/gsm/Makefile.am:14: warning: source file 'milenage/milenage.c' is in a subdirectory,
src/gsm/Makefile.am:14: but option 'subdir-objects' is disabled
tests/Makefile.am:16: warning: source file 'a5/a5_test.c' is in a subdirectory,
tests/Makefile.am:16: but option 'subdir-objects' is disabled
tests/Makefile.am:19: warning: source file 'auth/milenage_test.c' is in a subdirectory,
tests/Makefile.am:19: but option 'subdir-objects' is disabled
tests/Makefile.am:22: warning: source file 'bits/bitrev_test.c' is in a subdirectory,
tests/Makefile.am:22: but option 'subdir-objects' is disabled
tests/Makefile.am:25: warning: source file 'conv/conv_test.c' is in a subdirectory,
tests/Makefile.am:25: but option 'subdir-objects' is disabled
tests/Makefile.am:61: warning: source file 'fr/fr_test.c' is in a subdirectory,
tests/Makefile.am:61: but option 'subdir-objects' is disabled
tests/Makefile.am:52: warning: source file 'gb/bssgp_fc_test.c' is in a subdirectory,
tests/Makefile.am:52: but option 'subdir-objects' is disabled
tests/Makefile.am:55: warning: source file 'gb/gprs_ns_test.c' is in a subdirectory,
tests/Makefile.am:55: but option 'subdir-objects' is disabled
tests/Makefile.am:31: warning: source file 'gsm0408/gsm0408_test.c' is in a subdirectory,
tests/Makefile.am:31: but option 'subdir-objects' is disabled
tests/Makefile.am:28: warning: source file 'gsm0808/gsm0808_test.c' is in a subdirectory,
tests/Makefile.am:28: but option 'subdir-objects' is disabled
tests/Makefile.am:34: warning: source file 'lapd/lapd_test.c' is in a subdirectory,
tests/Makefile.am:34: but option 'subdir-objects' is disabled
tests/Makefile.am:58: warning: source file 'logging/logging_test.c' is in a subdirectory,
tests/Makefile.am:58: but option 'subdir-objects' is disabled
tests/Makefile.am:64: warning: source file 'logging/logging_test.c' is in a subdirectory,
tests/Makefile.am:64: but option 'subdir-objects' is disabled
tests/Makefile.am:37: warning: source file 'msgfile/msgfile_test.c' is in a subdirectory,
tests/Makefile.am:37: but option 'subdir-objects' is disabled
tests/Makefile.am:43: warning: source file 'sms/sms_test.c' is in a subdirectory,
tests/Makefile.am:43: but option 'subdir-objects' is disabled
tests/Makefile.am:40: warning: source file 'smscb/smscb_test.c' is in a subdirectory,
tests/Makefile.am:40: but option 'subdir-objects' is disabled
tests/Makefile.am:67: warning: source file 'strrb/strrb_test.c' is in a subdirectory,
tests/Makefile.am:67: but option 'subdir-objects' is disabled
tests/Makefile.am:46: warning: source file 'timer/timer_test.c' is in a subdirectory,
tests/Makefile.am:46: but option 'subdir-objects' is disabled
tests/Makefile.am:49: warning: source file 'ussd/ussd_test.c' is in a subdirectory,
tests/Makefile.am:49: but option 'subdir-objects' is disabled
tests/Makefile.am:70: warning: source file 'vty/vty_test.c' is in a subdirectory,
tests/Makefile.am:70: but option 'subdir-objects' is disabled
MacBook-Pro-Dmitrij:libosmocore dpolpudenko$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-apple-darwin12.5.0
checking host system type... x86_64-apple-darwin12.5.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin12.5.0 file names to x86_64-apple-darwin12.5.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin12.5.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin12.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ANSI C header files... (cached) yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for library containing dlopen... none required
checking for doxygen... false
checking if gcc supports -fvisibility=hidden... yes
checking whether struct tm has tm_gmtoff member... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libosmocore.pc
config.status: creating libosmocodec.pc
config.status: creating libosmovty.pc
config.status: creating libosmogsm.pc
config.status: creating libosmogb.pc
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/vty/Makefile
config.status: creating src/codec/Makefile
config.status: creating src/gsm/Makefile
config.status: creating src/gb/Makefile
config.status: creating tests/Makefile
config.status: creating utils/Makefile
config.status: creating Doxyfile.core
config.status: creating Doxyfile.gsm
config.status: creating Doxyfile.vty
config.status: creating Doxyfile.codec
config.status: creating Makefile
config.status: creating config.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
MacBook-Pro-Dmitrij:libosmocore dpolpudenko$ make
echo 0.6.4.19-3d55 > .version-t && mv .version-t .version
make  all-recursive
Making all in include
  GEN      osmocom/core/crc16gen.h
  GEN      osmocom/core/crc16gen.h
  GEN      osmocom/core/crc32gen.h
  GEN      osmocom/core/crc32gen.h
  GEN      osmocom/core/crc64gen.h
  GEN      osmocom/core/crc64gen.h
  GEN      osmocom/core/crc8gen.h
  GEN      osmocom/core/crc8gen.h
Making all in src
  GEN      crc8gen.c
  GEN      crc16gen.c
  GEN      crc32gen.c
  GEN      crc64gen.c
make  all-am
  CC       timer.lo
timer.c:27:23: warning: tentative definition of variable with internal linkage
      has incomplete non-array type 'struct timeval'
      [-Wtentative-definition-incomplete-type]
static struct timeval nearest;
                      ^
timer.c:27:15: note: forward declaration of 'struct timeval'
static struct timeval nearest;
              ^
1 warning generated.
  CC       select.lo
  CC       signal.lo
  CC       msgb.lo
  CC       bits.lo
  CC       bitvec.lo
  CC       statistics.lo
  CC       write_queue.lo
  CC       utils.lo
utils.c:192:23: error: only weak aliases are supported on darwin
        __attribute__((weak, alias("osmo_hexdump_nospc")));
                             ^
1 error generated.
make[3]: *** [utils.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2