aMule Forum

English => Compilation problems => Topic started by: doubledr on May 28, 2010, 06:17:55 AM

Title: [2.2.6] why does upnp support need to be disabled when we cross compile amule?
Post by: doubledr on May 28, 2010, 06:17:55 AM
Hello. I am cross compiling amule for my 64bit atom box. I tried several attempts to enable upnp support but out of luck. Eventually I found the following line in the configure file:

if test $cross_compiling = no; then

else

      result=no
      libupnp_error="cross compiling"

fi

what is the reason to disable upnp support in cross compiling mode? It doesn't make sense to me. Is it a bug?
Title: Re: [2.2.6] why does upnp support need to be disabled when we cross compile amule?
Post by: GonoszTopi on May 28, 2010, 03:08:03 PM
Because currently we test libupnp version with pkgconfig, and that would test on the build system, not on the host system.

Feel free to send patches fixing this ;)

I tried several attempts to enable upnp support
Didn't it tell you the first time already why it doesn't work?
Title: Re: [2.2.6] why does upnp support need to be disabled when we cross compile amule?
Post by: doubledr on May 28, 2010, 04:04:44 PM
I see. But I am not familiar with scripts, I can only write hacks ;D

I can't remember I see something on screen to tell me that upnp is disabled because of cross compiling... I will check.