On Tue, Aug 11, 2009 at 8:15 AM, Michael Petch<[email protected]> wrote:
>
> On 11/08/09 12:13 AM, "Michael Petch" <[email protected]> wrote:
>
>>
>>
>> Seems like this line:
>>
>> ret = g_strdup(buf);
>>
>> Should be:
>>
>> datadir = g_strdup(buf)
>>

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.


_______________________________________________
Bug-gnubg mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnubg

Reply via email to