Compile Problems, Linux x86 Slack

Torsten Howard (torsten@inetw.net)
Sat, 05 Dec 1998 15:48:44 -0500


Hello,
I have some compile problems. I do not have plans to find and fix them until I
finish finals a week from wednesday. I have GTK 1.0.5

bigdell:/usr/local/include/gtk$ grep VER *
gtkenums.h: GTK_ORIENTATION_VERTICAL
gtkfeatures.h:#define GTK_MAJOR_VERSION (1)
gtkfeatures.h:#define GTK_MINOR_VERSION (0)
gtkfeatures.h:#define GTK_MICRO_VERSION (5)
bigdell:/usr/local/include/gtk$

I simply typed "make" to see what happens:
I would assume the use of .cpp implies gtk--? And gtk development version, or no?

Misc. ?: How portable is C++? I have had a hard time cross-compiling small Win/Linuxx86
C++ apps I've written myself. (MSVC/g++/gcc).
When do the mailing-list archives become searchable?

Thanks,
Torsten

"Make" output, linux slackware 3.0, gtk+-1.0.5, more?
-----------------------------------------------------

parseAFM.c: In function `recognize':
parseAFM.c:219: warning: declaration of `ident' shadows global declaration
In file included from ps_Font.cpp:22:
/usr/include/malloc.h:109: warning: `struct mstats mstats()' hides constructor for
`struct mstats'
/usr/include/malloc.h:130: warning: `struct mallinfo mallinfo()' hides constructor
for `struct mallinfo'
/usr/include/g++/iostream.h: In method `ostream::ostream()':
In file included from /usr/include/g++/fstream.h:30,
from ps_Fontmap.cpp:22:
/usr/include/g++/iostream.h:49: warning: declaration of `_vt.7ostream.3ios' shadows
global declaration
/usr/include/g++/iostream.h: In method `istream::istream()':
/usr/include/g++/iostream.h:120: warning: declaration of `_vt.7istream.3ios' shadows
global declaration
/usr/include/g++/iostream.h: In method `iostream::iostream()':
/usr/include/g++/iostream.h:224: warning: declaration of `_vt.8iostream.3ios'
shadows global declaration
/usr/include/g++/fstream.h: In method `ifstream::ifstream()':
In file included from ps_Fontmap.cpp:22:
/usr/include/g++/fstream.h:61: warning: declaration of `_vt.8ifstream.3ios' shadows
global declaration
/usr/include/g++/fstream.h: In method `ifstream::ifstream(int)':
/usr/include/g++/fstream.h:62: warning: declaration of `_vt.8ifstream.3ios' shadows
global declaration
/usr/include/g++/fstream.h: In method `ifstream::ifstream(int, char *, int)':
/usr/include/g++/fstream.h:63: warning: declaration of `_vt.8ifstream.3ios' shadows
global declaration
/usr/include/g++/fstream.h: In method `ifstream::ifstream(const char *, int, int)':
/usr/include/g++/fstream.h:65: warning: declaration of `_vt.8ifstream.3ios' shadows
global declaration
/usr/include/g++/fstream.h: In method `ofstream::ofstream()':
/usr/include/g++/fstream.h:72: warning: declaration of `_vt.8ofstream.3ios' shadows
global declaration
/usr/include/g++/fstream.h: In method `ofstream::ofstream(int)':
/usr/include/g++/fstream.h:73: warning: declaration of `_vt.8ofstream.3ios' shadows
global declaration
/usr/include/g++/fstream.h: In method `ofstream::ofstream(int, char *, int)':
/usr/include/g++/fstream.h:74: warning: declaration of `_vt.8ofstream.3ios' shadows
global declaration
/usr/include/g++/fstream.h: In method `ofstream::ofstream(const char *, int, int)':
/usr/include/g++/fstream.h:76: warning: declaration of `_vt.8ofstream.3ios' shadows
global declaration
/usr/include/g++/fstream.h: In method `fstream::fstream()':
/usr/include/g++/fstream.h:83: warning: declaration of `_vt.7fstream.3ios' shadows
global declaration
/usr/include/g++/fstream.h: In method `fstream::fstream(int)':
/usr/include/g++/fstream.h:84: warning: declaration of `_vt.7fstream.3ios' shadows
global declaration
/usr/include/g++/fstream.h: In method `fstream::fstream(const char *, int, int)':
/usr/include/g++/fstream.h:86: warning: declaration of `_vt.7fstream.3ios' shadows
global declaration
/usr/include/g++/fstream.h: In method `fstream::fstream(int, char *, int)':
/usr/include/g++/fstream.h:87: warning: declaration of `_vt.7fstream.3ios' shadows
global declaration
ps_Fontmap.cpp: In method `unsigned char ps_Fontmap::mapFontName(const char *, const
char *, const char *, const char *, char *,
long unsigned int)':
ps_Fontmap.cpp:130: warning: unused parameter `const char * szFace'
In file included from ev_UnixMenu.cpp:29:
ev_UnixMenu.h:73: syntax error before `*'
ev_UnixMenu.h:74: syntax error before `*'
ev_UnixMenu.h:75: syntax error before `*'
ev_UnixMenu.cpp: In function `static void _wd::s_onActivate(void **, unsigned int,
struct _GtkWidget *)':
ev_UnixMenu.cpp:57: warning: unused parameter `struct _GtkWidget * widget'
ev_UnixMenu.cpp: In function `static void _wd::s_onInitMenu(struct _GtkMenuItem *,
void *)':
ev_UnixMenu.cpp:70: warning: unused parameter `struct _GtkMenuItem * menuItem'
ev_UnixMenu.cpp: In method `unsigned char EV_UnixMenu::synthesize()':
ev_UnixMenu.cpp:188: `m_wAccelGroup' undeclared (first use this function)
ev_UnixMenu.cpp:188: (Each undeclared identifier is reported only once
ev_UnixMenu.cpp:188: for each function it appears in.)
ev_UnixMenu.cpp:188: warning: implicit declaration of function `int
gtk_accel_group_new(...)'
ev_UnixMenu.cpp:190: `m_wMenuBarItemFactory' undeclared (first use this function)
ev_UnixMenu.cpp:190: warning: implicit declaration of function `int
gtk_item_factory_new(...)'
ev_UnixMenu.cpp:190: `GTK_TYPE_MENU_BAR' undeclared (first use this function)
ev_UnixMenu.cpp:196: `m_menuFactoryItems' undeclared (first use this function)
ev_UnixMenu.cpp:196: `GtkItemFactoryEntry' undeclared (first use this function)
ev_UnixMenu.cpp:196: parse error before `)'
ev_UnixMenu.cpp:250: warning: implicit declaration of function `int
gtk_item_factory_create_items(...)'
ev_UnixMenu.cpp:255: warning: implicit declaration of function `int
gtk_accel_group_attach(...)'
ev_UnixMenu.cpp:257: warning: implicit declaration of function `int
gtk_item_factory_get_widget(...)'
ev_UnixMenu.cpp: In method `void EV_UnixMenu::_append_NormalItem(char *, const char
*, int, unsigned char)':
ev_UnixMenu.cpp:364: `GtkItemFactoryEntry' undeclared (first use this function)
ev_UnixMenu.cpp:364: `p' undeclared (first use this function)
ev_UnixMenu.cpp:364: `m_menuFactoryItems' undeclared (first use this function)
ev_UnixMenu.cpp:377: `GtkItemFactoryCallback' undeclared (first use this function)
ev_UnixMenu.cpp:377: parse error before `::'
ev_UnixMenu.cpp: In method `void EV_UnixMenu::_append_SubMenu(char *, const char *,
int)':
ev_UnixMenu.cpp:391: `GtkItemFactoryEntry' undeclared (first use this function)
ev_UnixMenu.cpp:391: `p' undeclared (first use this function)
ev_UnixMenu.cpp:391: `m_menuFactoryItems' undeclared (first use this function)
ev_UnixMenu.cpp: In method `void EV_UnixMenu::_append_Separator(char *, int)':
ev_UnixMenu.cpp:444: `GtkItemFactoryEntry' undeclared (first use this function)
ev_UnixMenu.cpp:444: `p' undeclared (first use this function)
ev_UnixMenu.cpp:444: `m_menuFactoryItems' undeclared (first use this function)
ev_UnixMenu.cpp:453: `GtkItemFactoryCallback' undeclared (first use this function)
ev_UnixMenu.cpp:453: parse error before `::'
ev_UnixMenu.cpp: In method `unsigned char EV_UnixMenu::_refreshMenu(class AV_View
*)':
ev_UnixMenu.cpp:514: `m_wMenuBarItemFactory' undeclared (first use this function)
ev_UnixMenu.cpp:559: warning: implicit declaration of function `int
gtk_item_factory_delete_item(...)'
ev_UnixMenu.cpp:604: `GtkTypeObject' undeclared (first use this function)
ev_UnixMenu.cpp:604: parse error before `)'
ev_UnixMenu.cpp:609: `GtkItemFactoryEntry' undeclared (first use this function)
ev_UnixMenu.cpp:609: `p' undeclared (first use this function)
ev_UnixMenu.cpp:609: `m_menuFactoryItems' undeclared (first use this function)
ev_UnixMenu.cpp:616: `GtkItemFactoryCallback' undeclared (first use this function)
ev_UnixMenu.cpp:616: parse error before `::'
ev_UnixMenu.cpp:630: warning: implicit declaration of function `int
gtk_item_factory_create_item(...)'
ev_UnixMenu.cpp: In method `const char * EV_UnixMenu::_getItemPath(int) const':
ev_UnixMenu.cpp:656: `m_menuFactoryItems' undeclared (first use this function)
ev_UnixMenu.cpp:662: warning: control reaches end of non-void function
`EV_UnixMenu::_getItemPath(int) const'
ev_UnixMenu.cpp: In method `unsigned char EV_UnixMenu::_isItemPresent(int) const':
ev_UnixMenu.cpp:668: `m_menuFactoryItems' undeclared (first use this function)
make[3]: *** [Linux_2.0.35_i386_DBG/ev_UnixMenu.o] Error 1
make[2]: *** [build] Error 2
make[1]: *** [build] Error 2
make: *** [abiword] Error 2
bigdell:~/abi-0.3.0$



This archive was generated by hypermail 1.03b2.