bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] gnubg 0.14.2 compiled successfully under HP-UX 11.0


From: Mike Whitton
Subject: Re: [Bug-gnubg] gnubg 0.14.2 compiled successfully under HP-UX 11.0
Date: Wed, 31 Mar 2004 17:16:37 -0500 (EST)


 - regarding issue with <stdlib.h>:
        + i have attached the compilation output
        + you are probably correct, hp has patched signal.h several times


 - I have fixed the manual example test in 'gnubgtest':

   # Make sure the example game in the manual works.
   ./gnubg $dirparam -t -q -r << "EOF" | grep \
      'refuses the cube and gives up 1 point.' > /dev/null || die \
      '--- Manual example test fails.'
   set rng manual
   new game
   1 3
   8 5 6 5
   6 3
   roll
   3 5
   13 10 6 1
   6 5
   roll
   2 5
   13 11 6 1
   1 6
   double
   EOF
   echo '--- Manual example test succeeds.'


thanks

mike




On Wed, 31 Mar 2004, Joern Thyssen wrote:

> On Mon, Mar 29, 2004 at 03:32:47AM -0500, Mike Whitton wrote
> >
> >  - tried regenerating the sgfl.c file and had the same outcome.
> >
> >  - "/usr/include/sys/signal.h:207: parse error before `1'"
> >     + this was the error message produced during compilation of sgfl.c
> >        prior to adjusting it.
>
> Can you give me the entire compilation output for sgfl.c, please?
>
> This might be a problem that's out of my hands, i.e., it's a bug in
> HP-UXs header files or in flex for HP-UX.
>
> >
> >  - <stropts.h> is required for the ioctl command I_SETSIG
> >     + this is found on line 609 of 'sound.c'
>
> OK. Fixed.
>
> >
> >  - ac_cv_func_mmap_fixed_mapped is set to no
> >     + HP-UX 11.0 does support mmap()
>
> Apparently not according to autoconf. A google search on hp-ux 11 mmap
> reevals that people generally think that mmap is broken on
> hp-ux.
> >     + the static bearoff database setting causes problems for HP-UX
> >     + causes linking problems (unsatisfied symbols) during makehyper
>
> Fixed.
>
> >            compilation.  looking for BearoffInitBuiltin() in eval.o
> >     + br1.c is only about 8kb when generated
> >     + all problems resolved when bearoff type switched to 'external'
>
> Yes, I found this one as well. I've fixed the target for br1.c.
>
> >
> >  - the 'Manual example test' never runs successfully.
> >     + the 'gnubgtest' script runs and fails at this point.
> >     + it seems that the specific scenario needs to be setup manually.
> >     + in 'gnubgtest' the dice rolls seem to still be random.
> >     + using 'set rng manual' before starting a new game i was able to
> >            achieve the desired results.
>
> I don't know why it doesn't work. However, it's not that important.
>
> J?rn
>
> ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
> Detroit Water & Sewerage Department
> This message was received, scanned, and filtered at
> the gateway.
> ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~

Attachment: sgfl-problem
Description: Text document


reply via email to

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