Problems compiling gnome-pilot from CVS



Hello,

I have a fresh checkout of gnome-pilot and pilot-link from CVS. pilot-link is installed in /usr and working.

I configure gnome-pilot with ./autogen.sh --prefix=/usr --with-pisock=/usr
This configuration is reported after autogen.sh is ran:

             gnome-vfs    : yes
             network sync : yes
             usb          : yes
             oaf          : no
             gob          : yes
             pilot-link   : 0.9.6

When I run make, the compilation stops in /usr/src/gnome-pilot/libgpilotdCM/gnome-pilot-conduit-management.c. I get a busload of errors, most of which seems to have to do with gob. I have a RedHat 7.0 system, with gob 1.10 and gcc 2.96-69. Can anyone tell me what's going wrong? Complete error output below:

--------------------------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I.. -I../gpilotd -I../libgpilotdCM -DG_LOG_DOMAIN=\"libgpilotdcm\" -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 -I/usr/X11R6/include -I/usr/include -DGP_PILOT_LINK_VERSION=\"0.9.6\" -DCONDUITDIR=\"/usr\" -g -O2 -Wp,-MD,.deps/gnome-pilot-conduit-management.pp -c gnome-pilot-conduit-management.c -fPIC -DPIC -o .libs/gnome-pilot-conduit-management.lo

In file included from /usr/include/i18n.h:5,
                from /usr/include/pi-source.h:72,
                from /usr/local/include/gpilotd/gnome-pilot-dbinfo.h:29,
                from /usr/local/include/gpilotd/gnome-pilot-conduit.h:29,
                from gnome-pilot-conduit-management.h:16,
                from gnome-pilot-conduit-management.c:10:
/usr/include/libintl.h:102:17: warning: "gettext" redefined
/usr/include/libgnome/gnome-i18n.h:31:1: warning: this is the location of the previous definition
/usr/include/libintl.h:104:18: warning: "dgettext" redefined
/usr/include/libgnome/gnome-i18n.h:32:1: warning: this is the location of the previous definition
In file included from /usr/include/pi-source.h:72,
                from /usr/local/include/gpilotd/gnome-pilot-dbinfo.h:29,
                from /usr/local/include/gpilotd/gnome-pilot-conduit.h:29,
                from gnome-pilot-conduit-management.h:16,
                from gnome-pilot-conduit-management.c:10:
/usr/include/i18n.h:6:12: warning: "_" redefined
/usr/include/libgnome/gnome-i18n.h:35:1: warning: this is the location of the previous definition
In file included from /usr/include/i18n.h:6,
                from /usr/include/pi-source.h:73,
                from /usr/local/include/gpilotd/gnome-pilot-dbinfo.h:30,
                from /usr/local/include/gpilotd/gnome-pilot-conduit.h:30,
                from gnome-pilot-conduit-management.h:17,
                from gnome-pilot-conduit-management.c:11:
/usr/include/libintl.h:34: parse error before `__const'
/usr/include/libintl.h:38: parse error before `__const'
/usr/include/libintl.h:45: parse error before `__const'
/usr/include/libintl.h:75: parse error before `__const'
/usr/include/libintl.h:79: parse error before `__const'In file included from gnome-pilot-conduit-management.c:11:
gnome-pilot-conduit-management.h:112: parse error before `GPilotPilot'
In file included from gnome-pilot-conduit-management.c:13:
gnome-pilot-conduit-management.gob:127: parse error before `GnomePilotConduitOldLoadFunc' gnome-pilot-conduit-management.gob:127: warning: no semicolon at end of struct or union
gnome-pilot-conduit-management-private.h:26: parse error before `}'
gnome-pilot-conduit-management.c:162: parse error before `GPilotPilot'
gnome-pilot-conduit-management.c: In function `gnome_pilot_conduit_management_init':
gnome-pilot-conduit-management.c:195: sizeof applied to an incomplete type
gnome-pilot-conduit-management.gob: In function `gnome_pilot_conduit_management_new': gnome-pilot-conduit-management.gob:201: dereferencing pointer to incomplete type gnome-pilot-conduit-management.gob:202: dereferencing pointer to incomplete type gnome-pilot-conduit-management.gob: In function `gnome_pilot_conduit_management_get_name': gnome-pilot-conduit-management.gob:540: dereferencing pointer to incomplete type gnome-pilot-conduit-management.gob: In function `gnome_pilot_conduit_management_get_id': gnome-pilot-conduit-management.gob:546: dereferencing pointer to incomplete type gnome-pilot-conduit-management.gob: In function `gnome_pilot_conduit_management_get_attribute_list': gnome-pilot-conduit-management.gob:601: dereferencing pointer to incomplete type gnome-pilot-conduit-management.gob:603: dereferencing pointer to incomplete type gnome-pilot-conduit-management.gob: In function `gnome_pilot_conduit_management_get_attribute': gnome-pilot-conduit-management.gob:628: dereferencing pointer to incomplete type gnome-pilot-conduit-management.gob:633: dereferencing pointer to incomplete type gnome-pilot-conduit-management.gob: In function `gnome_pilot_conduit_management_shlib_loader': gnome-pilot-conduit-management.gob:648: dereferencing pointer to incomplete type gnome-pilot-conduit-management.gob:649: dereferencing pointer to incomplete type gnome-pilot-conduit-management.gob:670: dereferencing pointer to incomplete type gnome-pilot-conduit-management.gob:671: dereferencing pointer to incomplete type gnome-pilot-conduit-management.gob:674: dereferencing pointer to incomplete type gnome-pilot-conduit-management.gob:682: dereferencing pointer to incomplete type gnome-pilot-conduit-management.gob:688: dereferencing pointer to incomplete type
gnome-pilot-conduit-management.gob: At top level:
gnome-pilot-conduit-management.gob:697: parse error before `GPilotPilot'
gnome-pilot-conduit-management.gob: In function `gnome_pilot_conduit_management_instantiate_conduit': gnome-pilot-conduit-management.gob:696: `self' undeclared (first use in this function) gnome-pilot-conduit-management.gob:696: (Each undeclared identifier is reported only once
gnome-pilot-conduit-management.gob:696: for each function it appears in.)
gnome-pilot-conduit-management.gob:696: `pilot' undeclared (first use in this function) gnome-pilot-conduit-management.gob:696: `instance' undeclared (first use in this function) gnome-pilot-conduit-management.gob:707: case label not within a switch statement gnome-pilot-conduit-management.gob:709: break statement not within loop or switch gnome-pilot-conduit-management.gob:710: default label not within a switch statement gnome-pilot-conduit-management.gob:712: break statement not within loop or switch gnome-pilot-conduit-management.gob: In function `gnome_pilot_conduit_management_destroy_conduit': gnome-pilot-conduit-management.gob:735: dereferencing pointer to incomplete type gnome-pilot-conduit-management.gob:736: dereferencing pointer to incomplete type
make[2]: *** [gnome-pilot-conduit-management.lo] Error 1
make[2]: Leaving directory `/usr/src/gnome-pilot/libgpilotdCM'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gnome-pilot'
make: *** [all-recursive-am] Error 2
[havardw lupus gnome-pilot]$ rpm -q gcc
--------------------------------------------------------------


--
  Håvard

mailto:havardw stud ntnu no||http://www.stud.ntnu.no/~havardw <http://www.stud.ntnu.no/%7Ehavardw>||73 52 55 76
All it takes to start an avalanche is a single snowflake||Or a snowboarder
       Oh! Un Fraggle! Regarde, maman! J'ai attrapé un Fraggle!







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