Skip to content

Instantly share code, notes, and snippets.

@netmilk
Created October 25, 2013 09:46
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 netmilk/7152231 to your computer and use it in GitHub Desktop.
Save netmilk/7152231 to your computer and use it in GitHub Desktop.
kolotoc:~ netmilk$ git clone git://github.com/apiaryio/snowcrash.git
Cloning into 'snowcrash'...
remote: Counting objects: 2090, done.
remote: Compressing objects: 100% (702/702), done.
remote: Total 2090 (delta 1434), reused 1965 (delta 1311)
Receiving objects: 100% (2090/2090), 951.94 KiB | 700.00 KiB/s, done.
Resolving deltas: 100% (1434/1434), done.
Checking connectivity... done
kolotoc:~ netmilk$ cd snowcrash
kolotoc:snowcrash netmilk$ git submodule update --init --recursive
Submodule 'cmdline' (https://github.com/apiaryio/cmdline.git) registered for path 'cmdline'
Submodule 'sundown' (https://github.com/apiaryio/sundown.git) registered for path 'sundown'
Submodule 'test/vendor/Catch' (https://github.com/philsquared/Catch.git) registered for path 'test/vendor/Catch'
Cloning into 'cmdline'...
remote: Counting objects: 92, done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 92 (delta 39), reused 70 (delta 28)
Unpacking objects: 100% (92/92), done.
Checking connectivity... done
Submodule path 'cmdline': checked out '5600583b5e1d5c6e93fc3964dd4a097565f68403'
Cloning into 'sundown'...
remote: Counting objects: 1068, done.
remote: Compressing objects: 100% (596/596), done.
remote: Total 1068 (delta 612), reused 895 (delta 462)
Receiving objects: 100% (1068/1068), 266.45 KiB | 0 bytes/s, done.
Resolving deltas: 100% (612/612), done.
Checking connectivity... done
Submodule path 'sundown': checked out '65e707c45cea7c8bd429caf38b1ad9a75ff9966e'
Cloning into 'test/vendor/Catch'...
remote: Counting objects: 7367, done.
remote: Compressing objects: 100% (3666/3666), done.
remote: Total 7367 (delta 3634), reused 7031 (delta 3332)
Receiving objects: 100% (7367/7367), 2.79 MiB | 1.23 MiB/s, done.
Resolving deltas: 100% (3634/3634), done.
Checking connectivity... done
Submodule path 'test/vendor/Catch': checked out 'f3d1f08c3b563c17d5d102c3e8ce46e7081c4fe9'
kolotoc:snowcrash netmilk$ ./configure
creating ./config.gypi
creating ./config.mk
creating makefiles
All OK.
kolotoc:snowcrash netmilk$ make test
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./build V=1 test-snowcrash
c++ '-D_DARWIN_USE_64_BIT_INODE=1' -I../src -I../sundown/src -I../sundown/src/html -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF out/Release/.deps/out/Release/obj.target/libsnowcrash/src/HTTP.o.d.raw -c -o out/Release/obj.target/libsnowcrash/src/HTTP.o ../src/HTTP.cc
c++ '-D_DARWIN_USE_64_BIT_INODE=1' -I../src -I../sundown/src -I../sundown/src/html -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF out/Release/.deps/out/Release/obj.target/libsnowcrash/src/MarkdownBlock.o.d.raw -c -o out/Release/obj.target/libsnowcrash/src/MarkdownBlock.o ../src/MarkdownBlock.cc
c++ '-D_DARWIN_USE_64_BIT_INODE=1' -I../src -I../sundown/src -I../sundown/src/html -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF out/Release/.deps/out/Release/obj.target/libsnowcrash/src/MarkdownParser.o.d.raw -c -o out/Release/obj.target/libsnowcrash/src/MarkdownParser.o ../src/MarkdownParser.cc
c++ '-D_DARWIN_USE_64_BIT_INODE=1' -I../src -I../sundown/src -I../sundown/src/html -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF out/Release/.deps/out/Release/obj.target/libsnowcrash/src/Parser.o.d.raw -c -o out/Release/obj.target/libsnowcrash/src/Parser.o ../src/Parser.cc
c++ '-D_DARWIN_USE_64_BIT_INODE=1' -I../src -I../sundown/src -I../sundown/src/html -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF out/Release/.deps/out/Release/obj.target/libsnowcrash/src/ParserCore.o.d.raw -c -o out/Release/obj.target/libsnowcrash/src/ParserCore.o ../src/ParserCore.cc
c++ '-D_DARWIN_USE_64_BIT_INODE=1' -I../src -I../sundown/src -I../sundown/src/html -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF out/Release/.deps/out/Release/obj.target/libsnowcrash/src/Serialize.o.d.raw -c -o out/Release/obj.target/libsnowcrash/src/Serialize.o ../src/Serialize.cc
c++ '-D_DARWIN_USE_64_BIT_INODE=1' -I../src -I../sundown/src -I../sundown/src/html -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF out/Release/.deps/out/Release/obj.target/libsnowcrash/src/SerializeJSON.o.d.raw -c -o out/Release/obj.target/libsnowcrash/src/SerializeJSON.o ../src/SerializeJSON.cc
c++ '-D_DARWIN_USE_64_BIT_INODE=1' -I../src -I../sundown/src -I../sundown/src/html -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF out/Release/.deps/out/Release/obj.target/libsnowcrash/src/SerializeYAML.o.d.raw -c -o out/Release/obj.target/libsnowcrash/src/SerializeYAML.o ../src/SerializeYAML.cc
c++ '-D_DARWIN_USE_64_BIT_INODE=1' -I../src -I../sundown/src -I../sundown/src/html -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF out/Release/.deps/out/Release/obj.target/libsnowcrash/src/snowcrash.o.d.raw -c -o out/Release/obj.target/libsnowcrash/src/snowcrash.o ../src/snowcrash.cc
c++ '-D_DARWIN_USE_64_BIT_INODE=1' -I../src -I../sundown/src -I../sundown/src/html -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF out/Release/.deps/out/Release/obj.target/libsnowcrash/src/posix/RegexMatch.o.d.raw -c -o out/Release/obj.target/libsnowcrash/src/posix/RegexMatch.o ../src/posix/RegexMatch.cc
rm -f out/Release/libsnowcrash.a && ./gyp-mac-tool filter-libtool libtool -static -o out/Release/libsnowcrash.a out/Release/obj.target/libsnowcrash/src/HTTP.o out/Release/obj.target/libsnowcrash/src/MarkdownBlock.o out/Release/obj.target/libsnowcrash/src/MarkdownParser.o out/Release/obj.target/libsnowcrash/src/Parser.o out/Release/obj.target/libsnowcrash/src/ParserCore.o out/Release/obj.target/libsnowcrash/src/Serialize.o out/Release/obj.target/libsnowcrash/src/SerializeJSON.o out/Release/obj.target/libsnowcrash/src/SerializeYAML.o out/Release/obj.target/libsnowcrash/src/snowcrash.o out/Release/obj.target/libsnowcrash/src/posix/RegexMatch.o
gcc-4.2 '-D_DARWIN_USE_64_BIT_INODE=1' -I../sundown/src -I../sundown/html -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-strict-aliasing -MMD -MF out/Release/.deps/out/Release/obj.target/sundown/sundown/src/autolink.o.d.raw -c -o out/Release/obj.target/sundown/sundown/src/autolink.o ../sundown/src/autolink.c
In file included from ../sundown/src/autolink.c:17:
../sundown/src/buffer.h:23:20: warning: stdint.h: No such file or directory
In file included from ../sundown/src/autolink.c:17:
../sundown/src/buffer.h:41: error: expected specifier-qualifier-list before ‘uint8_t’
In file included from ../sundown/src/autolink.c:18:
../sundown/src/autolink.h:31: warning: type defaults to ‘int’ in declaration of ‘uint8_t’
../sundown/src/autolink.h:31: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../sundown/src/autolink.h:35: error: expected declaration specifiers or ‘...’ before ‘uint8_t’
../sundown/src/autolink.h:39: error: expected declaration specifiers or ‘...’ before ‘uint8_t’
../sundown/src/autolink.h:43: error: expected declaration specifiers or ‘...’ before ‘uint8_t’
../sundown/src/autolink.c:20:20: warning: string.h: No such file or directory
../sundown/src/autolink.c:21:20: warning: stdlib.h: No such file or directory
../sundown/src/autolink.c:22:19: warning: stdio.h: No such file or directory
../sundown/src/autolink.c:23:19: warning: ctype.h: No such file or directory
../sundown/src/autolink.c:30: warning: type defaults to ‘int’ in declaration of ‘uint8_t’
../sundown/src/autolink.c:30: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
../sundown/src/autolink.c:52: error: expected ‘)’ before ‘*’ token
../sundown/src/autolink.c:136: error: expected ‘)’ before ‘*’ token
../sundown/src/autolink.c:165: error: expected declaration specifiers or ‘...’ before ‘uint8_t’
../sundown/src/autolink.c: In function ‘sd_autolink__www’:
../sundown/src/autolink.c:172: warning: implicit declaration of function ‘ispunct’
../sundown/src/autolink.c:172: error: ‘data’ undeclared (first use in this function)
../sundown/src/autolink.c:172: error: (Each undeclared identifier is reported only once
../sundown/src/autolink.c:172: error: for each function it appears in.)
../sundown/src/autolink.c:172: warning: implicit declaration of function ‘isspace’
../sundown/src/autolink.c:175: warning: implicit declaration of function ‘memcmp’
../sundown/src/autolink.c:175: warning: implicit declaration of function ‘strlen’
../sundown/src/autolink.c:175: warning: incompatible implicit declaration of built-in function ‘strlen’
../sundown/src/autolink.c:178: warning: implicit declaration of function ‘check_domain’
../sundown/src/autolink.c:186: warning: implicit declaration of function ‘autolink_delim’
../sundown/src/autolink.c: At top level:
../sundown/src/autolink.c:201: error: expected declaration specifiers or ‘...’ before ‘uint8_t’
../sundown/src/autolink.c: In function ‘sd_autolink__email’:
../sundown/src/autolink.c:210: error: ‘uint8_t’ undeclared (first use in this function)
../sundown/src/autolink.c:210: error: expected ‘;’ before ‘c’
../sundown/src/autolink.c:212: warning: implicit declaration of function ‘isalnum’
../sundown/src/autolink.c:212: error: ‘c’ undeclared (first use in this function)
../sundown/src/autolink.c:215: warning: implicit declaration of function ‘strchr’
../sundown/src/autolink.c:215: warning: incompatible implicit declaration of built-in function ‘strchr’
../sundown/src/autolink.c:225: error: expected ‘;’ before ‘c’
../sundown/src/autolink.c:239: warning: implicit declaration of function ‘isalpha’
../sundown/src/autolink.c:239: error: ‘data’ undeclared (first use in this function)
../sundown/src/autolink.c: At top level:
../sundown/src/autolink.c:257: error: expected declaration specifiers or ‘...’ before ‘uint8_t’
../sundown/src/autolink.c: In function ‘sd_autolink__url’:
../sundown/src/autolink.c:264: error: ‘data’ undeclared (first use in this function)
../sundown/src/autolink.c:270: warning: implicit declaration of function ‘sd_autolink_issafe’
../sundown/src/autolink.c:273: warning: incompatible implicit declaration of built-in function ‘strlen’
make[1]: *** [out/Release/obj.target/sundown/sundown/src/autolink.o] Error 1
make: *** [test-snowcrash] Error 2
kolotoc:snowcrash netmilk$
@netmilk
Copy link
Author

netmilk commented Oct 25, 2013

Refered here: apiaryio/snowcrash#54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment