Jon Smirl wrote: > How do I fix this? It works if I take out "-Wl,-rpath-link" but that > string is in the LDFLAGS variable. > > powerpc-603e-linux-gnu-gcc > -L/home/apps/OSELAS.BSP-Phytec-phyCORE-12-1/platform-phyCORE-MPC5200B-tiny/sysroot-target/lib > -L/home/apps/OSELAS.BSP-Phytec-phyCORE-12-1/platform-phyCORE-MPC5200B-tiny/sysroot-target/usr/lib > -Wl,-rpath-link > -Wl,/home/apps/OSELAS.BSP-Phytec-phyCORE-12-1/platform-phyCORE-MPC5200B-tiny/sysroot-target/lib > -Wl,-rpath-link > -Wl,/home/apps/OSELAS.BSP-Phytec-phyCORE-12-1/platform-phyCORE-MPC5200B-tiny/sysroot-target/usr/lib > -Xlinker --allow-multiple-definition -o brutefir brutefir.o > fftw_convolver.o bfconf.o bfrun.o firwindow.o emalloc.o shmalloc.o > dai.o bfconf_lexical.o inout.o dither.o delay.o -lfftw3 -lfftw3f -lm > -ldl > powerpc-603e-linux-gnu-ld -shared -fPIC > -L/home/apps/OSELAS.BSP-Phytec-phyCORE-12-1/platform-phyCORE-MPC5200B-tiny/sysroot-target/lib > -L/home/apps/OSELAS.BSP-Phytec-phyCORE-12-1/platform-phyCORE-MPC5200B-tiny/sysroot-target/usr/lib > -Wl,-rpath-link > -Wl,/home/apps/OSELAS.BSP-Phytec-phyCORE-12-1/platform-phyCORE-MPC5200B-tiny/sysroot-target/lib > -Wl,-rpath-link > -Wl,/home/apps/OSELAS.BSP-Phytec-phyCORE-12-1/platform-phyCORE-MPC5200B-tiny/sysroot-target/usr/lib > -o alsa.bfio bfio_alsa.fpic.o emalloc.fpic.o inout.fpic.o -lasound -lc > powerpc-603e-linux-gnu-ld: unrecognized option '-Wl,-rpath-link' > powerpc-603e-linux-gnu-ld: use the --help option for usage information > make[1]: *** [alsa.bfio] Error 1 > make[1]: *** Waiting for unfinished jobs.... > make[1]: Leaving directory > `/home/apps/OSELAS.BSP-Phytec-phyCORE-12-1/platform-phyCORE-MPC5200B-tiny/build-target/brutefir-1.0k' > make: *** > [/home/apps/OSELAS.BSP-Phytec-phyCORE-12-1/platform-phyCORE-MPC5200B-tiny/state/brutefir.compile] > Error 2
Don't use "ld" to link, just use "gcc". cheers, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Linux Solutions for Science and Industry | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list ptxdist@pengutronix.de