Re: [Java-gnome-developer] Re: java autoconf macros
Brought to you by:
afcowie
From: Luca De R. <pie...@li...> - 2003-12-17 23:44:46
|
Il gio, 2003-12-18 alle 00:40, Luca De Rugeriis ha scritto: > Il mer, 2003-12-17 alle 16:53, Mark Howard ha scritto: > > On Wed, Dec 17, 2003 at 03:49:10PM +0100, Luca De Rugeriis wrote: > > > -g -O2 -fPIC -I /home/mari/j2sdk_nb/j2sdk1.4.2/include -I > > > /home/mari/j2sdk_nb/j2sdk1.4.2/include/linux -Xlinker --no-undefined > > You should have a lot more includes than that. > > > > > jni/org_gnu_gnome_About.o(.text+0x12): In function > > > `Java_org_gnu_gnome_About_gnome_1about_1get_1type': > > > jni/org_gnu_gnome_About.c:40: undefined reference to > > > `gnome_about_get_type' > > > > Does gtk lib compile ok? > > > > For gtk, the makefile includes: > > $(CFLAGS) $(GTK_LIBS) $(JAVA_INCLUDES) > > > > For gnome, the makefile includes: > > -L@JG_GTK_LIB_PATH@ -lgtkjava${apiversion} \ > > $(OBJECTS) \ > > $(CFLAGS) $(GNOME_LIBS) $(JAVA_INCLUDES) > > > > Only suggestion I have is to cvs up, ./genblah, autoconf ./configure > > again. > > > > Are you sure you have gnome devel libs installed, including the files > > /usr/lib/pkgconfig/libgnome-2.0.pc > > /usr/lib/pkgconfig/libgnomeui-2.0.pc > Yes I have them, (of course :)), I haven't touched this machine where > Java-Gnome always compiled fine, only I've updated autoconf. > ... > updating cvs and vte packages solves the problem ;). Only GConf libs > haven't been built, it's the same include problem, it seems that > configure doesn't pass the correct values for me: > while it is checking GNOME_CFLAGS, I've noticed that the include flag > for gconf reads -I/usr/include/gconf/2 while should read > -I/usr/include/gconf-2 No it's pkg-config that prints these cflags, it's to distinguish between gconf-1 & 2 so I guess they're correct. -- Luca De Rugeriis <pie...@li...> |