This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

undefined reference to `C6accel_create'

cfg 文件中也有添加,头文件也对,var C6ACCEL = xdc.useModule('ti.c6accel.ce.C6ACCEL');

但编译的时候,怎么提示

package/cfg/bin/ti_platforms_evm3530/app_remote/app.ov5T: In function `smain':

app.c:(.text+0x33c): undefined reference to `C6accel_create'

是不是库没有链接上呢, makefile 怎么修改才好?

#  ======== makefile ========

#  GNUmake-based makefile.

#

# include the files that defines XDC package, paths and build rules

EXAMPLES_ROOTDIR := $(CURDIR)/../../../../../..

TARGET = $(notdir $(CURDIR))

include $(EXAMPLES_ROOTDIR)/xdcpaths.mak

# add the examples directory itself to the list of paths to packages

XDC_PATH := $(EXAMPLES_ROOTDIR);$(XDC_PATH);$(DMAI_INSTALL_DIR)/packages;$(LINUXKERNEL_INSTALL_DIR);$(CODEC_INSTALL_DIR)/packages;$(CE_INSTALL_DIR)/packages;$(LINK_INSTALL_DIR)/packages;$(XDAIS_INSTALL_DIR)/packages;$(CMEM_INSTALL_DIR)/packages;$(CURDIR)/inc;$(FC_INSTALL_DIR)/packages;$(EDMA3_LLD_INSTALL_DIR)/packages;$(DEMO_INSTALL_DIR)/packages;$(BIOS_INSTALL_DIR)/packages;$(C6ACCEL_INSTALL_DIR)/soc/packages;$(CURDIR)/..

include $(EXAMPLES_ROOTDIR)/buildutils/xdcrules.mak

#

#  @(#) ti.sdo.ce.examples.apps.video_copy; 1, 0, 0,15; 6-3-2009 02:26:06; /db/atree/library/trees/ce/ce-n07x/src/

#

另外,自己第一了一个c文件,怎么里面的函数,也是看不件,怎么作,才能看见或链接上呢?

x 出现错误。请重试或与管理员联系。