Hello,
with ptxdist-2011.08.0 alsa-utils are not compiling.

target: alsa-utils.prepare
says
...
configure: error: panel library not found
make: ***
[/tmp/weitzel/OSELAS.BSP-Phytec-phyCORE-OMAP4/platform-phyCORE-OMAP4/state/alsa-utils.prepare]
 Error 1


platform-phyCORE-OMAP4/build-target/alsa-utils-1.0.22/config.log
..
configure:8324: arm-cortexa9-linux-gnueabi-gcc -o conftest -g -O2
-isystem 
/tmp/weitzel/OSELAS.BSP-Phytec-phyCORE-OMAP4/platform-phyCORE-OMAP4/sysroot-target/include
 -isystem 
/tmp/weitzel/OSELAS.BSP-Phytec-phyCORE-OMAP4/platform-phyCORE-OMAP4/sysroot-target/usr/include
 
-L/tmp/weitzel/OSELAS.BSP-Phytec-phyCORE-OMAP4/platform-phyCORE-OMAP4/sysroot-target/lib
 
-L/tmp/weitzel/OSELAS.BSP-Phytec-phyCORE-OMAP4/platform-phyCORE-OMAP4/sysroot-target/usr/lib
 -Wl,-rpath-link 
-Wl,/tmp/weitzel/OSELAS.BSP-Phytec-phyCORE-OMAP4/platform-phyCORE-OMAP4/sysroot-target/lib
 -Wl,-rpath-link 
-Wl,/tmp/weitzel/OSELAS.BSP-Phytec-phyCORE-OMAP4/platform-phyCORE-OMAP4/sysroot-target/usr/lib
 -L/usr/lib conftest.c -lncurses -lasound -lm -ldl -lpthread >&5
/usr/lib/libm.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
...

libm.so is located in platform-phyCORE-OMAP4/root/usr/lib/libm.so
But the hoste one is used. (according to strace)

How can I fix the rule to find the library?
Should the libearys from the toolchain be copyed to sysroot-target?

Jan



-- 
ptxdist mailing list
[email protected]

Reply via email to