gwhere-discussion
[Top][All Lists]
Advanced

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

[GWhere-discussion] Re: compile failure: 0.1.0 (Linux)


From: Zero
Subject: [GWhere-discussion] Re: compile failure: 0.1.0 (Linux)
Date: Wed, 08 Jan 2003 07:53:58 GMT

Hi,

I think you use GTK 1.2. In support.h, you must replace :
#ifndef G_HAVE_GINT64
typdef guint64 guint32;
#define G_MAXUINT64 G_MAXULONG
#define G_GUINT64_FORMAT "u"
#endif by
#ifndef G_HAVE_GINT64
typdef guint64 guint32;
#define G_MAXUINT64 G_MAXULONG
#define G_GUINT64_FORMAT "u"
#elif defined ( HAVE_GTK12)
#define G_GUINT64_FORMAT "I64u"
#endif
I will send you a patch, sorry. :-/
I propose to continue the discussions of development on list gwhere-devel.

I am getting a compile error when I try to compile the 0.1.0 source on
my Linux system. It complains about G_GUINT64_FORMAT being undeclared.
See below:
=== BEGIN ===
...
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl      -I../src/res
-I../src/tools  -I../src/data   -I../src/gui    -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-DOS_LINUX    -g -O2 -Wall -c support.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl      -I../src/res
-I../src/tools  -I../src/data   -I../src/gui    -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-DOS_LINUX    -g -O2 -Wall -c Catalog.c
Catalog.c: In function `catalog_add_disk':
Catalog.c:740: warning: unused variable `size'
Catalog.c: In function `catalog_disk_info_to_file':
Catalog.c:1989: `G_GUINT64_FORMAT' undeclared (first use in this
function)
Catalog.c:1989: (Each undeclared identifier is reported only once
Catalog.c:1989: for each function it appears in.)
make[3]: *** [Catalog.o] Error 1
make[3]: Leaving directory `/home/joe/projects/gwhere-devel/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/joe/projects/gwhere-devel/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/joe/projects/gwhere-devel'
make: *** [all-recursive-am] Error 2
=== END ===
I noticed that Catalog.c has a #include for support.h, which looks like
it #defines G_GUINT64_FORMAT. So, I am confused why this error occurs. Any ideas? - Joe

_______________________________________________
GWhere-discussion mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/gwhere-discussion



Best regards,
Zero
Main author,
GWhere - Another way to manage your catalogs!!
http://www.gwhere.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]