aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compilation error  (Read 4676 times)

AudeB

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Compilation error
« on: June 16, 2008, 02:55:32 AM »

Hi, I am using OS X 10.5.3 and followed all the step on How To compile on Mac wiki manual, but when I get to the command 'make' during compile aMule I get this error:


kademlia/routing/RoutingBin.cpp:359:   instantiated from here
/opt/local/include/cryptopp/simple.h:52: warning: unused parameter ‘hardFlush’
/opt/local/include/cryptopp/simple.h:52: warning: unused parameter ‘blocking’
g++ -DHAVE_CONFIG_H -I. -I. -I..  -no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH -D__DEBUG__ -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -DUSE_WX_EXTENSIONS -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__ -DwxUSE_GUI=0 -I./libs -I./include -I/opt/local/include -D__WEAK_CRYPTO__ -DENABLE_UPNP=1  -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -c -o libmuleappcore_a-StateMachine.o `test -f 'StateMachine.cpp' || echo './'`StateMachine.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I..  -no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH -D__DEBUG__ -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -DUSE_WX_EXTENSIONS -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__ -DwxUSE_GUI=0 -I./libs -I./include -I/opt/local/include -D__WEAK_CRYPTO__ -DENABLE_UPNP=1  -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -c -o libmuleappcore_a-ThreadScheduler.o `test -f 'ThreadScheduler.cpp' || echo './'`ThreadScheduler.cpp
rm -f libmuleappcore.a
ar cru libmuleappcore.a libmuleappcore_a-AsyncDNS.o libmuleappcore_a-DeadSourceList.o libmuleappcore_a-Scanner.o libmuleappcore_a-Parser.o libmuleappcore_a-PlatformSpecific.o libmuleappcore_a-Entry.o libmuleappcore_a-SearchManager.o libmuleappcore_a-RoutingBin.o libmuleappcore_a-StateMachine.o libmuleappcore_a-ThreadScheduler.o
ranlib libmuleappcore.a
g++ -DHAVE_CONFIG_H -I. -I. -I..  -no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH -D__DEBUG__ -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -DUSE_WX_EXTENSIONS -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__ -I./libs -I./include -DENABLE_UPNP=1  -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -c -o libmuleappgui_a-BarShader.o `test -f 'BarShader.cpp' || echo './'`BarShader.cpp
BarShader.cpp: In member function ‘void CBarShader::FillRange(uint64, uint64, uint32)’:
BarShader.cpp:139: warning: comparison between signed and unsigned integer expressions
BarShader.cpp: In member function ‘void CBarShader::FillRange(uint64, uint64, uint32)’:
BarShader.cpp:139: warning: comparison between signed and unsigned integer expressions
g++ -DHAVE_CONFIG_H -I. -I. -I..  -no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH -D__DEBUG__ -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -DUSE_WX_EXTENSIONS -I/usr/lib/wx/include/mac-unicode-debug-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__ -I./libs -I./include -DENABLE_UPNP=1  -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -c -o libmuleappgui_a-ChatWnd.o `test -f 'ChatWnd.cpp' || echo './'`ChatWnd.cpp
In file included from ChatWnd.cpp:30In file included from ChatWnd.cpp:30:
amule.h:39:30: error: wx/unix/execute.h: No such file or directory
:
amule.h:39:30: error: wx/unix/execute.h: No such file or directory
lipo: can't figure out the architecture type of: /var/folders/LB/LBJRTBA8HeiVDUsQOIXW6E+++TI/-Tmp-//ccJPR32B.out
make[3]: *** [libmuleappgui_a-ChatWnd.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2



I don't know what to do....

I used this command jst before:
./configure --disable-dependency-tracking            CFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk"            CXXFLAGS="-arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk"


I hope someone will be able to help me. Any help would be greatly appreciated. Many thanks

« Last Edit: June 16, 2008, 02:58:32 AM by AudeB »
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: Compilation error
« Reply #1 on: June 17, 2008, 03:04:56 AM »

You could try some of the suggestions in this thread:

http://forum.amule.org/index.php?topic=15253.0

Regards.
Logged

lind15213

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Compilation error
« Reply #2 on: January 07, 2009, 04:14:19 AM »

Was this ever resolved? I'm getting the same and none of the suggestions in that thread has helped.

Configure failed to detect that I'd grabbed geoip through MacPorts as well.

This is with the 2.2.3 source code release, I'm not touching the SVN repository directly. My wxMac 2.8.9 is similarly their latest source release of that; and I've confirmed that there is no "execute.h" in the specified folder.....
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Compilation error
« Reply #3 on: January 07, 2009, 04:49:09 AM »

use wxAll, not wxMac
Logged