You are not logged in.
On attempting to compile djvulibre, with the usual
./configure
make
make install
I get the following errors during "make":
../libdjvu/.libs/libdjvulibre.so: undefined reference to `__sync_bool_compare_and_swap_4'
../libdjvu/.libs/libdjvulibre.so: undefined reference to `__sync_add_and_fetch_4'
after which the compilation stops with an error signal. Does anyone know what's going on here, and how I can avoid these errors?
Thanks,
-A.
Offline
just use CFLAGS="-march=i686" these are gcc built-in functions that are activated only with arch >= i486
Offline
Thanks - but where do I set this variable? I tried it as an environment variable, and running the configure, make commands again, only to obtain the same error. (Sorry to be such a klutz here!)
Thanks again,
-A.
Offline
I also tried
./configure CFLAGS="-march=i686"
which should work, but again I get the same errors.
-T.
Offline
On attempting to compile djvulibre, with the usual
./configure
make
make installI get the following errors during "make":
../libdjvu/.libs/libdjvulibre.so: undefined reference to `__sync_bool_compare_and_swap_4'
../libdjvu/.libs/libdjvulibre.so: undefined reference to `__sync_add_and_fetch_4'after which the compilation stops with an error signal. Does anyone know what's going on here, and how I can avoid these errors?
Thanks,
-A.
Out of curiosity, why aren't you simply installing it with pacman?
Offline
I also tried
./configure CFLAGS="-march=i686"
which should work, but again I get the same errors.
-T.
hehe, in reverse
CFLAGS="-march=i686" ./configure --blah ...
make
make install
Offline