gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] GCL build failure


From: Camm Maguire
Subject: Re: [Gcl-devel] GCL build failure
Date: Tue, 09 Sep 2014 11:16:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Greetings!  Thanks for your report -- nice to meet a gNewSense user!

This is a Debian based target.  On my Debian machine, ucontext_t is
broght in by signal.h.  The output of the following will help:

grep -r ucontext_t /usr/include

Presumably this structure was already correctly found in the preceding
compilation of o/usig.c, which you can examine with

cpp -Ih o/usig.c

This ouput will reveal which header needs adding to h/make-init.h.

Take care,

arnuld uttre <address@hidden> writes:

> Hi There,
>
> I am using gNewSense 3 and I tried to build GCL 2.6.11  but "make"
> failed. Down here is the error:
>
> address@hidden:~# uname -a
> Linux gnewsense 2.6.32-5gnewsense1-amd64 #1 SMP Sun Oct 6 10:04:36 UTC
> 2013 x86_64 GNU/Linux
>
> address@hidden:~# gcc --version
> gcc (Debian 4.4.5-8) 4.4.5
> Copyright (C) 2010 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
>
>
> gcc -c -Wall -fsigned-char -Wno-unused-but-set-variable -pipe
> -I/usr/local/src/gcl/o -I../h -I../gcl-tk new_init.c -o new_init.o
> new_init.c: In function ‘NewInit’:
> new_init.c:638: error: ‘ucontext_t’ undeclared (first use in this function)
> new_init.c:638: error: (Each undeclared identifier is reported only once
> new_init.c:638: error: for each function it appears in.)
> new_init.c:638: error: expected ‘;’ before ‘v’
> new_init.c:638: error: ‘v’ undeclared (first use in this function)
> new_init.c:638: error: expected ‘;’ before ‘v’
> At top level:
> cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
> make[1]: *** [new_init.o] Error 1
> make[1]: Leaving directory `/usr/local/src/gcl/o'
> make: *** [unixport/saved_pre_gcl] Error 2
> rm h/mcompdefs.h
> address@hidden:/usr/local/src/gcl# cd ..

-- 
Camm Maguire                                        address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah



reply via email to

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