After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 114332 - TRu64Unix + cc/cxx: cannot compile
TRu64Unix + cc/cxx: cannot compile
Status: VERIFIED INCOMPLETE
Product: gtkmm
Classification: Bindings
Component: build
2.4
Other OSF/1
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2003-06-03 11:11 UTC by mmokrejs
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description mmokrejs 2003-06-03 11:11:28 UTC
Hi, I have the following problem:

cxx -DHAVE_CONFIG_H -I. -I. -I../.. -I../../glib -I../../gdk -I../../gtk
-I/software/@sys/usr/lib/sigc++-1.2/include
-I/software/@sys/usr/include/sigc++-1.2
-I/software/@sys/usr/include/gtk-2.0
-I/software/@sys/usr/lib/gtk-2.0/include
-I/software/@sys/usr/include/atk-1.0 -I/software/@sys/usr/include/pango-1.0
-I/software/@sys/usr/include/glib-2.0
-I/software/@sys/usr/lib/glib-2.0/include    -I/software/@sys/usr/include
-I/usr/local/include -I/usr/local/openssl/include  -O2 -arch ev56 -Wall -c
-o generate_defs_gtk.o `test -f 'generate_defs_gtk.cc' || echo
'./'`generate_defs_gtk.cc
cxx: Error: generate_defs_gtk.cc, line 32: namespace "std" has no member
          "cout"
  std::cout << get_defs( ATK_TYPE_HYPERLINK )
-------^
cxx: Error: generate_defs_gtk.cc, line 49: namespace "std" has no member
          "cout"
  std::cout << get_defs( GDK_TYPE_COLORMAP )
-------^
cxx: Info: 2 errors detected in the compilation of "generate_defs_gtk.cc".
make[3]: *** [generate_defs_gtk.o] Error 1
make[3]: Leaving directory
`/afs/gsf.de/sources/ev56/gtkmm-2.2.3/tools/extra_defs_gen'
Comment 1 Murray Cumming 2003-06-03 14:11:43 UTC
What distro and compiler are you using?

Have any previous versions of gtkmm 2 compiled for you?
Comment 2 mmokrejs 2003-06-03 15:34:34 UTC
I never tried before gtkmm. I use cc/cxx from the vendor, latest
version. I tried to force C99 mode but that did not help either.

Sorry, I've left "OS" set to linux, although I've set "OS Details" to
proper "TRu64Unix 5.1A". So, it does NOT happen for me on linux. Sorry
for confusion.
Comment 3 Murray Cumming 2003-06-05 14:19:56 UTC
OK, well the error looks kind of silly. std::cout obviously exists.
Maybe your compiler needs some extra #include - it can't be too
difficult. But this is a rare platform, so maybe nobody has ever
ported gtkmm to it.  I look forward to a patch so we can add it to the
list of known-to-work platforms.
Comment 4 mmokrejs 2003-06-23 16:49:20 UTC
Make an account on testing machine available from HP:
http://www.testdrive.hp.com/ - look for Tru64Unix.
Comment 5 Murray Cumming 2003-06-24 07:12:59 UTC
No, people who are _using_ that plaform need to port that platform. 
Why would anybody else take the time? I would need to have vast 
amounts of spare time and curiosity or be paid to do the work. Sorry, 
but that's the reality.
Comment 6 Murray Cumming 2003-06-24 07:30:09 UTC
Sorry if that seemed rude. I just wanted to make the status of this
bug clear.
Comment 7 alexander.winston 2004-01-30 13:59:07 UTC
Adding the GNOMEVER2.2 and portability keywords.
Comment 8 Murray Cumming 2004-03-12 11:22:06 UTC
By the way, please test libsigc++ 2 (1.9.X) on your platform.
Comment 9 Murray Cumming 2005-01-28 14:56:11 UTC
gtkmm now builds with the Tru64 compiler - see the NEWS file. You probably do 
need to use the -std compiler option.