I think I am now past the DEFUN problem (by commenting out lines in my
system include files).  I needed to start afresh.  But now I have a new
problem.

I did a git pull, erased the entire gcl directory, and then checked out
master.  I then did:

./configure --enable-ansi
make
...
gcc -c -fsigned-char  -pipe -Wall  -Wno-unused-but-set-variable -O3
-fomit-frame-pointer  -I/home/blake/Backup/gcl.git/gcl/o -I../h -I../gcl-tk
user_match.c
rm -f gcllib.a
ar qc gcllib.a bcmp.o bcopy.o bzero.o user_init.o user_match.o
ranlib gcllib.a
make[1]: Leaving directory `/home/blake/Backup/gcl.git/gcl/o'
make h/cmpinclude.h
make[1]: Entering directory `/home/blake/Backup/gcl.git/gcl'
make[1]: `h/cmpinclude.h' is up to date.
make[1]: Leaving directory `/home/blake/Backup/gcl.git/gcl'
rm -f o/cmpinclude.h ; cp h/cmpinclude.h o
cd unixport && make saved_pre_gcl
ls: cannot access ../lsp/*.o: No such file or directory
ls: cannot access ../xgcl-2/*.o: No such file or directory
ls: cannot access ../cmpnew/*.o: No such file or directory
ls: cannot access gcl_recompile?*.o: No such file or directory
ls: cannot access ../mod/*.o: No such file or directory
ls: cannot access ../pcl/*.o: No such file or directory
ls: cannot access ../clcs/*.o: No such file or directory
make[1]: Entering directory `/home/blake/Backup/gcl.git/gcl/unixport'
make[1]: *** No rule to make target `saved_pre_gcl'.  Stop.
make[1]: Leaving directory `/home/blake/Backup/gcl.git/gcl/unixport'
make: *** [unixport/saved_pre_gcl] Error 2

Sure appreciate any pointers.

Blake

On Wed, Nov 23, 2016 at 7:03 PM, Blake McBride <[email protected]> wrote:

> I commented out all lines defining DEFUN in /usr/include/ansidecl.h
>
> Same problem.
>
> On Sun, Nov 20, 2016 at 8:58 PM, Blake McBride <[email protected]> wrote:
>
>> Looking deeper into the first line found, turns out to be a comment:
>>
>> /*
>> ...
>>    This header also defines a lot of obsolete macros:
>>    CONST, VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID,
>>    AND, DOTS, NOARGS.  Don't use them.  */
>>
>>
>>
>>
>> On Sun, Nov 20, 2016 at 8:51 PM, Blake McBride <[email protected]>
>> wrote:
>>
>>> Does this help:
>>>
>>> blake@blake-sony /usr/include $ find . -type f -exec grep -H DEFUN {} \;
>>> ./ansidecl.h:   CONST, VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID,
>>> ./ansidecl.h:#define DEFUN(name, arglist, args) name(args)
>>> ./ansidecl.h:#define DEFUN_VOID(name) name(void)
>>> ./ansidecl.h:#define DEFUN(name, arglist, args) name arglist args;
>>> ./ansidecl.h:#define DEFUN_VOID(name) name()
>>>
>>>
>>>
>>> On Tue, Nov 1, 2016 at 11:46 AM, Camm Maguire <[email protected]>
>>> wrote:
>>>
>>>> Greetings, and thanks for the report!  As I cannot reproduce this on
>>>> up-to-date Debian unstable, might you provide ssh access to this box?
>>>>
>>>> Take care,
>>>>
>>>> Blake McBride <[email protected]> writes:
>>>>
>>>> > On Mon, Oct 17, 2016 at 12:11 PM, Camm Maguire <
>>>> [email protected]> wrote:
>>>> >
>>>> >     Greetings!
>>>> >
>>>> >     Blake McBride <[email protected]> writes:
>>>> >
>>>> >     > Same error.
>>>> >
>>>> >     Hmmm.  I'm skeptical.  Can you git pull from master and make sure
>>>> your
>>>> >     changes are the same as mine?
>>>> >
>>>> > blake@blake-sony ~/Backup/gcl.git/gcl $ rm -rf *
>>>> > blake@blake-sony ~/Backup/gcl.git/gcl $ git checkout --force
>>>> > Your branch is up-to-date with 'origin/master'.
>>>> > blake@blake-sony ~/Backup/gcl.git/gcl $ git pull
>>>> > Already up-to-date.
>>>> > blake@blake-sony ~/Backup/gcl.git/gcl $ git branch
>>>> > * master
>>>> > blake@blake-sony ~/Backup/gcl.git/gcl $ ./configure --enable-ansi
>>>> > ....
>>>> > add-defs1 amd64-linux
>>>> > using amd64-linux.defs
>>>> >  if the 'unknown' directories exist you may provide
>>>> > a second argument to ./add-defs of a local directory where things
>>>> might be,
>>>> > or edit ./add-defs so that it can find them.   Otherwise just continue
>>>> > and the portions with unknown will not be compiled.
>>>> > blake@blake-sony ~/Backup/gcl.git/gcl $ make
>>>> > ...
>>>> > make[1]: Entering directory `/home/blake/Backup/gcl.git/gcl/bin'
>>>> > gcc  -I../h  -o append  append.c
>>>> > gcc -I../h  -o file-sub file-sub.c
>>>> > make[1]: Leaving directory `/home/blake/Backup/gcl.git/gcl/bin'
>>>> > make mpfiles
>>>> > make[1]: Entering directory `/home/blake/Backup/gcl.git/gcl'
>>>> > make[1]: Nothing to be done for `mpfiles'.
>>>> > make[1]: Leaving directory `/home/blake/Backup/gcl.git/gcl'
>>>> > rm -f o/cmpinclude.h ; cp h/cmpinclude.h o
>>>> > (cd o; make all)
>>>> > make[1]: Entering directory `/home/blake/Backup/gcl.git/gcl/o'
>>>> > gcc -c -fsigned-char  -pipe -Wall  -Wno-unused-but-set-variable -O3
>>>> -fomit-frame-pointer  -I/home/blake/Backup/gcl.git/gcl/o -I../h
>>>> -I../gcl-tk
>>>> > typespec.c
>>>> > In file included from ../h/include.h:124:0,
>>>> >                  from typespec.c:29:
>>>> > ../h/../h/new_decl.h:210:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
>>>> ‘__attribute__’ before ‘{’ token
>>>> >  DEFUN {
>>>> >        ^
>>>> > make[1]: *** [typespec.o] Error 1
>>>> > make[1]: Leaving directory `/home/blake/Backup/gcl.git/gcl/o'
>>>> > make: *** [unixport/saved_pre_gcl] Error 2
>>>> > blake@blake-sony ~/Backup/gcl.git/gcl $
>>>> >
>>>> >
>>>> >
>>>>
>>>> --
>>>> Camm Maguire
>>>> [email protected]
>>>> ============================================================
>>>> ==============
>>>> "The earth is but one country, and mankind its citizens."  --
>>>> Baha'u'llah
>>>>
>>>
>>>
>>
>
_______________________________________________
Gcl-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gcl-devel

Reply via email to