[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Building on Windows - `getDataDir'
From: |
motiv4u |
Subject: |
Re: [Bug-gnubg] Building on Windows - `getDataDir' |
Date: |
Tue, 11 Aug 2009 08:26:19 +0200 |
On Tue, Aug 11, 2009 at 8:15 AM, Michael Petch<address@hidden> wrote:
>
> On 11/08/09 12:13 AM, "Michael Petch" <address@hidden> 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] Building on Windows - `getDataDir', motiv4u, 2009/08/11
- Re: [Bug-gnubg] Building on Windows - `getDataDir', Michael Petch, 2009/08/11
- Re: [Bug-gnubg] Building on Windows - `getDataDir', Michael Petch, 2009/08/11
- Re: [Bug-gnubg] Building on Windows - `getDataDir',
motiv4u <=
- Re: [Bug-gnubg] Building on Windows - `getDataDir', Michael Petch, 2009/08/11
- Re: [Bug-gnubg] Building on Windows - `getDataDir', Christian Anthon, 2009/08/11
- Re: [Bug-gnubg] Building on Windows - `getDataDir', motiv4u, 2009/08/11
- Re: [Bug-gnubg] Building on Windows - `getDataDir', Michael Petch, 2009/08/11
- Re: [Bug-gnubg] Building on Windows - `getDataDir', Christian Anthon, 2009/08/11
- Re: [Bug-gnubg] Building on Windows - `getDataDir', Michael Petch, 2009/08/11
- Re: [Bug-gnubg] Building on Windows - `getDataDir', motiv4u, 2009/08/11