aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: configure problem on Mips  (Read 2384 times)

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
configure problem on Mips
« 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.)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: configure problem on Mips
« Reply #1 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.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: configure problem on Mips
« Reply #2 on: April 07, 2008, 12:22:02 AM »

Committed.
Logged
concordia cum veritate