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

I attached my modified Makefile.

-- 
Jon Smirl
[email protected]

Attachment: Makefile
Description: Binary data

--
ptxdist mailing list
[email protected]

Reply via email to