Note that there are some explanatory texts on larger screens.

plurals
  1. POmips-openwrt-linux-gcc: unrecognized option '-rpath-link'
    primarykey
    data
    text
    <p>when trying to build my application with toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1. I get an error in the link phase:</p> <pre> /home/hp/Desktop/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/../lib/gcc/mips-openwrt-linux-uclibc/4.3.3/../../../../mips-openwrt-linux-uclibc/bin/ld: warning: **ld-uClibc.so.0**, **needed by** /home/hp/Desktop/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/../lib/gcc/mips-openwrt-linux-uclibc/4.3.3/../../../../mips-openwrt-linux-uclibc/lib/libc.so, not found (**try using -rpath or -rpath-link**) /home/hp/Desktop/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/../lib/gcc/mips-openwrt-linux-uclibc/4.3.3/../../../../mips-openwrt-linux-uclibc/lib/**libc.so**: undefined reference to `_dl_app_init_array' /home/hp/Desktop/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/../lib/gcc/mips-openwrt-linux-uclibc/4.3.3/../../../../mips-openwrt-linux-uclibc/lib/libc.so: undefined reference to `_dl_loaded_modules' /home/hp/Desktop/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/bin/../lib/gcc/mips-openwrt-linux-uclibc/4.3.3/../../../../mips-openwrt-linux-uclibc/lib/libc.so: undefined reference to `_dl_app_fini_array' collect2: ld returned 1 exit status </pre> <p>when trtying to add -rpath-link option</p> <pre> LDFLAGS += -rpath-link /home/hp/Desktop/staging_dir/target-mips_uClibc-0.9.30.1/root-brcmref/lib/ld-uClibc.so.0 </pre> <p>I get the following error: mips-openwrt-linux-gcc: unrecognized option '-rpath-link'</p> <p>How could I fix this problem Regards</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload