Skip to content
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

rotspeak fails to build #3

Closed
spectromas opened this issue Dec 2, 2016 · 2 comments
Closed

rotspeak fails to build #3

spectromas opened this issue Dec 2, 2016 · 2 comments

Comments

@spectromas
Copy link

make
make -C autopan
make[1]: Entering directory '/home/alex/.git_repos/tap-lv2/autopan'
cc tap_autopan.c -O3 -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce -Wall -Werror -fPIC -DPIC -I../utils -mtune=generic -msse -msse2 -mfpmath=sse -shared -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--strip-all -lm -lrt -o tap_autopan.so
make[1]: Leaving directory '/home/alex/.git_repos/tap-lv2/autopan'
make -C chorusflanger
make[1]: Entering directory '/home/alex/.git_repos/tap-lv2/chorusflanger'
cc tap_chorusflanger.c -O3 -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce -Wall -Werror -fPIC -DPIC -I../utils -mtune=generic -msse -msse2 -mfpmath=sse -shared -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--strip-all -lm -lrt -o tap_chorusflanger.so
make[1]: Leaving directory '/home/alex/.git_repos/tap-lv2/chorusflanger'
make -C deesser
make[1]: Entering directory '/home/alex/.git_repos/tap-lv2/deesser'
cc tap_deesser.c -O3 -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce -Wall -Werror -fPIC -DPIC -I../utils -mtune=generic -msse -msse2 -mfpmath=sse -shared -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--strip-all -lm -lrt -o tap_deesser.so
make[1]: Leaving directory '/home/alex/.git_repos/tap-lv2/deesser'
make -C doubler
make[1]: Entering directory '/home/alex/.git_repos/tap-lv2/doubler'
cc tap_doubler.c -O3 -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce -Wall -Werror -fPIC -DPIC -I../utils -mtune=generic -msse -msse2 -mfpmath=sse -shared -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--strip-all -lm -lrt -o tap_doubler.so
make[1]: Leaving directory '/home/alex/.git_repos/tap-lv2/doubler'
make -C dynamics
make[1]: Entering directory '/home/alex/.git_repos/tap-lv2/dynamics'
cc tap_dynamics.c -O3 -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce -Wall -Werror -fPIC -DPIC -I../utils -mtune=generic -msse -msse2 -mfpmath=sse -shared -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--strip-all -lm -lrt -o tap_dynamics.so
make[1]: Leaving directory '/home/alex/.git_repos/tap-lv2/dynamics'
make -C dynamics-st
make[1]: Entering directory '/home/alex/.git_repos/tap-lv2/dynamics-st'
cc tap_dynamics.c -O3 -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce -Wall -Werror -fPIC -DPIC -I../utils -mtune=generic -msse -msse2 -mfpmath=sse -shared -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--strip-all -lm -lrt -o tap_dynamics-st.so
make[1]: Leaving directory '/home/alex/.git_repos/tap-lv2/dynamics-st'
make -C echo
make[1]: Entering directory '/home/alex/.git_repos/tap-lv2/echo'
cc tap_echo.c -O3 -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce -Wall -Werror -fPIC -DPIC -I../utils -mtune=generic -msse -msse2 -mfpmath=sse -shared -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--strip-all -lm -lrt -o tap_echo.so
make[1]: Leaving directory '/home/alex/.git_repos/tap-lv2/echo'
make -C eq
make[1]: Entering directory '/home/alex/.git_repos/tap-lv2/eq'
cc tap_eq.c -O3 -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce -Wall -Werror -fPIC -DPIC -I../utils -mtune=generic -msse -msse2 -mfpmath=sse -shared -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--strip-all -lm -lrt -o tap_eq.so
make[1]: Leaving directory '/home/alex/.git_repos/tap-lv2/eq'
make -C eqbw
make[1]: Entering directory '/home/alex/.git_repos/tap-lv2/eqbw'
cc tap_eqbw.c -O3 -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce -Wall -Werror -fPIC -DPIC -I../utils -mtune=generic -msse -msse2 -mfpmath=sse -shared -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--strip-all -lm -lrt -o tap_eqbw.so
make[1]: Leaving directory '/home/alex/.git_repos/tap-lv2/eqbw'
make -C limiter
make[1]: Entering directory '/home/alex/.git_repos/tap-lv2/limiter'
cc tap_limiter.c -O3 -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce -Wall -Werror -fPIC -DPIC -I../utils -mtune=generic -msse -msse2 -mfpmath=sse -shared -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--strip-all -lm -lrt -o tap_limiter.so
make[1]: Leaving directory '/home/alex/.git_repos/tap-lv2/limiter'
make -C pinknoise
make[1]: Entering directory '/home/alex/.git_repos/tap-lv2/pinknoise'
cc tap_pinknoise.c -O3 -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce -Wall -Werror -fPIC -DPIC -I../utils -mtune=generic -msse -msse2 -mfpmath=sse -shared -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--strip-all -lm -lrt -o tap_pinknoise.so
make[1]: Leaving directory '/home/alex/.git_repos/tap-lv2/pinknoise'
make -C pitch
make[1]: Entering directory '/home/alex/.git_repos/tap-lv2/pitch'
cc tap_pitch.c -O3 -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce -Wall -Werror -fPIC -DPIC -I../utils -mtune=generic -msse -msse2 -mfpmath=sse -shared -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--strip-all -lm -lrt -o tap_pitch.so
make[1]: Leaving directory '/home/alex/.git_repos/tap-lv2/pitch'
make -C reflector
make[1]: Entering directory '/home/alex/.git_repos/tap-lv2/reflector'
cc tap_reflector.c -O3 -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce -Wall -Werror -fPIC -DPIC -I../utils -mtune=generic -msse -msse2 -mfpmath=sse -shared -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--strip-all -lm -lrt -o tap_reflector.so
make[1]: Leaving directory '/home/alex/.git_repos/tap-lv2/reflector'
make -C reverb
make[1]: Entering directory '/home/alex/.git_repos/tap-lv2/reverb'
cc tap_reverb.c -O3 -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce -Wall -Werror -fPIC -DPIC -I../utils -mtune=generic -msse -msse2 -mfpmath=sse -shared -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--strip-all -lm -lrt -o tap_reverb.so
make[1]: Leaving directory '/home/alex/.git_repos/tap-lv2/reverb'
make -C rotspeak
make[1]: Entering directory '/home/alex/.git_repos/tap-lv2/rotspeak'
cc tap_rotspeak.c -O3 -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce -Wall -Werror -fPIC -DPIC -I../utils -mtune=generic -msse -msse2 -mfpmath=sse -shared -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--strip-all -lm -lrt -o tap_rotspeak.so
tap_rotspeak.c: In function ‘run_RotSpkr’:
tap_rotspeak.c:396:5: error: this ‘while’ clause does not guard... [-Werror=misleading-indentation]
     while (ptr->phase_h >= 1024.0f)
     ^~~~~
tap_rotspeak.c:398:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘while’
         ptr->phase_b += 1024.0f * freq_b * sample_index / ptr->sample_rate;
         ^~~
tap_rotspeak.c: In function ‘run_adding_RotSpkr’:
tap_rotspeak.c:552:5: error: this ‘while’ clause does not guard... [-Werror=misleading-indentation]
     while (ptr->phase_h >= 1024.0f)
     ^~~~~
tap_rotspeak.c:554:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘while’
         ptr->phase_b += 1024.0f * freq_b * sample_index / ptr->sample_rate;
         ^~~
cc1: all warnings being treated as errors
make[1]: *** [../Makefile.mk:36: tap_rotspeak.so] Error 1
make[1]: Leaving directory '/home/alex/.git_repos/tap-lv2/rotspeak'
make: *** [Makefile:21: all] Error 2

@spectromas
Copy link
Author

Removing the -Werror option allows the build to continue and complete.

@odurc
Copy link
Contributor

odurc commented Feb 21, 2018

Fixed

@odurc odurc closed this as completed Feb 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants