Menu

#20 Compilation Fails On sw_bookmarks.cpp

closed
None
5
2012-09-15
2002-11-02
Jason Flatt
No

I have installed gcc 3.2, sword 1.5.5, gnomelibs 1.4.1.7 and gtk+
1.2.10. I'm not sure what else you may want to know.

While compiling gnomesword I get the following:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gnome-1.0
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0
-I/usr/include/gtk-1.2 -I/usr/X11R6/include
-I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
'-I/usr/include/sword' -g -I/usr/include -I/usr/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/usr/include/gnome-1.0 -I/usr/include/freetype2
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include
-I/usr/include/gnome-xml -I/usr/include/libglade-1.0
-I/usr/include/gnome-1.0/ -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
'-I/usr/include/sword' -g -c -o sw_bookmarks.o test -f sw_bookmarks.cpp || echo './'sw_bookmarks.cpp
cc1plus: warning: changing search order for system directory
"/usr/include"
cc1plus: warning: as it has already been specified as a non-system
directory
sw_bookmarks.cpp:58: string' was not declared in this scope sw_bookmarks.cpp:58: 'list' is used as a type, but is not defined as a type. sw_bookmarks.cpp:62: type specifier omitted for parameterSWConfig'
sw_bookmarks.cpp:62: parse error before *' token sw_bookmarks.cpp: In functionvoid AddSection(...)':
sw_bookmarks.cpp:64: SectionMap' undeclared (first use this function) sw_bookmarks.cpp:64: (Each undeclared identifier is reported only once for each function it appears in.) sw_bookmarks.cpp:64: parse error before::' token
sw_bookmarks.cpp:66: ConfigEntMap' undeclared (first use this function) sw_bookmarks.cpp:79:sit' undeclared (first use this function)
sw_bookmarks.cpp:79: config' undeclared (first use this function) sw_bookmarks.cpp:79:section' undeclared (first use this function)
sw_bookmarks.cpp:80: eit' undeclared (first use this function) sw_bookmarks.cpp:93:ctree' undeclared (first use this function)
sw_bookmarks.cpp:93: parent' undeclared (first use this function) sw_bookmarks.cpp: In functionvoid loadbookmarks(GtkWidget*)':
sw_bookmarks.cpp:108: SWConfig' undeclared (first use this function) sw_bookmarks.cpp:108:bookmarkInfo' undeclared (first use this
function)
sw_bookmarks.cpp:109: parse error before ::' token sw_bookmarks.cpp:125: parse error before(' token
sw_bookmarks.cpp:135: bmfiles' undeclared (first use this function) sw_bookmarks.cpp:152: parse error before(' token
sw_bookmarks.cpp:176: parse error before (' token sw_bookmarks.cpp: At global scope: sw_bookmarks.cpp:205: parse error before,' token
sw_bookmarks.cpp: In function void AddSectionToConf(...)': sw_bookmarks.cpp:208: parse error before;' token
sw_bookmarks.cpp:212: node' undeclared (first use this function) sw_bookmarks.cpp:221: parse error before::' token
sw_bookmarks.cpp: In function void savebookmarks(GtkWidget*)': sw_bookmarks.cpp:241:bmconf' undeclared (first use this function)
sw_bookmarks.cpp:242: ConfigEntMap' undeclared (first use this function) sw_bookmarks.cpp:242: parse error before;' token
sw_bookmarks.cpp:244: list' undeclared (first use this function) sw_bookmarks.cpp:244:string' undeclared (first use this function)
sw_bookmarks.cpp:244: ::iterator' undeclared (first use here) sw_bookmarks.cpp:244: parse error before;' token
sw_bookmarks.cpp:249: it' undeclared (first use this function) sw_bookmarks.cpp:276: parse error before(' token
sw_bookmarks.cpp:277: emap' undeclared (first use this function) sw_bookmarks.cpp:282: parse error before::' token
sw_bookmarks.cpp:291: parse error before (' token sw_bookmarks.cpp:297: parse error before::' token
sw_bookmarks.cpp: In function void createbookmarksBM(gchar*)': sw_bookmarks.cpp:316:SWConfig' undeclared (first use this
function)
sw_bookmarks.cpp:316: parse error before (' token sw_bookmarks.cpp:318:bmInfo' undeclared (first use this function)

Discussion


Log in to post a comment.