building a project in coines

Dear,

 

I'm trying to build a project in coines but got an error.

Could you review the error?

 

c:\COINES\v2.0\examples\c\bhy2\rotation_vector>mingw32-make
Platform: Windows
cc: "C:\TDM-GCC-64\bin\gcc.exe".
[ CC ] bhy2_rotation_vector.c
[ CC ] ../../../../sensorAPI/bhy2/bhy2_api/bhy2_api.c
[ CC ] ../../../../sensorAPI/bhy2/bhy2_host_interface/bhy_host_interface.c
[ CC ] ../../../../sensorAPI/bhy2/bhy2_hal/bhy2_hal.c
[ CC ] ../../../../sensorAPI/bhy2/bhy2_cus/bhy2_cus.c
[ MAKE ] coinesAPI
[ AR ] libcoines-pc.a
[ LD ] bhy2_rotation_vector.exe
C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../../../../coinesAPI/libcoines-pc.a(comm_intf.o):C:\COINES\v2.0\coinesAPI/pc/comm_intf/comm_intf.c:87: multiple definition of `comm_intf_sensor_info'; ../../../../coinesAPI/libcoines-pc.a(coines.o):C:\COINES\v2.0\coinesAPI/pc/coines.c:96: first defined here
collect2.exe: error: ld returned 1 exit status
../../../../examples/c/examples.mk:146: recipe for target 'bhy2_rotation_vector.exe' failed
mingw32-make: *** [bhy2_rotation_vector.exe] Error 1

3 replies