Ah, Had I seen VERSION I would have used it. I have put away a change (And
it also works here) to simply use VERSION instead of PACKAGE_VERSION

At a minimum your config.h has to have something like:

#define VERSION ³0.90.0-mingw²

Or

#define VERSION ³0.90.0-msdev²

The ³.0² isn¹t necessary however it conforms to the way Version numbers
appear on *nix based systems where the autoconf tools are run. Configure.in
currently defines version number as 0.90.0.

Michael

On 29/12/09 3:13 PM, "Jonathan Kinsey" <jon_kin...@hotmail.com> wrote:

> My config.h file didn´t have this either, I did have a VERSION symbol defined
> and backgammon.h uses this to build a VERSION_STRING.  So one of the 2
> (VERSION and PACKAGE_VERSION) could be renamed, doesn´t make sense to have the
> same thing twice.
> 
> Jon
> 
>> > Date: Tue, 29 Dec 2009 12:18:31 -0700
>> > Subject: Re: [Bug-gnubg] New win builds on gnubg.org (20091229 code) - bug
?
>> > From: mpe...@capp-sysware.com
>> > To: maxma...@gmail.com
>> > CC: bug-gnubg@gnu.org
>> > 
>> > After some research I have realized there is a good chance your config.h
>> > doesn't have a PACKAGE_VERSION at all. Although I haven't done a mingw
>> > build, I happened to look at the instructions here:
>> > 
>> > http://www.gnubg.org/index.php?itemid=50&catid=1
>> > 
>> > There is a zipfile there that links to:
>> > 
>> > http://gnubg.org/media/BuildingGnubg.zip
>> > 
>> > This zipfile contains a hand crafted config.h that is likely similar in
>> > nature to the one you use. The thing I noticed about that config.h is that
>> > PACKAGE_VERSION isn't defined (It is on environments where the auto
>> > configure process is done).
>> > 
>> > At present I'd say simply add this following line to your config.h (Maybe
>> > update the Gnubg Mingw zipfile above too)
>> > 
>> > #define PACKAGE_VERSION "0.90.0"
>> > 
>> > Michael
>> > 
>> > On 29/12/09 10:18 AM, "Massimiliano Maini" <maxma...@gmail.com> wrote:
>> > 
>>> > > I get an error compiling:
>>> > > 
>>> > > gnubg.c: In function 'getDiceRandomDotOrg':
>>> > > gnubg.c:4473: error: expected ',' or ';' before 'PACKAGE_VERSION'
>>> > > mingw32-make: *** [obj/gnubg.o] Error 1
>>> > > 
>>> > > MaX.
>>> > > 
>>> > > 2009/12/29 Michael Petch <mpe...@capp-sysware.com>:
>>>> > >> 
>>>> > >> Should be fixed now (buffer overrun). I have also added a user agent
>>>> string
>>>> > >> per the request of random.org, and done some cleanup.
>>>> > >> 
>>>> > >> On 29/12/09 7:08 AM, "Massimiliano Maini" <maxma...@gmail.com> wrote:
>>>> > >> 
>>>>> > >>> Hi a new win distrib is avauialble on gnubg.org (20091229).
>>>>> > >>> 
>>>>> > >>> It includes recent fixes, including the one for random.org.
>>>>> > >>> 
>>>>> > >>> I have however a problem with that: as soon as I select random.org,
>>>>> > >>> everything
>>>>> > >>> works fine but I can no longer quit gnubg (alt-f4, ctrl-q or the red
>>>>> > >>> cross button
>>>>> > >>> on the window).
>>>>> > >>> 
>>>>> > >>> Strange ...
>>>>> > >>> 
>>>>> > >>> MaX.
>>>>> > >>> 
>>>>> > >>> 
>>>>> > >>> _______________________________________________
>>>>> > >>> Bug-gnubg mailing list
>>>>> > >>> Bug-gnubg@gnu.org
>>>>> > >>> http://lists.gnu.org/mailman/listinfo/bug-gnubg
>>>>> > >>> 
>>>> > >> 
>>>> > >> 
>>>> > >> 
>>> > > 
>> > 
>> > 
>> > 
>> > 
>> > _______________________________________________
>> > Bug-gnubg mailing list
>> > Bug-gnubg@gnu.org
>> > http://lists.gnu.org/mailman/listinfo/bug-gnubg
>        
> 
> View your other email accounts from your Hotmail inbox. Add them now.
> <http://clk.atdmt.com/UKM/go/186394592/direct/01/> 

_______________________________________________
Bug-gnubg mailing list
Bug-gnubg@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnubg

Reply via email to