Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3374 - gabber 0.8.7-r1 gcc 3.1 compile fix
Summary: gabber 0.8.7-r1 gcc 3.1 compile fix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
: 3606 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-06-04 08:59 UTC by Thomas Weidner
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
my patch (gabber-0.8.7-r1-compilefix.patch,586 bytes, text/plain)
2002-06-04 09:01 UTC, Thomas Weidner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Weidner 2002-06-04 08:59:26 UTC
while compiling gabber i got a little compiler error,it was easy to fix,so i'll submit the patch,pls include the patch.
Comment 1 Thomas Weidner 2002-06-04 09:01:07 UTC
Created attachment 1333 [details]
my patch
Comment 2 Francisco Gimeno 2002-06-19 05:44:17 UTC
*** Bug 3606 has been marked as a duplicate of this bug. ***
Comment 3 tuxisuau 2002-06-20 05:32:23 UTC
It still doesnt work after i did apply your patch.

g++ -march=athlon -O3 -pipe -Wall -Wno-unused -s -o gabber main.o gtkspell.o
gtkurl.o xtext.o AddContactDruid.o AgentInterface.o AutoAway.o
BaseGabberWindow.o ChatView.o ConfigManager.o ContactInfoInterface.o
ContactInterface.o DebugInterface.o ErrorManager.o FilterInterface.o
FTInterface.o GabberApp.o GabberGPG.o GabberLogger.o GabberUtility.o
GabberWidgets.o GabberWin.o GCInterface.o GPGInterface.o GroupsInterface.o
IgnoreInterface.o MessageManager.o MessageViews.o PrefsInterface.o
RosterInterface.o RosterView.o S10nInterface.o StatusInterface.o
TCPTransmitter.o WelcomeDruid.o SSLAdapter.o -rdynamic -rdynamic  -L/usr/lib
-L/usr/X11R6/lib /usr/lib/libgnomemm.so -ldl -lXi -lXext -lX11 -lm
/usr/lib/libgtkmm.so -ldl -lXi -lXext -lX11 -lm /usr/lib/libgdkmm.so
/usr/lib/libsigc.so /usr/lib/libgal.so -ldl -lXi -lXext -lX11 -lm
/usr/lib/libgnomeprint.so /usr/lib/libfreetype.so /usr/lib/libglade-gnome.so
-lXi -lXext -lX11 -ldl -lm -lz -lz -lz /usr/lib/libglade.so -ldl -lXi -lXext
-lX11 -lm -lz -lz -lz -lz -lz -lz -lSM -lICE -lm -ldl -ldb1
/usr/lib/libgdk_pixbuf.so -ldl -ldl -lXi -lXext -lX11 -lm
/usr/lib/libgnomecanvaspixbuf.so /usr/lib/libgnomeui.so /usr/lib/libart_lgpl.so
/usr/lib/libgdk_imlib.so /usr/lib/libgnome.so /usr/lib/libgnomesupport.so
/usr/lib/libesd.so /usr/lib/libasound.so /usr/lib/libaudiofile.so -ldl -ldl -lXi
-lXext -lX11 -lm /usr/lib/libxmms.so /usr/lib/libgtk.so /usr/lib/libgdk.so
/usr/lib/libgmodule.so /usr/lib/libgthread.so /usr/lib/libglib.so -lpthread -ldl
-lXi -lXext -lX11 -lm -lssl -lcrypto -lXss ../jabberoo/src/libjabberoo.a
../jabberoo/libjudo/src/.libs/libjudo.al /usr/lib/libxml.so -lncurses -lz -lz
-lssl -lcrypto
GabberGPG.o: In function `GabberGPG::verify(GPGInterface::SigInfo&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
GabberGPG.o(.text+0x140d): the use of `tmpnam' is dangerous, better use `mkstemp'
AddContactDruid.o: In function `AddContactDruid::init()':
AddContactDruid.o(.text+0x235a): undefined reference to
`AgentBrowser::AgentBrowser[in-charge](BaseGabberWindow*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
AddContactDruid.o(.text+0x251c): undefined reference to
`AgentBrowser::set_view_filter(AgentBrowser::Filter)'
AddContactDruid.o(.text+0x2f7a): undefined reference to
`AgentBrowser::AgentBrowser[in-charge](BaseGabberWindow*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
AddContactDruid.o(.text+0x313c): undefined reference to
`AgentBrowser::set_view_filter(AgentBrowser::Filter)'
AddContactDruid.o: In function `AddContactDruid::on_Protocol_prepare()':
AddContactDruid.o(.text+0x5f16): undefined reference to `AgentBrowser::clear()'
AddContactDruid.o: In function
`AddContactDruid::handle_Protocol_iq(judo::Element const&)':
AddContactDruid.o(.text+0x64a7): undefined reference to
`AgentBrowser::update_agents(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, judo::Element const&)'
AddContactDruid.o: In function `AddContactDruid::on_Protocol_next()':
AddContactDruid.o(.text+0x6c49): undefined reference to
`AgentRegisterDruid::AgentRegisterDruid[in-charge](jabberoo::Agent&)'
AddContactDruid.o: In function `AddContactDruid::on_Agents_prepare()':
AddContactDruid.o(.text+0x7836): undefined reference to `AgentBrowser::clear()'
AddContactDruid.o: In function `AddContactDruid::handle_Agents_iq(judo::Element
const&)':
AddContactDruid.o(.text+0x7dc7): undefined reference to
`AgentBrowser::update_agents(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, judo::Element const&)'
ContactInfoInterface.o: In function `AgentInfoDlg::on_register_clicked()':
ContactInfoInterface.o(.text+0x2a8c2): undefined reference to
`AgentRegisterDruid::AgentRegisterDruid[in-charge](jabberoo::Agent&)'
GabberWin.o: In function `GabberWin::init_menus()':
GabberWin.o(.text+0x558d): undefined reference to `AgentBrowserDlg::execute()'
GabberWin.o(.text+0x8f45): undefined reference to `AgentBrowserDlg::execute()'
collect2: ld returned 1 exit status
make[2]: *** [gabber] Error 1
make[2]: Leaving directory `/var/tmp/portage/gabber-0.8.7-r1/work/gabber-0.8.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gabber-0.8.7-r1/work/gabber-0.8.7'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -100, Exitcode 2
!!! (no error message)
Comment 4 Jens Ansorg 2002-07-23 18:03:37 UTC
see
https://sourceforge.net/tracker/?func=detail&atid=101934&aid=585573&group_id=1934

perhaps also the solution for this problem?
I have build gabber now with the mentioned version 0.8.7.10


Jens
Comment 5 foser (RETIRED) gentoo-dev 2002-08-23 08:23:07 UTC
Yup, version bump to 0.8.7.10 . That is the latest pre-release with GCC3 fixes,
mind the "-ssl" USE flag if compile still fails (gentoo's openssl version is a
bit outdated).