bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Building on Windows - `getDataDir'


From: Michael Petch
Subject: Re: [Bug-gnubg] Building on Windows - `getDataDir'
Date: Tue, 11 Aug 2009 00:42:55 -0600
User-agent: Microsoft-Entourage/12.20.0.090605

I committed a change to CVS to fix util.c. As well the error below should be
fixable by renaming getInstallDir to getDataDir (Appears 2 place ing gnubg.c
and 1 place in gtkfile.c)

I believe this to be the correct change. Christian when you get a chance can
you peer review the changes to util.c, gtkfile.c, and gnubg.c.

Michael

On 11/08/09 12:26 AM, "motiv4u" <address@hidden> wrote:

>
> It works for util.c :
> 
> Compiling util.c
> 
> But then it gets stuck with getInstallDir:
> 
> [snap]
> 
> Compiling gnubg.c
> gnubg.c: In function `move_rc_files':
> gnubg.c:4233: warning: implicit declaration of function `getInstallDir'
> gnubg.c:4233: warning: passing arg 1 of `g_strdup' makes pointer from
> integer without a cast
> gnubg.c: In function `main':
> gnubg.c:4803: warning: initialization makes pointer from integer without a
> cast
> 
> [snap]
> 
> Compiling gtkfile.c
> gtkfile.c: In function `GnuBGFileDialog':
> gtkfile.c:91: warning: implicit declaration of function `getInstallDir'
> gtkfile.c:91: warning: passing arg 1 of `g_strdup' makes pointer from
> integer without a cast
> 
> [snap]
> 
> linking
> ../bin/obj/gnubg.o: In function `main':
> c:/gnu/gnubg/gnubg.c:4803: undefined reference to `getInstallDir'
> c:/gnu/gnubg/gnubg.c:4233: undefined reference to `getInstallDir'
> ../bin/obj/gtkfile.o: In function `GnuBGFileDialog':
> c:/gnu/gnubg/gtkfile.c:91: undefined reference to `getInstallDir'
> collect2: ld returned 1 exit status
> mingw32-make: *** [../bin/gnubg.exe] Error 1
> ** Build failed **
> 
> N.
> 






reply via email to

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