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

Re: The GEL lib (NILS read this!)





On Sat, 12 Feb 2000, Nils Barth wrote:

> Thus spake George:
> > On Fri, Feb 11, 2000 at 07:42:28PM -0500, Nils Barth wrote:
> > > Aha!
> > > Now ./configure works (once I added ncurses-devel)
> > > However, I still can't `make':
> > > genius.c:43: termcap.h: No such file or directory
> > > make[2]: *** [genius.o] Error 1
> > 
> > Ok, try now, it should now use the correct include.  It also defaults to
> > checking for ncurses, and uses termcap as a fallback
> 
> Yay!
> Now that compiles, but then I get a further error:
> 
> /usr/lib/libgtk.a(gtkentry.o): In function `gtk_entry_set_max_length':
> gtkentry.o(.text+0x3570): multiple definition of `gtk_entry_set_max_length'
> ./canvas/libcanvas.a(gtkitementry.o):/home/nbarth/docs/software/drgenius/dr-genius/canvas/gtkitementry.c:1931: first defined here
> /usr/bin/ld: Warning: size of symbol `gtk_entry_set_max_length' changed from 154 to 141 in gtkentry.o
> /usr/lib/libgtk.a(gtkentry.o): In function `gtk_entry_select_region':
> gtkentry.o(.text+0x3550): multiple definition of `gtk_entry_select_region'
> ./canvas/libcanvas.a(gtkitementry.o):/home/nbarth/docs/software/drgenius/dr-genius/canvas/gtkitementry.c:1924: first defined here
> /usr/bin/ld: Warning: size of symbol `gtk_entry_select_region' changed from 39 to 24 in gtkentry.o
> collect2: ld returned 1 exit status
> make[2]: *** [dr-genius] Error 1
> make[2]: Leaving directory `/home/nbarth/docs/software/drgenius/dr-genius'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/nbarth/docs/software/drgenius/dr-genius'
> make: *** [all-recursive-am] Error 2
> 

What the ...?? The errors come from gtkitementry, a 3rd party widget I am
using. I don't get these errors. Try upgrading your C and C++ compilers
and your GTK library. I know that we require at least gtk 1.2.X, and there
have been some issues with gcc 2.7.2.3 that I have not had time to resolve
- but will look into, code portability is very important to me.

> ...that stops me from compiling.
> 
> Okay, I'll go close bug #5581, since both issues (GEL syntax error and
> termcap dependence) have been resolved.
> -- 
>   -nils
>