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 <[email protected]> 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:
>
> root@gnewsense:~# uname -a
> Linux gnewsense 2.6.32-5gnewsense1-amd64 #1 SMP Sun Oct 6 10:04:36 UTC
> 2013 x86_64 GNU/Linux
>
> root@gnewsense:~# 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
> root@gnewsense:/usr/local/src/gcl# cd ..

-- 
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