-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make error for zstd - libiio #1165
Comments
Can you provide more detail on your Linux distribution, commit used, and cmake arguments used? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Running make i get following error in iiod-client.c, although zstd is installed in /usr/lib/zstd (output of which zstd). I have also copied zstd.h in the libiio folder
I have used following commands
sudo apt-get install zstd
sudo apt install libzstd-de
output of make
iiod-client.c:975:14: error: ‘ZSTD_CONTENTSIZE_UNKNOWN’ undeclared (first use in this function)
if (len == ZSTD_CONTENTSIZE_UNKNOWN ||
^
/home/masood/Downloads/libiio/iiod-client.c:975:14: note: each undeclared identifier is reported only once for each function it appears in
/home/masood/Downloads/libiio/iiod-client.c:976:14: error: ‘ZSTD_CONTENTSIZE_ERROR’ undeclared (first use in this function)
len == ZSTD_CONTENTSIZE_ERROR) {
^
/home/masood/Downloads/libiio/iiod-client.c: In function ‘iiod_client_create_context_private’:
/home/masood/Downloads/libiio/iiod-client.c:1084:14: error: ‘ZSTD_CONTENTSIZE_UNKNOWN’ undeclared (first use in this function)
if (len == ZSTD_CONTENTSIZE_UNKNOWN ||
^
/home/masood/Downloads/libiio/iiod-client.c:1085:14: error: ‘ZSTD_CONTENTSIZE_ERROR’ undeclared (first use in this function)
len == ZSTD_CONTENTSIZE_ERROR) {
Any suggestions
The text was updated successfully, but these errors were encountered: