ferrandi / PandA-bambu

PandA-bambu public repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sollya build issue

sei-jgwohlbier opened this issue · comments

I'm trying to build dev/panda with clang-16. Is the following a known build issue? Based on another issue I upgraded to bison-3.8.2. This is ubuntu-20.04.

make[2]: Entering directory '/root/PandA-bambu/obj/ext/sollya'
/usr/bin/clang -DHAVE_CONFIG_H -I. -I/root/PandA-bambu/etc/macros/../../ext/sollya  -I/usr/include/libxml2  -fPIC -O2 -DNDEBUG  -MT sollya-double.o -MD -MP -MF .deps/sollya-double.Tpo -c -o sollya-double.o `test -f 'double.c' || echo '/root/PandA-bambu/etc/macros/../../ext/sollya/'`double.c
/root/PandA-bambu/etc/macros/../../ext/sollya/double.c:1259:5: error: call to undeclared function 'mpfr_round_to_doubleextended_mode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    mpfr_round_to_doubleextended_mode(rop, op, mode);
    ^
/root/PandA-bambu/etc/macros/../../ext/sollya/double.c:1259:5: note: did you mean 'mpfr_round_to_doubleextended'?
/root/PandA-bambu/etc/macros/../../ext/sollya/double.h:73:5: note: 'mpfr_round_to_doubleextended' declared here
int mpfr_round_to_doubleextended(mpfr_t rop, mpfr_t op);
    ^
1 error generated.
make[2]: *** [Makefile:1042: sollya-double.o] Error 1
make[2]: Leaving directory '/root/PandA-bambu/obj/ext/sollya'
make[1]: *** [Makefile:1413: install-recursive] Error 1
make[1]: Leaving directory '/root/PandA-bambu/obj/ext/sollya'
make: *** [Makefile:1714: install] Error 2
configure: error: "Error in sollya compilation"

This issue should be fixed now