Re: [glade--]Compiling GUI source code error
Christof Petig <[email protected]>
| Newsgroups | gmane.comp.gnome.glademm |
|---|---|
| Organization | Adolf Petig GmbH & Co. KG |
| Message-ID | <[email protected]> |
Hi Christopher,
it's relatively easy to determine wether you mix incompatible compilers
(g++ 2.x and g++ 3.x are not compatible at all (except for same x)).
do a
ldd /usr/lib/libgtkmm.so
(look for the version of libstdc++)
and
g++ --version
g++-3.2 uses ... (ok, I confess libgtkmm.so is not linked to it on my
machine,so the easy ) libstdc++.so.5
and g++-2.95 uses libstdc++-3*
I don't know anything about g++ 2.96 or any other RH specific issues.
To be sure you should only take the compiler and the libgtkmm.so shipped
with your distribution - or compile the libgtkmm.so yourself :-(
Other way:
# strings /usr/lib/libgtkmm.so | fgrep AccelLabel
3.2.2 gives you
_ZTv0_n16_N3Gtk10AccelLabelD1Ev
_ZTCN3Gtk10AccelLabelE0_NS_5LabelE
and 2.95
__vt_Q23Gtk10AccelLabel.Q24SigC12ObjectScoped
__vt_Q23Gtk10AccelLabel
__thunk_24__._Q23Gtk10AccelLabel
I don't know about other compilers.
Christof