bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Major dimension problem


From: Blake McBride
Subject: Re: [Bug-apl] Major dimension problem
Date: Sat, 24 May 2014 01:17:34 -0500

I am using GNU APL 287.  I don't know how to get a GIT revision number.  I am using Emacs mode from the GIT repository.

I just tried checking out the latest of each.  I was already at the latest APL.  After updating Emacs mode, I get the following when trying to compile native:

address@hidden ~/apl-mode/native $ make
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o emacs.o emacs.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o network.o network.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o util.o util.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o Listener.o Listener.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o TcpListener.o TcpListener.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o UnixSocketListener.o UnixSocketListener.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o NetworkConnection.o NetworkConnection.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o SiCommand.o SiCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o SicCommand.o SicCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o FnCommand.o FnCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o DefCommand.o DefCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o GetVarCommand.o GetVarCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o VariablesCommand.o VariablesCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o FnTagCommand.o FnTagCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o VersionCommand.o VersionCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o FollowCommand.o FollowCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o SystemFnCommand.o SystemFnCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o SystemVariableCommand.o SystemVariableCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o LockWrapper.o LockWrapper.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o TraceData.o TraceData.cc
TraceData.cc: In static member function ‘static void TraceData::display_value_for_trace(std::ostream&, const Value_P&, int)’:
TraceData.cc:56:41: error: ‘get_PP’ is not a member of ‘Workspace’
         PrintContext context( PST_NONE, Workspace::get_PP(), 100000 );
                                         ^
TraceData.cc:63:41: error: ‘get_PP’ is not a member of ‘Workspace’
         PrintContext context( PST_NONE, Workspace::get_PP(), 100000 );
                                         ^
TraceData.cc:66:42: error: ‘get_PP’ is not a member of ‘Workspace’
         PrintContext context2( PST_NONE, Workspace::get_PP(), 100000 );
                                          ^
make: *** [TraceData.o] Error 1
address@hidden ~/apl-mode/native $ make
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o emacs.o emacs.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o network.o network.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o util.o util.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o Listener.o Listener.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o TcpListener.o TcpListener.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o UnixSocketListener.o UnixSocketListener.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o NetworkConnection.o NetworkConnection.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o SiCommand.o SiCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o SicCommand.o SicCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o FnCommand.o FnCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o DefCommand.o DefCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o GetVarCommand.o GetVarCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o VariablesCommand.o VariablesCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o FnTagCommand.o FnTagCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o VersionCommand.o VersionCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o FollowCommand.o FollowCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o SystemFnCommand.o SystemFnCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o SystemVariableCommand.o SystemVariableCommand.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o LockWrapper.o LockWrapper.cc
c++ -Wall -fPIC -g -I/home/blake/Backup/apl/src/native   -c -o TraceData.o TraceData.cc
TraceData.cc: In static member function ‘static void TraceData::display_value_for_trace(std::ostream&, const Value_P&, int)’:
TraceData.cc:56:41: error: ‘get_PP’ is not a member of ‘Workspace’
         PrintContext context( PST_NONE, Workspace::get_PP(), 100000 );
                                         ^
TraceData.cc:63:41: error: ‘get_PP’ is not a member of ‘Workspace’
         PrintContext context( PST_NONE, Workspace::get_PP(), 100000 );
                                         ^
TraceData.cc:66:42: error: ‘get_PP’ is not a member of ‘Workspace’
         PrintContext context2( PST_NONE, Workspace::get_PP(), 100000 );
                                          ^
make: *** [TraceData.o] Error 1
b



On Fri, May 23, 2014 at 11:29 PM, David B. Lamkins <address@hidden> wrote:
On Fri, 2014-05-23 at 14:58 -0500, Blake McBride wrote:
> There is a problem.  It seems to only happen in Emacs mode.  For
> example:

>       )CLEAR
> CLEAR WS
>       ⍴''
> 0
>       0 0⍴''
>       ⍴''
> 0 0

I can't reproduce this.

In Emacs, running gnu-apl-mode:

      ⍴''
0
      0 0⍴''
      ⍴''
0


This is with a very recent build of GNU APL running gnu-apl-mode with
the new-style libemacs.

Either there's something else involved in establishing the initial
conditions to tickle this particular bug, or you have a bad/inconsistent
build. Have you tried a fresh build?

For example:

./configure
make clean
sudo make install


In a related vein, how is your gnu-apl-mode built/configured? Are you
using the version included with GNU APL or are you running more recent
sources? How/where are you building and installing the gnu-emacs-mode
native library?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]