Stiffstream / restinio

Cross-platform, efficient, customizable, and robust asynchronous HTTP(S)/WebSocket server C++ library with the right balance between performance and ease of use
Other
1.15k stars 93 forks source link

Undefined references when compiling test.http_field_parser in debug mode #120

Closed eao197 closed 4 years ago

eao197 commented 4 years ago

An example of errors from the linker:

dev/test/http_field_parser/transfer-encoding.cpp:36: undefined reference to `restinio::http_field_parsers::transfer_encoding_value_t::compress'
dev/test/http_field_parser/transfer-encoding.cpp:49: undefined reference to `restinio::http_field_parsers::transfer_encoding_value_t::compress'
dev/test/http_field_parser/transfer-encoding.cpp:62: undefined reference to `restinio::http_field_parsers::transfer_encoding_value_t::gzip'
dev/test/http_field_parser/transfer-encoding.cpp:118: undefined reference to `restinio::http_field_parsers::transfer_encoding_value_t::gzip'
dev/test/http_field_parser/transfer-encoding.cpp:118: undefined reference to `restinio::http_field_parsers::transfer_encoding_value_t::deflate'
dev/test/http_field_parser/transfer-encoding.cpp:147: undefined reference to `restinio::http_field_parsers::transfer_encoding_value_t::gzip'
dev/test/http_field_parser/transfer-encoding.cpp:147: undefined reference to `restinio::http_field_parsers::transfer_encoding_value_t::chunked'