gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] Re: [ 101656 ] pb compiling gcl 2.4.4 on NetBSD 1.6


From: Camm Maguire
Subject: [Gcl-devel] Re: [ 101656 ] pb compiling gcl 2.4.4 on NetBSD 1.6
Date: 03 Jan 2003 21:53:03 -0500

Greetings!

1) Please try replacing the following from NetBSD.h:

#define SIG_STACK_SIZE SIGSTKSZ
#define SETUP_SIG_STACK \
{ static struct sigaltstack estack ; \
  estack.ss_size = sizeof(estack_buf) ; \
  estack.ss_flags = 0; \
  estack.ss_base = (char *) &estack_buf[SIG_STACK_SIZE-1]; \
  if (sigaltstack(&estack, (struct sigaltstack *)0) < 0) \
               perror("sigaltstack");} \

with the following from FreeBSD.h:

#define ss_base ss_sp
#define SIG_STACK_SIZE (SIGSTKSZ/sizeof(double))
#define SETUP_SIG_STACK \
{ \
        static struct sigaltstack estack; \
        if ((estack.ss_sp = malloc(SIGSTKSZ)) == NULL) \
          perror("malloc"); \
        estack.ss_size = SIGSTKSZ; \
        estack.ss_flags = 0; \
        if (sigaltstack(&estack, 0) < 0) \
          perror("sigaltstack"); \
}

2) I would also recommend looking at the 386-linux.{h,defs} files for
   good starting points on BSD ports, and in general recommend trying
   the CVS version of GCL for its generally higher level of
   robustness.  

3) If you want to pursue 2.4.4 on NetBSD.h and have other problems,
   please post your full configure and build output to
   address@hidden  (You can CC the website and me too, if you'd
   like.)

4)  I'm also cc'ing GOTO Kentaro, a GCL developer who recently
    completed a working build on FreeBSD.

Take care,


address@hidden writes:

> Support Request #101656, was updated on 2002-Dec-20 15:05
> You can respond by visiting: 
> http://savannah.gnu.org/support/?func=detailsupport&support_id=101656&group_id=879
> 
> Category: None
> Status: Open
> Priority: 5
> Summary: pb compiling gcl 2.4.4 on NetBSD 1.6
> 
> By: dbonnafo
> Date: 2002-Dec-20 15:05
> Logged In: NO 
> Browser: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) 
> Gecko/20021130
> 
> hi,
> 
> I try to compile gcl 2.4.4 on NetBSD 1.6 (i386).
> 
> $> ./configure --enable-machine=NetBSD
> $> [...]
> 
> $> make
> 
> and a few seconds later :
> 
> (cd o; make all)
> gcc -m486 -fwritable-strings -DVOL=volatile -I./h -I./o
> -fsigned-char -c -O2 -I../gcl-tk -I../h/  main.c 
> main.c: In function `main':
> main.c:258: structure has no member named `ss_base'
> *** Error code 1
> 
> thnak you for help.
> 
> ----------------------------------------------------------------------
> You can respond by visiting: 
> http://savannah.gnu.org/support/?func=detailsupport&support_id=101656&group_id=879
> 
> 

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