Skip to content

Instantly share code, notes, and snippets.

@orospakr
Created March 6, 2013 22:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orospakr/5103760 to your computer and use it in GitHub Desktop.
Save orospakr/5103760 to your computer and use it in GitHub Desktop.
[~/code/others/libdispatch]$ ./configure [master]
checking whether to enable maintainer-specific portions of Makefiles... no
checking for clang... clang
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 clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking for clang++... clang++
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking for clang... clang
checking whether we are using the GNU Objective C compiler... yes
checking whether clang accepts -g... yes
checking for System.framework/PrivateHeaders... no
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
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... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fPIC -DPIC
checking if clang PIC flag -fPIC -DPIC works... yes
checking if clang static flag -static works... yes
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
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... no
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the clang++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for clang++ option to produce PIC... -fPIC -DPIC
checking if clang++ PIC flag -fPIC -DPIC works... yes
checking if clang++ static flag -static works... yes
checking if clang++ supports -c -o file.o... yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for mig... no
checking for leaks... no
checking for gcc atomic builtins... yes
checking for library containing clock_gettime... none required
checking for library containing pthread_create... -lpthread
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking for KQUEUE... yes
checking for ANSI C header files... (cached) yes
checking TargetConditionals.h usability... no
checking TargetConditionals.h presence... no
checking for TargetConditionals.h... no
checking pthread_np.h usability... no
checking pthread_np.h presence... no
checking for pthread_np.h... no
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking libkern/OSCrossEndian.h usability... no
checking libkern/OSCrossEndian.h presence... no
checking for libkern/OSCrossEndian.h... no
checking libkern/OSAtomic.h usability... no
checking libkern/OSAtomic.h presence... no
checking for libkern/OSAtomic.h... no
checking pthread_machdep.h usability... no
checking pthread_machdep.h presence... no
checking for pthread_machdep.h... no
checking CoreFoundation/CoreFoundation.h usability... no
checking CoreFoundation/CoreFoundation.h presence... no
checking for CoreFoundation/CoreFoundation.h... no
checking how to run the Objective C preprocessor... clang -E
checking Foundation/Foundation.h usability... no
checking Foundation/Foundation.h presence... no
checking for Foundation/Foundation.h... no
checking for objc/objc-internal.h... no
checking mach/mach.h usability... no
checking mach/mach.h presence... no
checking for mach/mach.h... no
checking pthread_workqueue.h usability... no
checking pthread_workqueue.h presence... no
checking for pthread_workqueue.h... no
checking for pthread_workqueue_setdispatch_np... no
checking whether CLOCK_UPTIME is declared... no
checking whether CLOCK_MONOTONIC is declared... yes
checking whether NOTE_NONE is declared... no
checking whether NOTE_REAP is declared... no
checking whether NOTE_SIGNAL is declared... no
checking whether FD_COPY is declared... no
checking whether SIGEMT is declared... no
checking whether VQ_UPDATE is declared... no
checking whether VQ_VERYLOWDISK is declared... no
checking whether program_invocation_short_name is declared... yes
checking for pthread_key_init_np... no
checking for pthread_main_np... no
checking for mach_absolute_time... no
checking for malloc_create_zone... no
checking for sysconf... yes
checking for getprogname... no
checking whether POSIX_SPAWN_START_SUSPENDED is declared... no
checking for sem_init... yes
checking what semaphore type to use... POSIX semaphores
checking for sys/cdefs.h... yes
checking for C Blocks support... -fblocks
checking whether additional libraries are required for the Blocks runtime... -lBlocksRuntime
checking for C++ Blocks support... -fblocks
checking whether additional libraries are required for the Blocks runtime... no
checking for -fvisibility=hidden... yes
checking for -momit-leaf-frame-pointer... yes
checking for darwin linker... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating dispatch/Makefile
config.status: creating man/Makefile
config.status: creating os/Makefile
config.status: creating private/Makefile
config.status: creating src/Makefile
config.status: creating testing/Makefile
config.status: creating config/config.h
config.status: linking private to testing/dispatch
config.status: linking testing/bench.mm to testing/bench.cc
config.status: linking testing/leaks-wrapper.sh to testing/leaks-wrapper
config.status: executing libtool commands
[~/code/others/libdispatch]$ make *[master]
Making all in dispatch
make[1]: Entering directory `/home/orospakr/code/others/libdispatch/dispatch'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/orospakr/code/others/libdispatch/dispatch'
Making all in man
make[1]: Entering directory `/home/orospakr/code/others/libdispatch/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/orospakr/code/others/libdispatch/man'
Making all in os
make[1]: Entering directory `/home/orospakr/code/others/libdispatch/os'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/orospakr/code/others/libdispatch/os'
Making all in private
make[1]: Entering directory `/home/orospakr/code/others/libdispatch/private'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/orospakr/code/others/libdispatch/private'
Making all in src
make[1]: Entering directory `/home/orospakr/code/others/libdispatch/src'
make all-am
make[2]: Entering directory `/home/orospakr/code/others/libdispatch/src'
/bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -I../private -I../os -Wall -fvisibility=hidden -momit-leaf-frame-pointer -fblocks -I/usr/include/kqueue -g -O2 -c -o apply.lo apply.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I../config -I.. -I.. -I../private -I../os -Wall -fvisibility=hidden -momit-leaf-frame-pointer -fblocks -I/usr/include/kqueue -g -O2 -c apply.c -fPIC -DPIC -o .libs/apply.o
In file included from apply.c:21:
In file included from ./internal.h:59:
In file included from ../dispatch/dispatch.h:33:
/usr/include/unistd.h:1147:35: error: __block attribute not allowed, only allowed on local variables
extern void encrypt (char *__block, int __edflag) __THROW __nonnull ((1));
^
In file included from apply.c:21:
./internal.h:209:49: error: unknown type name 'mach_msg_return_t'
void _dispatch_bug_mach_client(const char *msg, mach_msg_return_t kr);
^
2 errors generated.
make[2]: *** [apply.lo] Error 1
make[2]: Leaving directory `/home/orospakr/code/others/libdispatch/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/orospakr/code/others/libdispatch/src'
make: *** [all-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment