View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001110aMuleExternal Connpublic2007-05-27 12:502008-02-21 22:47
Reporterphoenix_me 
Assigned To 
PrioritynormalSeverityblockReproducibilityalways
StatusclosedResolutionopen 
PlatformOSOS Version
Product VersionSVN 
Target VersionFixed in Version 
Summary0001110: unable to compile: undefined reference to `wxColour::IsOk() const
DescriptionI can't compile amule 2.2 (SVN - dated from 04.22 to 05.26)

because I always have the same error which is:
CatDialog.cpp:(.text+0x562): undefined reference to `wxColour::IsOk() const'
amule-PrefsUnifiedDlg.o: In function `PrefsUnifiedDlg::OnButtonColorChange(wxCommandEvent&)':
PrefsUnifiedDlg.cpp:(.text+0x5bf6): undefined reference to `wxColour::IsOk() const'
collect2: ld returned 1 exit status

It seems like this is a problem with wxGTK. But i was trying both wxGTK 2.8.3 and 2.8.4 and still problem is the same.
Additional Information

My configure options:
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-wx-config=/usr/lib/wx/config/gtk2-unicode-release-2.6 --with-wxbase-config=/usr/lib/wx/config/gtk2-unicode-release-2.6 --enable-amulecmd --disable-debug --enable-optimize --enable-amule-daemon --enable-nls --disable-webserver --disable-cas --disable-alcc --build=i686-pc-linux-gnu

and after configure:
Configure script has finished system check.

  Configured aMule CVS for 'i686-pc-linux-gnu'.

  aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed? /usr
  Should aMule be compiled with i18n support? yes
  Should aMule be compiled in debug mode? no
  Should aMule be compiled with profiling? no
  Should aMule be compiled with optimizations? yes
  Should aMule be compiled with UPnP support? yes
  Should aMule be compiled with IP2country support? yes
  Should aMule monolithic application be built? yes
  Should aMule daemon version be built? yes
  Should aMule remote gui be built? (EXPERIMENTAL) no
  Crypto++ library/headers style? embedded

  **** aMule TextClient ****
  Should aMule Command Line Client be built? yes

  **** aMule WebServer ****
  Should aMule WebServer be built? no

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built? yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built? no
  Should aMuleLinkCreator for console (alcc) be built? no

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built? no
  Should aMule GUI Statistics (wxCas) be built? no

  **** General Libraries and Tools ****
  Should ccache support be enabled? no
  Libraries aMule will use to build:
                                       wxWidgets 2.8.4
                                       crypto++ embedded
                                       zlib 1.2.3
TagsNo tags attached.
Fixed in Revision
Operating SystemLinux gentoo
Attached Files

- Relationships

-  Notes
(0002304)
Wuischke (manager)
2007-05-28 15:52

Please change the following lines in your configure command, unless the naming is wrong.
--with-wx-config=/usr/lib/wx/config/gtk2-unicode-release-2.6
--with-wxbase-config=/usr/lib/wx/config/gtk2-unicode-release-2.6

I suspect that you are compiling with wx2.8 headers, but linking against wx2.6. To test this, change IsOk() to Ok() in the file producing the error. Now it should link well.
(0002634)
Xaignar (manager)
2008-02-21 22:47

Closing due to lack of reponse.

- Issue History
Date Modified Username Field Change
2007-05-27 12:50 phoenix_me New Issue
2007-05-27 12:50 phoenix_me Operating System => Linux gentoo
2007-05-28 15:52 Wuischke Note Added: 0002304
2008-02-21 22:47 Xaignar Status new => closed
2008-02-21 22:47 Xaignar Note Added: 0002634


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker