IPCF User-space Sample Build Error.@S32R45

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IPCF User-space Sample Build Error.@S32R45

465 Views
amei_liu
Contributor II

When I was manually building the User-space Sample App of Linux according to the “SW32R45 IPCF User Manual,” I encountered an error at step 5:

make -C ./ipc-shm-us/sample PLATFORM=S32GEN1 PLATFORM_FLAVOR=s32r45 IPC_UIO_MODULE_DIR="/lib/modules/5.10.176-rt86/extra"

The Linker prompt "printk" not defined,The error message is as follows:

make -C ./ipc-shm-us/sample PLATFORM=S32GEN1 PLATFORM_FLAVOR=s32r45 IPC_UIO_MODULE_DIR="/lib/modules/5.10.176-rt86/extra"
make: Entering directory '/home/liujun/s32r45/ipc-shm-us/sample'
make -C /home/liujun/s32r45/ipc-shm-us/sample/..
make[1]: Entering directory '/home/liujun/s32r45/ipc-shm-us'
IPC_UIO_MODULE_DIR = /lib/modules/5.10.176-rt86/extra
make[1]: 'libipc-shm.a' is up to date.
make[1]: Leaving directory '/home/liujun/s32r45/ipc-shm-us'
Building target: ipc-shm-sample.elf
/home/liujun/s32r45/gcc-arm-10.2-2020.11-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc -o ipc-shm-sample.elf sample.o ipcf_Ip_Cfg_s32r45.o -L/home/liujun/s32r45/ipc-shm-us/sample/.. -lipc-shm -lpthread -lrt
/home/liujun/s32r45/gcc-arm-10.2-2020.11-x86_64-aarch64-none-linux-gnu/bin/../lib/gcc/aarch64-none-linux-gnu/10.2.1/../../../../aarch64-none-linux-gnu/bin/ld: /home/liujun/s32r45/ipc-shm-us/sample/../libipc-shm.a(ipc-shm.o): in function `get_managed_chan':
/home/liujun/s32r45/ipc-shm-us/common/ipc-shm.c:206: undefined reference to `printk'

amei_liu_0-1700139043232.png

How to solve it?

0 Kudos
Reply
2 Replies

408 Views
nxf92108
NXP Employee
NXP Employee

Hi,

I have tried ipc-shm-us which from release/SW32R45_IPCF_4.4.0_D2303 samples compiling with no error. You can refer the below image.

nxf92108_0-1701345535506.png

Maybe you should check your compiling environment first. 

BR.

Tags (1)
0 Kudos
Reply

421 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

In order to get in touch with RADAR application team, please submit a ticket at NXP.com.

Then I can escalate it to the regional FAE who takes care of the questions from region.

Best regards,

Peter

0 Kudos
Reply