Re: can't compile 0.12 under linux




g_snprintf is include w/ glib from gtk+ 0.99.2
I believe you're having the same problem that
initially had.  First, make sure you have uninstalled
the gtk rpms that come w/ Red Hat.  They don't have
the function in them.  My problem was that I uninstalled
gtk, but forgot the gtk-devel package (which includes the
old header files).  When I compiled, it was finding the
old include files instead of the new ones I had installed
in /usr/local/.

Uninstalling gtk-devel worked for me.  I would assume
that your problem is along the same lines.

jason

On Mon, 26 Jan 1998, Chuck Musser wrote:

> Making all in libgnome
> make[2]: Entering directory `/usr/local/src/gnome-0.12/libgnome'
> /bin/sh ../libtool --mode=link gcc -g -O2  -I/usr/X11R6/include  -o 
> gnome-score-helper  gnome-score-helper.o ../libgnome/libgnome.la -lgdk 
> -lglib -L/usr/X11R6/lib -lX11  -lXext -lSM -lICE ../intl/libintl.a
> gcc -g -O2 -I/usr/X11R6/include -o .libs/gnome-score-helper 
> gnome-score-helper.o -Wl,-rpath -Wl,/usr/lib 
> ../libgnome/.libs/libgnome.so -lgdk -lglib -L/usr/X11R6/lib -lX11 
> -lXext -lSM -lICE ../intl/libintl.a
> gnome-score-helper.o: In function `gnome_get_program_name':
> /usr/local/src/gnome-0.12/libgnome/gnome-score-helper.c:69: undefined 
> reference to `g_snprintf'
> /usr/local/src/gnome-0.12/libgnome/gnome-score-helper.c:97: undefined 
> reference to `g_snprintf'
> collect2: ld returned 1 exit status
> make[2]: *** [gnome-score-helper] Error 1
> make[2]: Leaving directory `/usr/local/src/gnome-0.12/libgnome'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/gnome-0.12'
> make: *** [all-recursive-am] Error 2
> tesseract:/usr/local/src/gnome-0.12$



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]