You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 against
abuf_vappendf' can not be used when making a shared object; recompile with -fPICThe text was updated successfully, but these errors were encountered: