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

Error in make command - undefined reference to `_mm256_storeu2_m128i' #394

Closed
supersjgk opened this issue Feb 13, 2024 · 1 comment
Closed

Comments

@supersjgk
Copy link
Contributor

supersjgk commented Feb 13, 2024

I'm trying to install kvazaar on Ubuntu 20.04.
I have all the autotools installed.
I followed these commands:

./autogen.sh
./configure
make 
sudo make install
sudo ldconfig

I get the following error in the make command:

strategies/avx2/quant-avx2.c: In function ‘find_last_scanpos_avx2’:
strategies/avx2/quant-avx2.c:913:7: warning: implicit declaration of function ‘_mm256_storeu2_m128i’; did you mean ‘_mm256_setr_m128i’? [-Wimplicit-function-declaration]
  913 |       _mm256_storeu2_m128i((__m128i*)(max_abs_level + 8), (__m128i*)(max_abs_level), max_abs_level_low);
$ make
make  all-recursive
make[1]: Entering directory '/home/kvazaar'
Making all in src
make[2]: Entering directory '/home/kvazaar/src'
  GEN      kvazaar
/usr/bin/ld: ./.libs/libkvazaar.so: undefined reference to `_mm256_storeu2_m128i'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:965: kvazaar] Error 1
make[2]: Leaving directory '/home/kvazaar/src'
make[1]: *** [Makefile:524: all-recursive] Error 1
make[1]: Leaving directory '/home/kvazaar'
make: *** [Makefile:394: all] Error 2

How do I fix it?

supersjgk added a commit to supersjgk/kvazaar that referenced this issue Feb 13, 2024
supersjgk added a commit to supersjgk/kvazaar that referenced this issue Feb 15, 2024
Jovasa added a commit that referenced this issue Feb 16, 2024
Fixed issue #394 - missing _mm256_storeu2_m128i macro
@Jovasa
Copy link
Member

Jovasa commented Feb 16, 2024

Fixed with d8c9688

@Jovasa Jovasa closed this as completed Feb 16, 2024
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