Hi all
1. I compilation cryptopp522 OK:
JOBS=4
PREFIX=/_install/usr/cryptopp
env CC=$CC CXX=$CXX STRIP=$STRIP AR=$AR RANLIB=$RANLIB PREFIX=/_install/usr/cryptopp \
make -f GNUmakefile -j${JOBS}
mkdir -p ${PREFIX}
mkdir -p ${PREFIX}/include/cryptopp
mkdir -p ${PREFIX}/lib
mkdir -p ${PREFIX}/bin
cd /source/cryptopp552
cp *.h ${PREFIX}/include/cryptopp
cp *.a ${PREFIX}/lib
cp *.exe ${PREFIX}/bin
cd /
2. I compilation wxWidgets-2.8.9 OK(or i think?):
env CC=/usr/local/920t_le/bin/arm_920t_le-gcc CXX=/usr/local/920t_le/bin/arm_920t_le-g++ STRIP=/usr/local/920t_le/bin/arm_920t_le-strip AR=/usr/local/920t_le/bin/arm_920t_le-ar RANLIB=/usr/local/920t_le/bin/arm_920t_le-ranlib \
./configure --host=armv4tl-hardhat-linux --target=armv4tl-hardhat-linux --build=i686-pc-linux \
prefix=/_install/usr/wx \
--enable-unicode --with-unicode \
--with-gtk \
&& make
make install
3. Then I compilation aMule-2.2.2 NG!!:
env CC=/usr/local/920t_le/bin/arm_920t_le-gcc CXX=/usr/local/920t_le/bin/arm_920t_le-g++ STRIP=/usr/local/920t_le/bin/arm_920t_le-strip AR=/usr/local/920t_le/bin/arm_920t_le-ar RANLIB=/usr/local/920t_le/bin/arm_920t_le-ranlib \
./configure --host=armv4tl-hardhat-linux --target=armv4tl-hardhat-linux --build=i686-pc-linux \
--disable-debug \
--enable-optimize \
--with-crypto-prefix=/_install/usr/cryptopp \
--with-wx-prefix=/_install/usr/wx \
--with-libupnp-prefix=/source/UPnP \
--prefix=/_install/usr/aMule \
&& make
...
...
Configure script has finished system check.
Configured aMule 2.2.2 for 'armv4tl-hardhat-linux-gnu'.
aMule enabled options:
**** aMule Core ****
Prefix where aMule should be installed? /_install/usr/aMule
Should aMule be compiled with i18n support? no
Should aMule be compiled in debug mode? no
Should aMule be compiled with profiling? no
Should aMule be compiled with optimizations? yes
Should aMule be compiled with UPnP support? disabled
Should aMule be compiled with IP2country support? no
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? installed
**** 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.9 (base,shared)
crypto++ 5.5.2 (installed, in /_install/usr/cryptopp)
libintl Not detected
zlib 1.2.1
WARNING! UPnP code has been disabled because cross compiling.
Generating ECVersion.h... created.
Compiling ECTag.cpp
Compiling ECPacket.cpp
Compiling ECSocket.cpp
Compiling ECMuleSocket.cpp
Compiling RemoteConnect.cpp
Compiling ECSpecialTags.cpp
Building libec.a
Compiling Format.cpp
Compiling MD5Sum.cpp
Compiling MuleDebug.cpp
Compiling StringFunctions.cpp
Compiling FileFunctions.cpp
Compiling TextFile.cpp
Compiling Path.cpp
Building libmulecommon.a
Compiling AsyncDNS.cpp
Compiling DeadSourceList.cpp
Compiling Scanner.cpp
Compiling Parser.cpp
Compiling PlatformSpecific.cpp
Compiling Entry.cpp
Compiling SearchManager.cpp
Compiling RoutingBin.cpp
Compiling StateMachine.cpp
Compiling ThreadScheduler.cpp
Building libmuleappcore.a
Compiling BarShader.cpp
BarShader.cpp:26:19: wx/dc.h: No such file or directory
BarShader.cpp: In member function `void CBarShader::BuildModifiers()':
BarShader.cpp:120: error: `sin' undeclared (first use this function)
BarShader.cpp:120: error: (Each undeclared identifier is reported only once for each function it appears in.)
BarShader.cpp: In member function `void CBarShader::Draw(wxDC*, int, int, bool)':
BarShader.cpp:201: error: aggregate `wxRect rectSpan' has incomplete type and cannot be defined
BarShader.cpp:208: error: invalid use of undefined type `struct wxDC'
BarShader.h:33: error: forward declaration of `struct wxDC'
BarShader.cpp:208: error: `wxTRANSPARENT_PEN' undeclared (first use this function)
BarShader.cpp:217: error: no matching function for call to `CBarShader::FillRect(wxDC*&, <type error>, uint32&, bool&)'
BarShader.h:147: note: candidates are: void CBarShader::FillRect(wxDC*, const wxRect&, uint32, bool)
BarShader.cpp:224: error: no matching function for call to `CBarShader::FillRect(wxDC*&, <type error>, uint32&, bool&)'
BarShader.h:147: note: candidates are: void CBarShader::FillRect(wxDC*, const wxRect&, uint32, bool)
BarShader.cpp: In member function `void CBarShader::FillRect(wxDC*, const wxRect&, uint32, bool)':
BarShader.cpp:233: error: `wxBrush' undeclared (first use this function)
BarShader.cpp:233: error: expected `;' before "brush"
BarShader.cpp:234: error: invalid use of undefined type `struct wxDC'
BarShader.h:33: error: forward declaration of `struct wxDC'
BarShader.cpp:234: error: `brush' undeclared (first use this function)
BarShader.cpp:235: error: invalid use of undefined type `struct wxDC'
BarShader.h:33: error: forward declaration of `struct wxDC'
BarShader.cpp:237: error: invalid use of undefined type `const struct wxRect'
BarShader.h:32: error: forward declaration of `const struct wxRect'
BarShader.cpp:238: error: invalid use of undefined type `const struct wxRect'
BarShader.h:32: error: forward declaration of `const struct wxRect'
BarShader.cpp:238: error: invalid use of undefined type `const struct wxRect'
BarShader.h:32: error: forward declaration of `const struct wxRect'
BarShader.cpp:239: error: invalid use of undefined type `const struct wxRect'
BarShader.h:32: error: forward declaration of `const struct wxRect'
BarShader.cpp:240: error: invalid use of undefined type `const struct wxRect'
BarShader.h:32: error: forward declaration of `const struct wxRect'
BarShader.cpp:248: error: `wxPen' undeclared (first use this function)
BarShader.cpp:248: error: expected `;' before "pen"
BarShader.cpp:249: error: invalid use of undefined type `struct wxDC'
BarShader.h:33: error: forward declaration of `struct wxDC'
BarShader.cpp:249: error: `pen' undeclared (first use this function)
BarShader.cpp:252: error: invalid use of undefined type `struct wxDC'
BarShader.h:33: error: forward declaration of `struct wxDC'
BarShader.cpp:255: error: invalid use of undefined type `struct wxDC'
BarShader.h:33: error: forward declaration of `struct wxDC'
BarShader.cpp:259: error: invalid use of undefined type `struct wxDC'
BarShader.h:33: error: forward declaration of `struct wxDC'
BarShader.cpp:259: error: `wxNullBrush' undeclared (first use this function)
make[3]: *** [libmuleappgui_a-BarShader.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Just like the aMule can not find the dc.h of wx.
That real!! I can not find any dc.h in my wx-prefix directory!!!
But there are a lot of dc.h in the wx source directory!!
Why?? Has any problem of the configure of wxWidgets-2.8.9
Thanks.