Cross compiling for dd-wrt

Cristian
2014-05-27
2014-05-27
  • Cristian

    Cristian - 2014-05-27

    Hi everyone, I want to cross compile minidlna (1.1.0 o greater) for my TPL-wd3600 in Ubuntu 32 bits.

    I downloaded toolchains.x86.debian.sp1 and I use mipsel.linux-gcc as compiler

    I downloaded the dependent libraries and tried to cross compile one by one, but I'm having problems compiling ffmpeg library and its decoders.
    I follow the ffmpeg home page compilation guide and some decoders throw "opcode not supported on this procesors mips1..."

    Am I choosing the correct compiler and following the correct steps?

    Please, if someone could help me or has a guide for cross compiling minidlna, I will appreciate so much.

    Thanks!

    Cristian

     
  • Cecil Coupe

    Cecil Coupe - 2014-05-27

    I can't speak to cross compiling minidlna but if the TPL-wd3600 runs a debian derivative then I would suggest setting up a chroot (see schroot) with a qemu static emulater. That way your cross compile matches the target. It's a lot of googling and head scratching and try this until it makes sense.

    I describe my setup on a different project here. Maybe it will help
    http://shoes.mvmanila.com/2014/01/26/federales-part-2-shoes-dependencies-and-cross-compiling/

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks