(top posting) Well it works, but running gnubg.exe looks for ()/bin/doc/ instead of ()/bin/ Thus I copied all /bin files to /doc/bin and that works... but it isn/t nice :-( Anyhow: last CVS compiles and links. Is OK for me.
N. On Tue, Aug 11, 2009 at 8:42 AM, Michael Petch<[email protected]> wrote: > > 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" <[email protected]> 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. >> > > > -- "He is no fool who gives up what he cannot keep to gain what he cannot lose." -Jim Elliot _______________________________________________ Bug-gnubg mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnubg
