I'd cloned the svn repository and tried to compile it but got the following:
Quad_PNG.cc:923:1: error: redefinition of ‘Token
Quad_PNG::eval_AB(Value_P, Value_P) const’
923 | Quad_PNG::eval_AB(Value_P A, Value_P B) const { return eval_B(B); }
| ^~~~~~~~
Quad_PNG.cc:646:1: note: ‘virtual Token Quad_PNG::eval_AB(Value_P,
Value_P) const’ previously defined here
646 | Quad_PNG::eval_AB(Value_P A, Value_P B) const
| ^~~~~~~~
Quad_PNG.cc:926:1: error: redefinition of ‘Token
Quad_PNG::eval_B(Value_P) const’
926 | Quad_PNG::eval_B(Value_P B) const
| ^~~~~~~~
Quad_PNG.cc:323:1: note: ‘virtual Token Quad_PNG::eval_B(Value_P)
const’ previously defined here
323 | Quad_PNG::eval_B(Value_P B) const
| ^~~~~~~~
Quad_PNG.cc:935:1: error: redefinition of ‘Quad_PNG::Quad_PNG()’
935 | Quad_PNG::Quad_PNG() : QuadFunction(TOK_Quad_PNG) {}
| ^~~~~~~~
Quad_PNG.cc:134:1: note: ‘Quad_PNG::Quad_PNG()’ previously defined here
134 | Quad_PNG::Quad_PNG()
| ^~~~~~~~
Quad_PNG.cc:936:1: error: redefinition of ‘Quad_PNG::~Quad_PNG()’
936 | Quad_PNG::~Quad_PNG() {}
| ^~~~~~~~
Quad_PNG.cc:140:1: note: ‘virtual Quad_PNG::~Quad_PNG()’ previously defined here
140 | Quad_PNG::~Quad_PNG()
| ^~~~~~~~
make[3]: *** [Makefile:4704: apl-Quad_PNG.o] Error 1
make[3]: Leaving directory '/home/alaa/src/apl/trunk/src'
make[2]: *** [Makefile:5340: all-recursive] Error 1
make[2]: Leaving directory '/home/alaa/src/apl/trunk/src'
make[1]: *** [Makefile:542: all-recursive] Error 1
make[1]: Leaving directory '/home/alaa/src/apl/trunk'
make: *** [Makefile:430: all] Error 2
The svn is at 1779, and the libpng-dev is installed. However, the
error complains about redefinition. I can work around it by manually
modifying offending parts, but is this the correct way? Am I missing
something?
Regards,
On Sun, Sep 22, 2024 at 7:06 PM Ala'a Mohammad <amalawi@gmail.com> wrote:
thanks!
On Sun, Sep 22, 2024 at 7:05 PM Blake McBride <blake1024@gmail.com> wrote:
That is an old bug that has been correct in the current (repo) version.
Blake McBride
On Sun, Sep 22, 2024 at 6:08 AM Ala'a Mohammad <amalawi@gmail.com> wrote:
Hi,
I'm trying the following but got an error, and could not understand the reason:
(a b)← (⍳3) 9
==============================================================================
Assertion failed: sym_var
in Function: collect_symbols
in file: Prefix.cc:272
C/C++ call stack:
----------------------------------------
-- Stack trace at Assert.cc:75
----------------------------------------
0x7f29cc81ce40 __libc_start_main
0x7f29cc81cd90
0x5651d074bf9a main
0x5651d08f17ed Workspace::immediate_execution(bool)
0x5651d07a58d5 Command::process_line()
0x5651d07a7e5b Command::finish_context()
0x5651d07ca6e8 Executable::execute_body() const
0x5651d0803fd0 Prefix::reduce_statements()
0x5651d080e78e Prefix::reduce_V_RPAR_ASS_B()
0x5651d0803507
Prefix::collect_symbols(std::__cxx11::basic_string<Symbol*,
std::char_traits<Symbol*>, std::allocator<Symbol*> >&)
0x5651d076d118 do_Assert(char const*, char const*, char const*, int)
========================================
========================================
SI stack:
Depth: 0
Exec: 0x5651d214b0b0
Safe exec: 0
Pmode: ◊ (a b)← (⍳3) 9
PC: 9 (12) (
Stat: (a b)← (⍳3) 9
err_code: 0x0
==============================================================================
I'm using the 1.9 release deb file.
regards,