aMule Forum

English => Compilation problems => Topic started by: Stu Redman on April 06, 2008, 01:26:51 AM

Title: configure problem on Mips
Post by: Stu Redman on April 06, 2008, 01:26:51 AM
I'm currently trying to run amuled on my router (AVM Fritzbox 7170) using the mipsel-linux-g++ cross-compiler.
There is one problem with the configure script: the zlib detection is broken. Seems the (unused) string in the generated program is removed by optimization, and the grep fails.
I have made a patch. (The second \n is also required btw.)
Title: Re: configure problem on Mips
Post by: Stu Redman on April 06, 2008, 12:46:36 PM
It has nothing to do with the platform itself. Before the configure I have set CFLAGS and CXXFLAGS to the required compiler options for Mips which include -Os. So the compiler runs with optimization during configure and removes the unused data string.
Title: Re: configure problem on Mips
Post by: GonoszTopi on April 07, 2008, 12:22:02 AM
Committed.