Re: [Java-gnome-developer] Re: make install error
Brought to you by:
afcowie
From: Luca De R. <pie...@li...> - 2003-12-26 20:22:42
|
Il ven, 2003-12-26 alle 20:43, Jeffrey Morgan ha scritto: > On Fri, 2003-12-26 at 14:17, Luca De Rugeriis wrote: > > Il ven, 2003-12-26 alle 19:25, Jeffrey Morgan ha scritto: > > > On Fri, 2003-12-26 at 12:48, Luca De Rugeriis wrote: > > > > If everyone agrees, I will commit the new PasswordDialog and > > > > org_gnu_gnome_PasswordDialog.c back into 0.8 branch. Let me know. > > > > > > Yes. Please commit the fix. > > I'm sorry but it doesn't fix the problem for me: > > the org_gnu_gnome_PasswordDialog.c files are identical (between > > versions), the corresponding java class was upgraded with the new one > > but it still complains: > > The files should not be identical. I made a change a few days > ago. I removed the method that no longer exists in the 2.5 > stream. You're rigth, they're different. I've wrongly typed a diff command . > > jni/org_gnu_gnome_PasswordDialog.c: In function > > `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1new': > > jni/org_gnu_gnome_PasswordDialog.c:57: warning: initialization makes > > pointer from integer without a cast > > > > It seems to me a C problem only... > > This is only a warning and shouldn't cause the build to fail. Ehr, this was only the first line of the error. I've guessed it was the significant one, but clearly it's not. This is the whole error message: jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1new': jni/org_gnu_gnome_PasswordDialog.c:57: warning: initialization makes pointer from integer without a cast jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1run_1and_1block': jni/org_gnu_gnome_PasswordDialog.c:77: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:77: (Each undeclared identifier is reported only once jni/org_gnu_gnome_PasswordDialog.c:77: for each function it appears in.) jni/org_gnu_gnome_PasswordDialog.c:77: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1username': jni/org_gnu_gnome_PasswordDialog.c:89: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:89: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1password': jni/org_gnu_gnome_PasswordDialog.c:102: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:102: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1readonly_1username': jni/org_gnu_gnome_PasswordDialog.c:114: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:114: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1set_1remember': jni/org_gnu_gnome_PasswordDialog.c:125: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:125: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1username': jni/org_gnu_gnome_PasswordDialog.c:136: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:136: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1password': jni/org_gnu_gnome_PasswordDialog.c:148: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:148: parse error before ')' token jni/org_gnu_gnome_PasswordDialog.c: In function `Java_org_gnu_gnome_PasswordDialog_gnome_1password_1dialog_1get_1remember': jni/org_gnu_gnome_PasswordDialog.c:160: `GnomePasswordDialog' undeclared (first use in this function) jni/org_gnu_gnome_PasswordDialog.c:160: parse error before ')' token make[1]: *** [jni/org_gnu_gnome_PasswordDialog.o] Error 1 make[1]: Leaving directory `/home/mari/java-gnome0.8/java-gnome/gnome/src' make: *** [distro] Error 2 Is `GnomePasswordDialog' undeclared? -- Luca De Rugeriis <pie...@li...> |