aMule Forum
English => Compilation problems => Topic started by: tdttester on May 14, 2008, 05:13:59 PM
-
I'm getting this on the make process:
then mv -f ".deps/amuleweb-UPnPCompatibility.Tpo" ".deps/amuleweb-UPnPCompatibility.Po"; else rm -f ".deps/amuleweb-UPnPCompatibility.Tpo"; exit 1; fi
g++ -I/usr/include -D__CRYPTO_INSTALLED__ -D__WEAK_CRYPTO__ -W -Wall -Wshadow -Wundef -O2 -DUSE_WX_EXTENSIONS -bind_at_load -L/usr/lib -lpthread -o amuleweb -L/usr/local/lib -L../../libs/common -L../../libs/ec/cpp amuleweb-WebServer.o amuleweb-WebInterface.o amuleweb-WebSocket.o amuleweb-ExternalConnector.o amuleweb-OtherFunctions.o amuleweb-RLE.o amuleweb-NetworkFunctions.o amuleweb-php_parser.o amuleweb-php_lexer.o amuleweb-php_syntree.o amuleweb-php_amule_lib.o amuleweb-php_core_lib.o amuleweb-UPnP.o amuleweb-UPnPCompatibility.o -lec -lmulecommon -L/Users/josep/amule/wxMac-2.8.7/build/lib -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime /Users/josep/amule/wxMac-2.8.7/build/lib/libwx_base_carbonu_net-2.8.a /Users/josep/amule/wxMac-2.8.7/build/lib/libwx_base_carbonu-2.8.a -lwxregexu-2.8 -lwxtiff-2.8 -lz -lpthread -liconv -lreadline -lpng12 -lz
Undefined symbols:
"_libintl_textdomain", referenced from:
CamulewebApp::SetLocale(wxString const&) in amuleweb-WebInterface.o
"_libintl_bind_textdomain_codeset", referenced from:
CamulewebApp::SetLocale(wxString const&) in amuleweb-WebInterface.o
"_libintl_bindtextdomain", referenced from:
CamulewebApp::SetLocale(wxString const&) in amuleweb-WebInterface.o
"_libintl_gettext", referenced from:
php_native_gettext(PHP_VALUE_NODE*) in amuleweb-php_core_lib.o
"_libintl_ngettext", referenced from:
php_native_ngettext(PHP_VALUE_NODE*) in amuleweb-php_core_lib.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [amuleweb] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
-
Hi,
same compilation problem on Tiger PPC.
I successfully compiled 200805 10 and 13,
from 14 something has broken.
Comparing 13 and 14 building log (in attach) I see missing "-lintl" g++ option building amuleweb.
< g++ -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -O2 -I/opt/local/include -D__CRYPTO_INSTALLED__ -D__WEAK_CRYPTO__ -W -Wall -Wshadow -Wundef -O2
-DUSE_WX_EXTENSIONS -L/opt/local/lib -bind_at_load -L/opt/local/lib -lpthread -o amuleweb -L/opt/local/lib -L../../libs/common -L../../libs/ec/cpp amuleweb-WebServe
r.o amuleweb-WebInterface.o amuleweb-WebSocket.o amuleweb-ExternalConnector.o amuleweb-OtherFunctions.o amuleweb-RLE.o amuleweb-NetworkFunctions.o amuleweb-php_parser.
o amuleweb-php_lexer.o amuleweb-php_syntree.o amuleweb-php_amule_lib.o amuleweb-php_core_lib.o amuleweb-UPnP.o amuleweb-UPnPCompatibility.o -lec -lmulecommon -L/Users
/gtoso/mulo/wxMac-2.8.7/osx-build-noports/lib -arch ppc -arch i386 -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime /Users
/gtoso/mulo/wxMac-2.8.7/osx-build-noports/lib/libwx_base_carbonu_net-2.8.a /Users/gtoso/mulo/wxMac-2.8.7/osx-build-noports/lib/libwx_base_carbonu-2.8.a -lwxregexu-2.8
-lwxexpat-2.8 -lwxtiff-2.8 -lwxjpeg-2.8 -lwxpng-2.8 -lz -lpthread -liconv -lreadline -lncurses -lpng12 -lintl -lz
> g++ -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -O2 -I/opt/local/include -D__CRYPTO_INSTALLED__ -D__WEAK_CRYPTO__ -W -Wall -Wshadow -Wundef -O2
-DUSE_WX_EXTENSIONS -L/opt/local/lib -bind_at_load -L/opt/local/lib -lpthread -o amuleweb -L/opt/local/lib -L../../libs/common -L../../libs/ec/cpp amuleweb-WebServe
r.o amuleweb-WebInterface.o amuleweb-WebSocket.o amuleweb-ExternalConnector.o amuleweb-OtherFunctions.o amuleweb-RLE.o amuleweb-NetworkFunctions.o amuleweb-php_parser.
o amuleweb-php_lexer.o amuleweb-php_syntree.o amuleweb-php_amule_lib.o amuleweb-php_core_lib.o amuleweb-UPnP.o amuleweb-UPnPCompatibility.o -lec -lmulecommon -L/Users
/gtoso/mulo/wxMac-2.8.7/osx-build-noports/lib -arch ppc -arch i386 -framework IOKit -framework Carbon -framework Cocoa -framework System -framework QuickTime /Users
/gtoso/mulo/wxMac-2.8.7/osx-build-noports/lib/libwx_base_carbonu_net-2.8.a /Users/gtoso/mulo/wxMac-2.8.7/osx-build-noports/lib/libwx_base_carbonu-2.8.a -lwxregexu-2.8
-lwxexpat-2.8 -lwxtiff-2.8 -lwxjpeg-2.8 -lwxpng-2.8 -lz -lpthread -liconv -lreadline -lncurses -lpng12 -lz
-
Comparing 13 and 14 building log (in attach) I see missing "-lintl" g++ option building amuleweb.
The problem may be here:
super:~/mulo gtoso$ diff amule-cvs.20080513/src/webserver/src/Makefile.in amule-cvs.20080514/src/webserver/src/Makefile.in
49d48
< @COMPILE_NLS_TRUE@am__append_4 = -lintl
360,361c359,360
< $(READLINE_LIBS) $(LIBPNG_LIBS) $(RESOLV_LIB) $(BFD_LIB) \
< $(REGEX_LIB) $(am__append_4)
---
> $(READLINE_LIBS) $(LIBPNG_LIBS) $(RESOLV_LIB) $(BFD_LIB) $(REGEX_LIB)
>
super:~/mulo gtoso$
-
Yes,
I'm tring to compile 20080517 with this simple reverse patch and it seems to go:
--- amule-cvs.20080514/src/webserver/src/Makefile.in 2008-05-14 07:01:41.000000000 +0200
+++ amule-cvs.20080513/src/webserver/src/Makefile.in 2008-05-13 07:01:40.000000000 +0200
@@ -46,6 +46,7 @@
@ENABLE_UPNP_TRUE@am__append_2 = -DENABLE_UPNP
@ENABLE_UPNP_TRUE@am__append_3 = -DENABLE_UPNP
+@COMPILE_NLS_TRUE@am__append_4 = -lintl
subdir = src/webserver/src
DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in
@@ -356,8 +357,8 @@
$(am__append_3)
amuleweb_LDFLAGS = $(LIBPNG_LDFLAGS) -L../../libs/common -L../../libs/ec/cpp
amuleweb_LDADD = -lec -lmulecommon $(WXBASE_LIBS) $(ZLIB_LIBS) \
- $(READLINE_LIBS) $(LIBPNG_LIBS) $(RESOLV_LIB) $(BFD_LIB) $(REGEX_LIB)
-
+ $(READLINE_LIBS) $(LIBPNG_LIBS) $(RESOLV_LIB) $(BFD_LIB) \
+ $(REGEX_LIB) $(am__append_4)
noinst_HEADERS = \
WebInterface.h \
WebServer.h \
-
Fixed, hopefully. Please try next tarball.
-
Thanks,
20080519 compiled successfully.