[Commotion-dev] Compiling Commotion against RAMIPS
Michael Nothhard
michael.nothhard at gmail.com
Wed Jul 8 20:31:40 EDT 2015
I’m trying to compile the current trunk against RAMIPS(in an attempt to port commotion to a nexx-3020).
I’ve already built a RAMIPS ImageMaker and imported into my commotion build root. But now I need to compile the commotion packages for RAMIPS. While attempting to run the build I receive:
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
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.
I created an issue on github for this problem here: https://github.com/opentechinstitute/commotion-router/issues/177 <https://github.com/opentechinstitute/commotion-router/issues/177>
Thanks,
-Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-dev/attachments/20150708/9ef2f91b/attachment.html>
More information about the Commotion-dev
mailing list