<p>I'm trying to compile commotion packages against RAMIPS but it seems to be throwing an error while compiling oslrd.  I assume I need to add -fPIC to the makefile somehow using cmake but I am unsure how to do it.  Any help would be greatly appreciated.</p>

<p>make[5]: Entering directory <code>/home/mnoth/openwrt/commotion/commotion-router/build/src/package_builder/feeds/commotion/packages/hostapd'<br>
/home/mnoth/openwrt/commotion/commotion-router/build/src/package_builder/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: ../../src/cfgparser/cfgfile_gen.o: relocation R_MIPS_26 against</code>abuf_vappendf' can not be used when making a shared object; recompile with -fPIC</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/opentechinstitute/commotion-router/issues/177">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AC7qBGx5xmeCTJvuXMovoYGfO_ogofZ5ks5obbalgaJpZM4FU4Pm.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/opentechinstitute/commotion-router/issues/177"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>