aMule Forum
English => Compilation problems => Topic started by: PacoBell on April 22, 2009, 01:01:39 AM
-
cloned the git repo today and got this:
configure (http://pastebin.ca/1398973)
error:/opt/local/bin/ccache g++ -g -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0 -O2 -bind_at_load -lpthread -o amulegui amulegui-amule-remote-gui.o amulegui-amule-gui.o amulegui-amuleDlg.o amulegui-AddFriend.o amulegui-CatDialog.o amulegui-ChatSelector.o amulegui-ClientDetailDialog.o amulegui-FileDetailDialog.o amulegui-KadDlg.o amulegui-OScopeCtrl.o amulegui-PartFileConvert.o amulegui-PrefsUnifiedDlg.o amulegui-SearchDlg.o amulegui-ServerWnd.o amulegui-SharedFilesWnd.o amulegui-StatisticsDlg.o amulegui-SearchListCtrl.o amulegui-DownloadListCtrl.o amulegui-ClientListCtrl.o amulegui-FriendListCtrl.o amulegui-ServerListCtrl.o amulegui-SharedFilesCtrl.o amulegui-MuleTrayIcon.o amulegui-MuleColour.o amulegui-TransferWnd.o amulegui-IP2Country.o amulegui-ClientCredits.o amulegui-ECSpecialMuleTags.o amulegui-FileArea.o amulegui-KnownFile.o amulegui-GapList.o amulegui-GetTickCount.o amulegui-GuiEvents.o amulegui-Logger.o amulegui-PartFile.o amulegui-Preferences.o amulegui-Proxy.o amulegui-Server.o amulegui-Statistics.o amulegui-StatTree.o amulegui-SHAHashSet.o amulegui-TerminationProcess.o amulegui-TerminationProcessAmuleweb.o amulegui-UserEvents.o amulegui-OtherFunctions.o amulegui-NetworkFunctions.o amulegui-HTTPDownload.o -L. -lmuleappgui -L/Users/pacobell/Downloads/wxMac-2.8.10/lib -L/opt/local/lib -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -framework OpenGL -framework AGL /Users/pacobell/Downloads/wxMac-2.8.10/lib/libwx_macud_adv-2.8.a /Users/pacobell/Downloads/wxMac-2.8.10/lib/libwx_macud_core-2.8.a /Users/pacobell/Downloads/wxMac-2.8.10/lib/libwx_base_carbonud_net-2.8.a /Users/pacobell/Downloads/wxMac-2.8.10/lib/libwx_base_carbonud-2.8.a -lpng -ljpeg -ltiff -framework WebKit -lwxregexud-2.8 -lz -lpthread -liconv -L/opt/local/lib -lGeoIP -L. -lmuleappcommon -Llibs/common -Llibs/ec/cpp -lmulecommon -lec -lbfd -liberty /usr/local/lib/libintl.dylib -L/usr/X11/lib -L/usr/local/lib /usr/lib/libz.dylib /usr/lib/libiconv.dylib /usr/lib/libc.dylib -lz -L/opt/local/lib -lcryptopp -L/Users/pacobell/Downloads/wxMac-2.8.10/lib -L/opt/local/lib -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime -framework OpenGL -framework AGL /Users/pacobell/Downloads/wxMac-2.8.10/lib/libwx_base_carbonud_net-2.8.a /Users/pacobell/Downloads/wxMac-2.8.10/lib/libwx_base_carbonud-2.8.a -lwxregexud-2.8 -lz -lpthread -liconv
Undefined symbols:
"LexFree()", referenced from:
CSearchList::CreateSearchData(CSearchList::CSearchParams const&, SearchType, bool, bool&)in amuled-SearchList.o
"LexInit(wxString const&)", referenced from:
CSearchList::CreateSearchData(CSearchList::CSearchParams const&, SearchType, bool, bool&)in amuled-SearchList.o
"yylex()", referenced from:
yyparse() in libmuleappcore.a(libmuleappcore_a-Parser.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [amuled] Error 1
make[3]: *** Waiting for unfinished jobs....
Undefined symbols:
"LexFree()", referenced from:
CSearchList::CreateSearchData(CSearchList::CSearchParams const&, SearchType, bool, bool&)in amule-SearchList.o
"yylex()", referenced from:
yyparse() in libmuleappcore.a(libmuleappcore_a-Parser.o)
"LexInit(wxString const&)", referenced from:
CSearchList::CreateSearchData(CSearchList::CSearchParams const&, SearchType, bool, bool&)in amule-SearchList.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [amule] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
$ ls -l /usr/bin/wx*
lrwxr-xr-x 1 root wheel 38 Jan 30 2008 /usr/bin/wx-config -> ../lib/wx/config/mac-unicode-debug-2.8
-rwxr-xr-x 1 root wheel 38368 Sep 23 2007 /usr/bin/wxPerl
-r-xr-xr-x 1 root wheel 956 Sep 23 2007 /usr/bin/wx_overload.pl
-r-xr-xr-x 1 root wheel 1083 Sep 23 2007 /usr/bin/wx_xspp.pl
-r-xr-xr-x 1 root wheel 265 Sep 23 2007 /usr/bin/wxperl_demo.pl
lrwxr-xr-x 1 root wheel 8 Jan 30 2008 /usr/bin/wxrc -> wxrc-2.8
-rwxr-xr-x 1 root wheel 164336 Sep 23 2007 /usr/bin/wxrc-2.8
$ ls -l /usr/local/bin/wx*
ls: /usr/local/bin/wx*: No such file or directory
Anything else you need?
-
Please try an official source release (and tell us which one it was).
-
Well, 2.2.4 compiles just fine. It's 2.3.0 I want to try out (esp. for the CAPTCA stuffs).
-
I meant an official tarball of a SVN dev snapshot packaged by us instead of that GIT thing. I have no idea if it might be broken.
-
Just finished with r9575 and it works flawlessly. Guess the git repo's stuffed :P
-
Just finished with r9575 and it works flawlessly. Guess the git repo's stuffed :P
I don't think so. Just checked with rev. 9575, and they're identical.
-
Perhaps it was just the SVN build that day, then? In any case, I've got a
couple new question. My build of r9575 pegs @ 100% CPU after a few minutes and I'm fairly sure it's not hashing anything or allocating disk space. Would it be prudent to run it with profiling and where does the app spit out the gmon.out file? Also I'm having a bear of a time trying to locate amule.conf. It's not in ~/.aMule; in fact, ~/.aMule doesn't even exist!
[EDIT] Never mind, I just found it and edited the wiki so other Mac users might find it easier, too.[/EDIT]
About gprof, I read in the docs that the app being profiled needs to exit cleanly in order to generate the gmon.out file, but I can never seem to do that when it's locked up like it is right now. Kind of a catch-22, eh?
Hey, Xcode has this this called Shark (http://blog.cleverelephant.ca/2008/05/riding-shark.html), which everyone seems to think is much better than gprof (appears to be completely broken (http://developer.apple.com/DOCUMENTATION/DeveloperTools/Conceptual/SaturnUserGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40005157-CH1-SW1) under Leopard X86, anyway). Maybe I'll tinker around with that instead :) There's also Saturn, but that requires the GCC option '-finstrument-functions' added to the 'CFLAGS'