List Info

Thread: compile error G_TRAVERSE_LEAVES undeclared




compile error G_TRAVERSE_LEAVES undeclared
user name
2006-05-30 10:57:04
Hi,

Using up2date SLES9, gmime 2 got from Suse Linux 9.3 rpm, as
SLES9 does 
not ship any version of gmime. Other dependencies also
satisfied from 
Suse Linux 9.3 rpm's. asciidoc is the only one installed
from "source".

linux:~/dbmail # rpm -q gmime
gmime-2.1.13-6
linux:~/dbmail # rpm -q gmime-devel
gmime-devel-2.1.13-6

During "make install" I get this:

...
  gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 
-I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib/glib-2.0/include 
-I/usr/include/gmime-2.0 -I/opt/gnome/include/glib-2.0 
-I/opt/gnome/lib/glib-2.0/include -W -Wall -Wpointer-arith 
-Wstrict-prototypes -MT libdbmail_la-dbmail-message.lo -MD
-MP -MF 
.deps/libdbmail_la-dbmail-message.Tpo -c dbmail-message.c 
-fPIC -DPIC 
-o .libs/libdbmail_la-dbmail-message.o
dbmail-message.c:125: warning: `dump_to_file' defined but
not used
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I. -I. 
    -g -O2 -I/opt/gnome/include/glib-2.0 
-I/opt/gnome/lib/glib-2.0/include   -I/usr/include/gmime-2.0

-I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib/glib-2.0/include   -W 
-Wall -Wpointer-arith -Wstrict-prototypes -MT 
libdbmail_la-dbmail-mailbox.lo -MD -MP -MF 
".deps/libdbmail_la-dbmail-mailbox.Tpo" -c -o 
libdbmail_la-dbmail-mailbox.lo `test -f 'dbmail-mailbox.c'
|| echo 
'./'`dbmail-mailbox.c; \
then mv -f
".deps/libdbmail_la-dbmail-mailbox.Tpo" 
".deps/libdbmail_la-dbmail-mailbox.Plo"; else rm
-f 
".deps/libdbmail_la-dbmail-mailbox.Tpo"; exit 1;
fi
  gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 
-I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib/glib-2.0/include 
-I/usr/include/gmime-2.0 -I/opt/gnome/include/glib-2.0 
-I/opt/gnome/lib/glib-2.0/include -W -Wall -Wpointer-arith 
-Wstrict-prototypes -MT libdbmail_la-dbmail-mailbox.lo -MD
-MP -MF 
.deps/libdbmail_la-dbmail-mailbox.Tpo -c dbmail-mailbox.c 
-fPIC -DPIC 
-o .libs/libdbmail_la-dbmail-mailbox.o
dbmail-mailbox.c: In function `_merge_search':
dbmail-mailbox.c:1500: error: `G_TRAVERSE_LEAVES'
undeclared (first use 
in this function)
dbmail-mailbox.c:1500: error: (Each undeclared identifier is
reported 
only once
dbmail-mailbox.c:1500: error: for each function it appears
in.)
make[1]: *** [libdbmail_la-dbmail-mailbox.lo] Error 1
make[1]: Leaving directory `/root/dbmail'
make: *** [install-recursive] Error 1

Could it be, that I need an even newer version of gmime. The
wiki 
mentions "GMime: 2.1+".

Thanks.
_______________________________________________
Dbmail mailing list
Dbmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
compile error G_TRAVERSE_LEAVES undeclared
user name
2006-05-30 12:49:17
Alex,

This means you're glib version is too old: 2.6+ is
required.

What version of glib are you using?


Alex wrote:
> Hi,
> 
> Using up2date SLES9, gmime 2 got from Suse Linux 9.3
rpm, as SLES9 does
> not ship any version of gmime. Other dependencies also
satisfied from
> Suse Linux 9.3 rpm's. asciidoc is the only one
installed from "source".
> 
> linux:~/dbmail # rpm -q gmime
> gmime-2.1.13-6
> linux:~/dbmail # rpm -q gmime-devel
> gmime-devel-2.1.13-6
> 
> During "make install" I get this:
> 
> ...
>  gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2
> -I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib/glib-2.0/include
> -I/usr/include/gmime-2.0 -I/opt/gnome/include/glib-2.0
> -I/opt/gnome/lib/glib-2.0/include -W -Wall
-Wpointer-arith
> -Wstrict-prototypes -MT libdbmail_la-dbmail-message.lo
-MD -MP -MF
> .deps/libdbmail_la-dbmail-message.Tpo -c
dbmail-message.c  -fPIC -DPIC
> -o .libs/libdbmail_la-dbmail-message.o
> dbmail-message.c:125: warning: `dump_to_file' defined
but not used
> if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I. -I.
>    -g -O2 -I/opt/gnome/include/glib-2.0
> -I/opt/gnome/lib/glib-2.0/include  
-I/usr/include/gmime-2.0
> -I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib/glib-2.0/include   -W
> -Wall -Wpointer-arith -Wstrict-prototypes -MT
> libdbmail_la-dbmail-mailbox.lo -MD -MP -MF
> ".deps/libdbmail_la-dbmail-mailbox.Tpo" -c
-o
> libdbmail_la-dbmail-mailbox.lo `test -f
'dbmail-mailbox.c' || echo
> './'`dbmail-mailbox.c; \
> then mv -f
".deps/libdbmail_la-dbmail-mailbox.Tpo"
> ".deps/libdbmail_la-dbmail-mailbox.Plo";
else rm -f
> ".deps/libdbmail_la-dbmail-mailbox.Tpo";
exit 1; fi
>  gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2
> -I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib/glib-2.0/include
> -I/usr/include/gmime-2.0 -I/opt/gnome/include/glib-2.0
> -I/opt/gnome/lib/glib-2.0/include -W -Wall
-Wpointer-arith
> -Wstrict-prototypes -MT libdbmail_la-dbmail-mailbox.lo
-MD -MP -MF
> .deps/libdbmail_la-dbmail-mailbox.Tpo -c
dbmail-mailbox.c  -fPIC -DPIC
> -o .libs/libdbmail_la-dbmail-mailbox.o
> dbmail-mailbox.c: In function `_merge_search':
> dbmail-mailbox.c:1500: error: `G_TRAVERSE_LEAVES'
undeclared (first use
> in this function)
> dbmail-mailbox.c:1500: error: (Each undeclared
identifier is reported
> only once
> dbmail-mailbox.c:1500: error: for each function it
appears in.)
> make[1]: *** [libdbmail_la-dbmail-mailbox.lo] Error 1
> make[1]: Leaving directory `/root/dbmail'
> make: *** [install-recursive] Error 1
> 
> Could it be, that I need an even newer version of
gmime. The wiki
> mentions "GMime: 2.1+".
> 
> Thanks.
> _______________________________________________
> Dbmail mailing list
> Dbmaildbmail.org
> htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
> 

-- 
 
____________________________________________________________
____
  Paul Stevens                                      paul at
nfg.nl
  NET FACILITIES GROUP                     GPG/PGP:
1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
Dbmail mailing list
Dbmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
compile error G_TRAVERSE_LEAVES undeclared
user name
2006-05-30 14:17:32
Paul J Stevens wrote:
> Alex,
> 
> This means you're glib version is too old: 2.6+ is
required.

Thanks, that was it. Again I got the glib2 2.6.x RPM from
SL9.3. One has 
to replace and add quite a lot of packages, to get dbmail
compiled on SLES9.

Anyway, could these requirements and checks be in the
configure script? 
SLES9 ships with glib 2.2. The configure script should also
check for 
asciidoc and xmlto and probably others.

Alex
_______________________________________________
Dbmail mailing list
Dbmaildbmail.org
htt
ps://mailman.fastxs.nl/mailman/listinfo/dbmail
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )