aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: Compile error with CVS 20071222  (Read 9669 times)

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Compile error with CVS 20071222
« on: December 22, 2007, 09:31:04 AM »

Again  :-\

Ubuntu 7.10, gcc versión 4.1.3, wxWidgets 2.8.4

Quote
i486-linux-gnu-g++  -DUSE_EMBEDDED_CRYPTO  -W -Wall -Wshadow -Wundef -O2  -DUSE_WX_EXTENSIONS  -Wl,-z,defs -lGeoIP  -lpthread -o amuled  amuled-amuled.o amuled-Timer.o amuled-RC4Encrypt.o amuled-amule.o amuled-BaseClient.o amuled-ClientList.o amuled-ClientCreditsList.o amuled-ClientTCPSocket.o amuled-ClientUDPSocket.o amuled-DownloadClient.o amuled-DownloadQueue.o amuled-ECSpecialCoreTags.o amuled-EMSocket.o amuled-EncryptedStreamSocket.o amuled-EncryptedDatagramSocket.o amuled-ExternalConn.o amuled-Friend.o amuled-FriendList.o amuled-HTTPDownload.o amuled-IPFilter.o amuled-KnownFileList.o amuled-ListenSocket.o amuled-MuleUDPSocket.o amuled-SearchFile.o amuled-SearchList.o amuled-ServerConnect.o amuled-ServerList.o amuled-ServerSocket.o amuled-ServerUDPSocket.o amuled-SharedFileList.o amuled-ThreadTasks.o amuled-UploadBandwidthThrottler.o amuled-UploadClient.o amuled-UploadQueue.o amuled-Kademlia.o amuled-Search.o amuled-Indexed.o amuled-KademliaUDPListener.o amuled-Prefs.o amuled-RoutingZone.o amuled-Contact.o amuled-UPnP.o amuled-UPnPCompatibility.o amuled-ClientCredits.o amuled-ECSpecialMuleTags.o amuled-KnownFile.o amuled-GetTickCount.o amuled-GuiEvents.o amuled-Logger.o amuled-PartFile.o amuled-Preferences.o amuled-Proxy.o amuled-Server.o amuled-Statistics.o amuled-StatTree.o amuled-SHAHashSet.o amuled-TerminationProcess.o amuled-UserEvents.o amuled-OtherFunctions.o amuled-NetworkFunctions.o  -L. -lmuleappcommon -Llibs/common -Llibs/ec/cpp -lmulecommon -lec     -L. -lmuleappcore -pthread   -lwx_baseu_net-2.8 -lwx_baseu-2.8  -lz
./libmuleappcommon.a(libmuleappcommon_a-ED2KLink.o): In function `wxTransform2D::Transform(wxRect2DInt*) const':
/usr/include/wx-2.8/wx/geometry.h:794: undefined reference to `wxRect2DInt::operator=(wxRect2DInt const&)'
./libmuleappcommon.a(libmuleappcommon_a-ED2KLink.o): In function `wxTransform2D::InverseTransform(wxRect2DInt*) const':
/usr/include/wx-2.8/wx/geometry.h:803: undefined reference to `wxRect2DInt::operator=(wxRect2DInt const&)'
collect2: ld devolvió el estado de salida 1
make[4]: *** [amuled] Error 1
make[4]: se sale del directorio `/home/festor/amule-20071222/src'
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio `/home/festor/amule-20071222/src'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/home/festor/amule-20071222'
make[1]: *** [all] Error 2
make[1]: se sale del directorio `/home/festor/amule-20071222'
make: *** [build-stamp] Error 2

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Compile error with CVS 20071222
« Reply #1 on: December 22, 2007, 11:10:27 AM »

Please upgrade to wxGTK 2.8.7 and try it again to see if it is caused by te wx version. (it works here with wx 2.8.7)
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: Compile error with CVS 20071222
« Reply #2 on: December 22, 2007, 11:52:28 AM »

Ubuntu 7.10 uses only wxGTK 2.8.4

It is not that we can very easily update ... :(

EDIT: I found this page, maybe it is possible to install the latest version using deb packages. Let me try...
« Last Edit: December 22, 2007, 01:01:38 PM by Festor »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Compile error with CVS 20071222
« Reply #3 on: December 22, 2007, 12:59:47 PM »

Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: Compile error with CVS 20071222
« Reply #4 on: December 22, 2007, 01:01:49 PM »

ok, I will try :D

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1550
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Logged
Homefucking is killing prostitution

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: Compile error with CVS 20071222
« Reply #6 on: December 22, 2007, 01:30:57 PM »

Oh! Shit!  :'( The same problem occurs (with 2.8.7.1):

Quote
i486-linux-gnu-g++  -DUSE_EMBEDDED_CRYPTO  -W -Wall -Wshadow -Wundef -O2  -DUSE_WX_EXTENSIONS  -Wl,-z,defs -lGeoIP  -lpthread -o amuled  amuled-amuled.o amuled-Timer.o amuled-RC4Encrypt.o amuled-amule.o amuled-BaseClient.o amuled-ClientList.o amuled-ClientCreditsList.o amuled-ClientTCPSocket.o amuled-ClientUDPSocket.o amuled-DownloadClient.o amuled-DownloadQueue.o amuled-ECSpecialCoreTags.o amuled-EMSocket.o amuled-EncryptedStreamSocket.o amuled-EncryptedDatagramSocket.o amuled-ExternalConn.o amuled-Friend.o amuled-FriendList.o amuled-HTTPDownload.o amuled-IPFilter.o amuled-KnownFileList.o amuled-ListenSocket.o amuled-MuleUDPSocket.o amuled-SearchFile.o amuled-SearchList.o amuled-ServerConnect.o amuled-ServerList.o amuled-ServerSocket.o amuled-ServerUDPSocket.o amuled-SharedFileList.o amuled-ThreadTasks.o amuled-UploadBandwidthThrottler.o amuled-UploadClient.o amuled-UploadQueue.o amuled-Kademlia.o amuled-Search.o amuled-Indexed.o amuled-KademliaUDPListener.o amuled-Prefs.o amuled-RoutingZone.o amuled-Contact.o amuled-UPnP.o amuled-UPnPCompatibility.o amuled-ClientCredits.o amuled-ECSpecialMuleTags.o amuled-KnownFile.o amuled-GetTickCount.o amuled-GuiEvents.o amuled-Logger.o amuled-PartFile.o amuled-Preferences.o amuled-Proxy.o amuled-Server.o amuled-Statistics.o amuled-StatTree.o amuled-SHAHashSet.o amuled-TerminationProcess.o amuled-UserEvents.o amuled-OtherFunctions.o amuled-NetworkFunctions.o  -L. -lmuleappcommon -Llibs/common -Llibs/ec/cpp -lmulecommon -lec     -L. -lmuleappcore -pthread   -lwx_baseu_net-2.8 -lwx_baseu-2.8  -lz
./libmuleappcommon.a(libmuleappcommon_a-ED2KLink.o): In function `wxTransform2D::Transform(wxRect2DInt*) const':
/usr/include/wx-2.8/wx/geometry.h:794: undefined reference to `wxRect2DInt::operator=(wxRect2DInt const&)'
./libmuleappcommon.a(libmuleappcommon_a-ED2KLink.o): In function `wxTransform2D::InverseTransform(wxRect2DInt*) const':
/usr/include/wx-2.8/wx/geometry.h:803: undefined reference to `wxRect2DInt::operator=(wxRect2DInt const&)'
collect2: ld devolvió el estado de salida 1
make[4]: *** [amuled] Error 1
make[4]: se sale del directorio `/home/festor/amule-20071222/src'
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio `/home/festor/amule-20071222/src'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/home/festor/amule-20071222'
make[1]: *** [all] Error 2
make[1]: se sale del directorio `/home/festor/amule-20071222'
make: *** [build-stamp] Error 2

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Compile error with CVS 20071222
« Reply #7 on: December 22, 2007, 02:08:12 PM »

Then you can downgrade your wx again if you don't want inofficial packages. I'll try to dig through Vollstrecker's logfile and the code for the reason, but I would appreciate if you could test this with other versions of a debian derived distribution.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1550
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Compile error with CVS 20071222
« Reply #8 on: December 22, 2007, 02:15:25 PM »

Here is the log of the stable build.

http://ccc-hanau.de/~vollstrecker/amule-cvs-stable-build.log

The two logs are created everyday, so you can simply check if all worked.
Logged
Homefucking is killing prostitution

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Compile error with CVS 20071222
« Reply #9 on: December 22, 2007, 03:20:42 PM »

Builds fine here (amuled + amulegui) with wxGTK 2.8.7 (compiled it myself) on Ubuntu 7.10 .  :-*
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

agarsab

  • Approved Newbie
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 7
  • angel
    • Personal blog
Re: Compile error with CVS 20071222
« Reply #10 on: December 22, 2007, 03:33:42 PM »

I think I have the same problem.
I use Feisty x86_64 with official  wx 2.8.4.0-0ubuntu3.

Quote
/usr/include/wx-2.8/wx/image.h: In member function ‘wxImageHistogramBase_wxImplementation_HashTable::Node** wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long unsigned int&) const’:
/usr/include/wx-2.8/wx/image.h:136: aviso: la dereferencia de punteros de tipo castigado romperá las reglas de alias estricto
make[4]: *** [libmuleappgui_a-ChatWnd.o] Error 1
make[4]: se sale del directorio `/media/sda1/software/linux/amule-20071221/src'
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: Compile error with CVS 20071222
« Reply #11 on: December 22, 2007, 03:38:19 PM »

Builds fine here (amuled + amulegui) with wxGTK 2.8.7 (compiled it myself) on Ubuntu 7.10 .  :-*

Do you mean that you have compiled wxGTK, no? What parameters used?

llanerosolitario

  • Newbie
  • Karma: 2
  • Offline Offline
  • Posts: 4
Re: Compile error with CVS 20071222
« Reply #12 on: December 22, 2007, 03:59:41 PM »

since  19/12/2007 i can´t  debianize (make)  sources, i have tried with debian 4.0 and ubuntu 7.10.
I  could make a .deb with the source from 24/11/2007...
I hope it will be repaired early thanks,  because it  is not a problem of debian and it's distributions (i think)
Sorry by my english it is very poor...  ???
« Last Edit: December 22, 2007, 04:03:57 PM by Festor »
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: Compile error with CVS 20071222
« Reply #13 on: December 22, 2007, 04:05:14 PM »

The latest sources that work well are those of the December 18, 2007:

http://www.hirnriss.net/files/cvs/aMule-CVS-20071218.tar.bz2

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Compile error with CVS 20071222
« Reply #14 on: December 22, 2007, 04:59:52 PM »

Do you mean that you have compiled wxGTK, no? What parameters used?
I have installed wxGTK-2.8.7 in user space (but I don't think that matters):
 ./configure --prefix=/home/jars/work/wx/386 --with-gtk --enable-unicode --enable-optimise
make
make install
sudo ldconfig /home/jars/work/wx/386/lib

aMule:
 ./configure --with-wx-config=/home/jars/work/wx/386/bin/wx-config ...

Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon
Pages: [1] 2