We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I have the following error: `==> Installing tfcollins/formulae/iio-oscilloscope dependency: libad9361-iio ==> cmake .. -DOSX_PACKAGE=OFF ==> make Last 15 lines from /Users/macbookpro/Library/Logs/Homebrew/libad9361-iio/02.make: 1 error generated. 1 error generated. /tmp/libad9361-iio-20230520-59527-17yjxtm/libad9361-iio-0.2/ad9361_fmcomms5_phase_sync.c:484:13: error: call to undeclared library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] snprintf(name, sizeof(name), "altvoltage%d", j); ^ /tmp/libad9361-iio-20230520-59527-17yjxtm/libad9361-iio-0.2/ad9361_fmcomms5_phase_sync.c:484:13: note: include the header <stdio.h> or explicitly provide a declaration for 'snprintf' make[2]: *** [CMakeFiles/ad9361.dir/ad9361_baseband_auto_rate.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... 1 error generated. [ 42%] Building C object CMakeFiles/ad9361.dir/filterdesigner/rtGetNaN.c.o /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -DLIBAD9361_EXPORTS=1 -D_POSIX_C_SOURCE=199309L -Dad9361_EXPORTS -I/tmp/libad9361-iio-20230520-59527-17yjxtm/libad9361-iio-0.2 -I/usr/local/opt/libiio/Frameworks/iio.framework/Headers -fvisibility=hidden -O3 -DNDEBUG -std=c99 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -fPIC -F/usr/local/opt/libiio/Frameworks -MD -MT CMakeFiles/ad9361.dir/filterdesigner/rtGetNaN.c.o -MF CMakeFiles/ad9361.dir/filterdesigner/rtGetNaN.c.o.d -o CMakeFiles/ad9361.dir/filterdesigner/rtGetNaN.c.o -c /tmp/libad9361-iio-20230520-59527-17yjxtm/libad9361-iio-0.2/filterdesigner/rtGetNaN.c make[2]: *** [CMakeFiles/ad9361.dir/ad9361_design_taps.c.o] Error 1 make[2]: *** [CMakeFiles/ad9361.dir/ad9361_fmcomms5_phase_sync.c.o] Error 1 make[1]: *** [CMakeFiles/ad9361.dir/all] Error 2 make: *** [all] Error 2
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core): https://github.com/tfcollins/homebrew-formulae/issues`
The text was updated successfully, but these errors were encountered:
I am getting this as well. I might explore just trying to do what the compiler wants and seeing if it works.
Sorry, something went wrong.
I received the same error on Sonoma. Has there been any updates to the above issue? Thanks!
Getting a similar issue on Sonoma - make install fails with similar issues. any update on this? thanks
No branches or pull requests
Hello,
I have the following error:
`==> Installing tfcollins/formulae/iio-oscilloscope dependency: libad9361-iio
==> cmake .. -DOSX_PACKAGE=OFF
==> make
Last 15 lines from /Users/macbookpro/Library/Logs/Homebrew/libad9361-iio/02.make:
1 error generated.
1 error generated.
/tmp/libad9361-iio-20230520-59527-17yjxtm/libad9361-iio-0.2/ad9361_fmcomms5_phase_sync.c:484:13: error: call to undeclared library function 'snprintf' with type 'int (char *, unsigned long, const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
snprintf(name, sizeof(name), "altvoltage%d", j);
^
/tmp/libad9361-iio-20230520-59527-17yjxtm/libad9361-iio-0.2/ad9361_fmcomms5_phase_sync.c:484:13: note: include the header <stdio.h> or explicitly provide a declaration for 'snprintf'
make[2]: *** [CMakeFiles/ad9361.dir/ad9361_baseband_auto_rate.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
1 error generated.
[ 42%] Building C object CMakeFiles/ad9361.dir/filterdesigner/rtGetNaN.c.o
/usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -DLIBAD9361_EXPORTS=1 -D_POSIX_C_SOURCE=199309L -Dad9361_EXPORTS -I/tmp/libad9361-iio-20230520-59527-17yjxtm/libad9361-iio-0.2 -I/usr/local/opt/libiio/Frameworks/iio.framework/Headers -fvisibility=hidden -O3 -DNDEBUG -std=c99 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -fPIC -F/usr/local/opt/libiio/Frameworks -MD -MT CMakeFiles/ad9361.dir/filterdesigner/rtGetNaN.c.o -MF CMakeFiles/ad9361.dir/filterdesigner/rtGetNaN.c.o.d -o CMakeFiles/ad9361.dir/filterdesigner/rtGetNaN.c.o -c /tmp/libad9361-iio-20230520-59527-17yjxtm/libad9361-iio-0.2/filterdesigner/rtGetNaN.c
make[2]: *** [CMakeFiles/ad9361.dir/ad9361_design_taps.c.o] Error 1
make[2]: *** [CMakeFiles/ad9361.dir/ad9361_fmcomms5_phase_sync.c.o] Error 1
make[1]: *** [CMakeFiles/ad9361.dir/all] Error 2
make: *** [all] Error 2
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/tfcollins/homebrew-formulae/issues`
The text was updated successfully, but these errors were encountered: