OK, I should read all posts not only the last one.
I made:
with the new one
$iproute2-j1939> make CC=powerpc-603e-linux-gnu-gcc
same error "AF-CAN" undeclared
$can-j1939-modules>make KERNEL_DIR=<...> C=powerpc-603e-linux\
-gnu-gcc
make[1]: *** No rule to make target `modules'. Stop.
make: *** [modules] Error 2
So do you think I have to replace the can.h in the
kernel_header_path
(/,.../sysroot-target/kernel-headers/include/linux)?
--Wolfgang