opentechinstitute / commotion-router

The build system for the OpenWRT-based Commotion firmware.
https://commotionwireless.net
GNU General Public License v3.0
121 stars 43 forks source link

Can't compile against RAMIPS #177

Open mnoth opened 9 years ago

mnoth commented 9 years ago

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.

make[5]: Entering directory /home/mnoth/openwrt/commotion/commotion-router/build/src/package_builder/feeds/commotion/packages/hostapd' /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 againstabuf_vappendf' can not be used when making a shared object; recompile with -fPIC