Hi Fausto,
hopefully fixed in SVN 591.
/// Jürgen
On 04/01/2015 06:31 PM, Fausto Saporito
wrote:
Hello Jürgen,
the error I sent you before (missing libemacs), disappear if I compile
everything with GCC.
I found also this error during configure (using gcc this time).
configure: creating src/buildtag.hh
src/buildtag: line 12: [: too many arguments
configure: creating src/configure_args.cc
regards,
Fausto
2015-04-01 16:06 GMT+02:00 Fausto Saporito <address@hidden>:
Hi Jürgen,
it seems ok now.
But I have this error when I run apl with emacs:
Could not find shared library 'libemacs'
The following directories and file names were tried:
file /usr/local/lib/apl/libemacs.so (No such file or directory)
file /usr/local/lib/apl/libemacs.dylib ( flat namespace
in /usr/local/lib/apl/libemacs.dylib )
file /usr/local/lib/apl/libemacs (No such file or directory)
directory /usr/lib/apl
file ./libemacs.so (No such file or directory)
file ./libemacs.dylib (No such file or directory)
file ./libemacs (No such file or directory)
directory ./native
directory ./emacs_mode
::connect() to existing APserver failed: Invalid argument
______ _ __ __ __ ___ ____ __
/ ____// | / // / / / / | / __ \ / /
/ / __ / |/ // / / / / /| | / /_/ // /
/ /_/ // /| // /_/ / / ___ | / ____// /___
\____//_/ |_/ \____/ /_/ |_|/_/ /_____/
Welcome to GNU APL version 1.5 / 586M
everything seems fine though...
I don't understand...
Are those errors about emacs expected ?
regards,
Fausto
2015-04-01 15:37 GMT+02:00 Juergen Sauermann <address@hidden>:
Hi Fausto,
I changed ./configure once more to handle clang, SVN 586.
There are now 3 cases:
1. full support of dynamic arrays ( = gcc)
2. limited support of dynamic arrays ( = clang)
3. no support of dynamic arrays ( = ???)
Please let me know if it works now.
/// Jürgen
On 04/01/2015 10:33 AM, Fausto Saporito wrote:
Hello,
I updated to svn 585, and I got a different error in this case:
Bif_F12_FORMAT.cc:682:28: error: no matching function for call to 'strchr'
const char * dot = strchr(data_buf, '.');
^~~~~~
/usr/include/string.h:76:7: note: candidate function not viable: no
known conversion from '__DynArray<char>' to
'const char *' for 1st argument
char *strchr(const char *, int);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:98:46:
note:
candidate function not viable: no known conversion from
'__DynArray<char>' to 'char *' for 1st argument
inline _LIBCPP_INLINE_VISIBILITY char* strchr( char* __s,
int __c) {return ::strchr(__s, __c);}
^
Bif_F12_FORMAT.cc:683:37: error: invalid operands to binary _expression_
('const char *' and '__DynArray<char>')
const int ilen = dot ? (dot - data_buf) : strlen(data_buf);
~~~ ^ ~~~~~~~~
./Common.hh:354:1: note: candidate function not viable: no known
conversion from 'const char *' to 'Function_PC'
for 1st argument
operator -(Function_PC pc, int offset)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:622:1:
note:
candidate template ignored: could not match
'reverse_iterator<type-parameter-0-0>' against 'const char *'
operator-(const reverse_iterator<_Iter1>& __x, const
reverse_iterator<_Iter2>& __y)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:1017:1:
note:
candidate template ignored: could not match
'move_iterator<type-parameter-0-0>' against 'const char *'
operator-(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>&
__y)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/iterator:1369:1:
note:
candidate template ignored: could not match
'__wrap_iter<type-parameter-0-0>' against 'const char *'
operator-(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter2>&
__y) _NOEXCEPT
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/string:486:11:
note:
candidate template ignored: could not match
'fpos<type-parameter-0-0>' against 'const char *'
streamoff operator-(const fpos<_StateT>& __x, const fpos<_StateT>& __y)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/complex:558:1:
note:
candidate template ignored: could not match
'complex<type-parameter-0-0>' against 'const char *'
operator-(const complex<_Tp>& __x, const complex<_Tp>& __y)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/complex:568:1:
note:
candidate template ignored: could not match
'complex<type-parameter-0-0>' against 'const char *'
operator-(const complex<_Tp>& __x, const _Tp& __y)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/complex:578:1:
note:
candidate template ignored: could not match 'complex' against
'__DynArray'
operator-(const _Tp& __x, const complex<_Tp>& __y)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/complex:737:1:
note:
candidate function template not viable: requires single argument
'__x', but 2 arguments were provided
operator-(const complex<_Tp>& __x)
^
Bif_F12_FORMAT.cc:683:51: error: no matching function for call to 'strlen'
const int ilen = dot ? (dot - data_buf) : strlen(data_buf);
^~~~~~
/usr/include/string.h:82:9: note: candidate function not viable: no
known conversion from '__DynArray<char>' to
'const char *' for 1st argument
size_t strlen(const char *);
^
1 warning and 3 errors generated.
Please could you check it ?
thanks,
Fausto
|