Environment: Centos 6.8 x64, gcc 4.4.7 20120313 (Red Hat 4.4.7-17), libstdc++-devel-4.4.7-17.
checking for Brotli library
In file included from objs/autotest.c:4:
/usr/local/include/brotli/enc/encode.h:12:18: error: string: No such file or directory
/usr/local/include/brotli/enc/encode.h:13:18: error: vector: No such file or directory
In file included from /usr/local/include/brotli/enc/./command.h:12,
from /usr/local/include/brotli/enc/encode.h:14,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././fast_log.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/./command.h:13,
from /usr/local/include/brotli/enc/encode.h:14,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././prefix.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:14,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./command.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./hash.h:14:21: error: algorithm: No such file or directory
/usr/local/include/brotli/enc/./hash.h:15:19: error: cstring: No such file or directory
/usr/local/include/brotli/enc/./hash.h:16:18: error: limits: No such file or directory
In file included from /usr/local/include/brotli/enc/./hash.h:18,
from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././dictionary_hash.h:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/./hash.h:20,
from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././find_match_length.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/./hash.h:23,
from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././static_dict.h:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/./hash.h:24,
from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././transform.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./hash.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:16,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./ringbuffer.h:12:40: error: cstdlib: No such file or directory
In file included from /usr/local/include/brotli/enc/encode.h:16,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./ringbuffer.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:18,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./streams.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from objs/autotest.c:4:
/usr/local/include/brotli/enc/encode.h:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
----------
#include <sys/types.h>
#include <unistd.h>
#include <brotli/enc/encode.h>
int main(void) {
BrotliEncoderCreateInstance(NULL, NULL, NULL);
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o objs/autotest objs/autotest.c -ljemalloc -lrt -lbrotlienc
----------
----------------------------------------
checking for Brotli library in /usr/local/
In file included from objs/autotest.c:4:
/usr/local/include/brotli/enc/encode.h:12:18: error: string: No such file or directory
/usr/local/include/brotli/enc/encode.h:13:18: error: vector: No such file or directory
In file included from /usr/local/include/brotli/enc/./command.h:12,
from /usr/local/include/brotli/enc/encode.h:14,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././fast_log.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/./command.h:13,
from /usr/local/include/brotli/enc/encode.h:14,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././prefix.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:14,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./command.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./hash.h:14:21: error: algorithm: No such file or directory
/usr/local/include/brotli/enc/./hash.h:15:19: error: cstring: No such file or directory
/usr/local/include/brotli/enc/./hash.h:16:18: error: limits: No such file or directory
In file included from /usr/local/include/brotli/enc/./hash.h:18,
from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././dictionary_hash.h:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/./hash.h:20,
from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././find_match_length.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/./hash.h:23,
from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././static_dict.h:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/./hash.h:24,
from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././transform.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./hash.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:16,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./ringbuffer.h:12:40: error: cstdlib: No such file or directory
In file included from /usr/local/include/brotli/enc/encode.h:16,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./ringbuffer.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:18,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./streams.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from objs/autotest.c:4:
/usr/local/include/brotli/enc/encode.h:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
----------
#include <sys/types.h>
#include <unistd.h>
#include <brotli/enc/encode.h>
int main(void) {
BrotliEncoderCreateInstance(NULL, NULL, NULL);
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I /usr/local/include -o objs/autotest objs/autotest.c -ljemalloc -lrt
-L/usr/local/lib -lbrotlienc
----------
----------------------------------------
checking for Brotli library in /usr/pkg/
In file included from objs/autotest.c:4:
/usr/local/include/brotli/enc/encode.h:12:18: error: string: No such file or directory
/usr/local/include/brotli/enc/encode.h:13:18: error: vector: No such file or directory
In file included from /usr/local/include/brotli/enc/./command.h:12,
from /usr/local/include/brotli/enc/encode.h:14,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././fast_log.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/./command.h:13,
from /usr/local/include/brotli/enc/encode.h:14,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././prefix.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:14,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./command.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./hash.h:14:21: error: algorithm: No such file or directory
/usr/local/include/brotli/enc/./hash.h:15:19: error: cstring: No such file or directory
/usr/local/include/brotli/enc/./hash.h:16:18: error: limits: No such file or directory
In file included from /usr/local/include/brotli/enc/./hash.h:18,
from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././dictionary_hash.h:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/./hash.h:20,
from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././find_match_length.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/./hash.h:23,
from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././static_dict.h:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/./hash.h:24,
from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././transform.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./hash.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:16,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./ringbuffer.h:12:40: error: cstdlib: No such file or directory
In file included from /usr/local/include/brotli/enc/encode.h:16,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./ringbuffer.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:18,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./streams.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from objs/autotest.c:4:
/usr/local/include/brotli/enc/encode.h:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
----------
#include <sys/types.h>
#include <unistd.h>
#include <brotli/enc/encode.h>
int main(void) {
BrotliEncoderCreateInstance(NULL, NULL, NULL);
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I /usr/pkg/include -o objs/autotest objs/autotest.c -ljemalloc -lrt -
L/usr/pkg/lib -lbrotlienc
----------
----------------------------------------
checking for Brotli library in /opt/local/
In file included from objs/autotest.c:4:
/usr/local/include/brotli/enc/encode.h:12:18: error: string: No such file or directory
/usr/local/include/brotli/enc/encode.h:13:18: error: vector: No such file or directory
In file included from /usr/local/include/brotli/enc/./command.h:12,
from /usr/local/include/brotli/enc/encode.h:14,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././fast_log.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/./command.h:13,
from /usr/local/include/brotli/enc/encode.h:14,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././prefix.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:14,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./command.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./hash.h:14:21: error: algorithm: No such file or directory
/usr/local/include/brotli/enc/./hash.h:15:19: error: cstring: No such file or directory
/usr/local/include/brotli/enc/./hash.h:16:18: error: limits: No such file or directory
In file included from /usr/local/include/brotli/enc/./hash.h:18,
from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././dictionary_hash.h:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/./hash.h:20,
from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././find_match_length.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/./hash.h:23,
from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././static_dict.h:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/./hash.h:24,
from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/././transform.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:15,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./hash.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:16,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./ringbuffer.h:12:40: error: cstdlib: No such file or directory
In file included from /usr/local/include/brotli/enc/encode.h:16,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./ringbuffer.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from /usr/local/include/brotli/enc/encode.h:18,
from objs/autotest.c:4:
/usr/local/include/brotli/enc/./streams.h:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
In file included from objs/autotest.c:4:
/usr/local/include/brotli/enc/encode.h:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'brotli'
----------
#include <sys/types.h>
#include <unistd.h>
#include <brotli/enc/encode.h>
int main(void) {
BrotliEncoderCreateInstance(NULL, NULL, NULL);
return 0;
}
----------
cc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I /opt/local/include -o objs/autotest objs/autotest.c -ljemalloc -lrt
-L/opt/local/lib -lbrotlienc
----------
Thank you.