aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compile error with CVS 20071221  (Read 4148 times)

GrayFox.i0n

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 139
Compile error with CVS 20071221
« on: December 21, 2007, 09:11:47 AM »

Hi again.

Configured with:

Code: [Select]
./configure \
                --prefix=/usr \
                --enable-amule-gui \
                --enable-alc \
                --enable-alcc \
                --enable-utf8-systray \
                --disable-debug \
                --enable-optimize \
                --enable-amulecmd \
                --enable-amule-daemon \
                --enable-cas \
                --enable-wxcas \
                --enable-webserver \
                --enable-ccache \
                --enable-remote \

In Ubuntu Server 7.10

When launching the make command i get this after some minutes compiling:

Code: [Select]
/usr/include/wx-2.8/wx/image.h:136: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[3]: *** [libmuleappgui_a-ChatWnd.o] Error 1
make[3]: Leaving directory `/home/bigboss/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bigboss/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bigboss/amule-cvs'
make: *** [all] Error 2

Hope it helps ;)
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Compile error with CVS 20071221
« Reply #1 on: December 21, 2007, 11:39:31 AM »

No, since you didn't include the error message. The "type-punned pointer" warning has nothing to do with the error.  :)
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

GrayFox.i0n

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 139
Re: Compile error with CVS 20071221
« Reply #2 on: December 21, 2007, 11:53:04 AM »

Code: [Select]
/usr/include/wx-2.8/wx/protocol/http.h: In member function âwxStringToStringHashMap_wxImplementation_HashTable::Node** wxStringToStringHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) constâ:
/usr/include/wx-2.8/wx/protocol/http.h:21:  warning: dereferencing type-punned pointer will break strict-aliasing rules
/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: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[3]: *** [libmuleappgui_a-ChatWnd.o] Error 1
make[3]:  Leaving directory  `/home/xi0n/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]:  Leaving directory  `/home/xi0n/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]:  Leaving directory  `/home/xi0n/amule-cvs'
make: *** [all] Error 2


¿Better now?
« Last Edit: December 21, 2007, 11:56:20 AM by GrayFox.i0n »
Logged

Attila

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 77
    • Ljubljana Phonology
Re: Compile error with CVS 20071221
« Reply #3 on: December 21, 2007, 12:13:44 PM »

Same error message (see below) for same cvs 20071221
Running Debian Lenny 2.6.22

Code: [Select]
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/local
  Should aMule be compiled with i18n support?                yes
  Should aMule be compiled in debug mode?                    yes
  Should aMule be compiled with profiling?                   no
  Should aMule be compiled with optimizations?               no
  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?                      no
  Should aMule remote gui be built? (EXPERIMENTAL)           no
  Crypto++ library/headers style?                            embedded

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

  **** 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.3 (gtk2,shared)
                                       crypto++              embedded
                                       zlib                  1.2.3.3
Configure seems normal but now to make
Code: [Select]
if g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -I./libs -I./include -DENABLE_UPNP=1 -DUSE_EMBEDDED_CRYPTO -g -D__DEBUG__ -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0   -DUSE_WX_EXTENSIONS -MT libmuleappgui_a-ChatWnd.o -MD -MP -MF ".deps/libmuleappgui_a-ChatWnd.Tpo" -c -o libmuleappgui_a-ChatWnd.o `test -f 'ChatWnd.cpp' || echo './'`ChatWnd.cpp; \
        then mv -f ".deps/libmuleappgui_a-ChatWnd.Tpo" ".deps/libmuleappgui_a-ChatWnd.Po"; else rm -f ".deps/libmuleappgui_a-ChatWnd.Tpo"; exit 1; fi
extern/wxWidgets/listctrl.h:56: error: default argument for parameter of type 'const wxString&' has type 'const char []'
extern/wxWidgets/listctrl.h:68: error: default argument for parameter of type 'const wxString&' has type 'const char []'
extern/wxWidgets/listctrl.h:280: error: default argument for parameter of type 'const wxString&' has type 'const char []'
make[3]: *** [libmuleappgui_a-ChatWnd.o] Error 1
make[3]: Leaving directory `/tmp/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/amule-cvs'
make: *** [all] Error 2

A newer version of wxwidgets perhaps?
Cheers,
Attila
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Compile error with CVS 20071221
« Reply #4 on: December 21, 2007, 01:18:42 PM »

Please use wx 2.8.7 and try it again.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1546
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Compile error with CVS 20071221
« Reply #5 on: December 21, 2007, 01:24:31 PM »

Logged
Homefucking is killing prostitution

GuntherDW

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
    • http://www.guntherdw.be
Re: Compile error with CVS 20071221
« Reply #6 on: December 21, 2007, 01:53:36 PM »

gentoo with wxGTK 2.8.7.1 here and i've got the same problem
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: Compile error with CVS 20071221
« Reply #7 on: December 21, 2007, 02:14:54 PM »

In Ubuntu 7.10:

Quote
make[4]: *** [libmuleappgui_a-ChatWnd.o] Error 1
make[4]: se sale del directorio `/home/festor/amule-20071221/src'
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio `/home/festor/amule-20071221/src'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/home/festor/amule-20071221'
make[1]: *** [all] Error 2
make[1]: se sale del directorio `/home/festor/amule-20071221'
make: *** [build-stamp] Error 2

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Compile error with CVS 20071221
« Reply #8 on: December 21, 2007, 03:29:15 PM »

OK, thanks a lot for your reports! Consider today's tarball as broken again, I hope GonoszTopi has time to have a look at the issue.
Logged

GrayFox.i0n

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 139
Re: Compile error with CVS 20071221
« Reply #9 on: December 21, 2007, 03:39:29 PM »

No Problem!
Waiting for next working release ;)

Thanks
Logged

Attila

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 77
    • Ljubljana Phonology
Re: Compile error with CVS 20071221
« Reply #10 on: December 22, 2007, 08:57:25 AM »

I guess GonoszTopi did have time to look at this issue. It's fixed in 20071222!  ;D Once again the Amule devs prove they are second to none. You rule! Thanks.
Attila
Logged

IhmSelbst

  • Full Member
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 220
    • http://www.ed2k-serverboard.de/
Re: Compile error with CVS 20071221
« Reply #11 on: December 22, 2007, 11:10:48 AM »

Moin,
also appeared on openSUSE 10.3 (out of the box) since wednesday, but indeed seems to be fixed in today's cvs.
Also thanks. :)


cu

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1546
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Compile error with CVS 20071221
« Reply #12 on: December 22, 2007, 01:19:26 PM »

Logged
Homefucking is killing prostitution