I was trying to compile on Linux (x86_64) and I got stuck. First off, you might want to mention that this requires clang; it's pretty obvious after trying to run make the first time but still.
Second, I fixed a few errors by adding #included <stdint.h> to base/types.h, although I don't really understand why because the error was about intptr_t which was already defined in base/types.h.
Then I'm getting some more errors:
clang -c -std=c99 -Wall -Wundef -Wpointer-arith -Wuninitialized -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wunused -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wno-unused -Wno-long-long -W -Wshadow -Iinclude -MMD -Os -DNDEBUG libraries/datastruct/queue/test/test.c -o libraries/datastruct/queue/test/test.o
libraries/datastruct/queue/test/test.c:181:7: warning: no previous prototype for
function 'queuetest' [-Wmissing-prototypes]
error queuetest(void)
^
1 warning generated.
ar rc libcontainertest.a libraries/datastruct/queue/test/test.o
clang -o container-test libcontainertest.a libcontainer.a
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 0 has invalid symbol index 10
/usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 1 has invalid symbol index 11
[...]
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'