Hi,
I failed to build app.out in codec engine example $(CE_INSTALL_DIR)/examples/ti/sdo/ce/examples/apps/video_copy with DVSDK_4_01_00_09 on rowboat android.
The reason for me to do this is I need to develop android applications with codec engine.
Here is my steps:
(1) go to directory configuro/evm3530
(2) modify config.bld with android toolchain gcc, cflags and ldflags.
(3) modify makefile with android toolchain gcc, cflags and ldflags.
Because Android toolchain dosen't support -lpthread and it implements thread functions in libc,
so I changed
"app.out: app.o main_native.o $(LINKER_FILE)
$(CC) -o $@ $^ -lpthread "
to
"app.out: app.o main_native.o $(LINKER_FILE)
$(CC) -o $@ $^ $(ANDROID_LD_FLAGS) "
(4) modify xdcpaths.mak
(5) execute "make"
It complainted "collect2: ld terminated with signal 11
[segmentation fault]" simply beacause I delete "-lpthread". But when I
added it back it just complainted "-lpthread not found"
Is there a way for toolchains like android to get away from "-lpthread" ?
I posted to rowboat google group but. Hope someone could help me. Thanks in advance.
Cooper Lz