嗯哼丶

嗯哼丶

0个粉丝

13

问答

0

专栏

0

资料

嗯哼丶  发布于  2021-12-03 13:51:50
采纳率 39%
13个问答
2876

hi3556v200 编译 PQTools 下的 HI3559V200_ext_api

     

  请问 3556v200 在编译 pqtools 的 ext_api 时,要怎么修改 Makefile,里面的静态库,只有 mpi 和 tde 是在 amp/a7_linux/mpp/lib 下的,其他的都是在 amp/a7_liteos/mpp/lib 下。

  以下为我修改后的 Makefile

export SDK_DIR = /home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0
export HIARCH ?=Hi3559V200

LINUX_MPP_DIR = $(SDK_DIR)/amp/a7_linux/mpp
LITEOS_MPP_DIR = $(SDK_DIR)/amp/a7_liteos/mpp

export CROSS = arm-himix100-linux-
export SRC_DIR = $(shell pwd)
export INC_DIR = $(shell pwd)/../include
export BIN_LIB_DIR = $(shell pwd)/../release

TARGET := sample_bin 

INC := 
INC += -I$(INC_DIR)
INC += -I$(LINUX_MPP_DIR)/include
INC += -I$(LITEOS_MPP_DIR)/include

LIBS :=
LIBS+= $(BIN_LIB_DIR)/libbin.a

LIBS+= $(LITEOS_MPP_DIR)/lib/libisp.a
LIBS+= $(LITEOS_MPP_DIR)/lib/libmpi.a
LIBS+= $(LITEOS_MPP_DIR)/lib/libupvqe.a
LIBS+= $(LITEOS_MPP_DIR)/lib/libdnvqe.a
LIBS+= $(LITEOS_MPP_DIR)/lib/libVoiceEngine.a
LIBS+= $(LITEOS_MPP_DIR)/lib/lib_hidehaze.a
LIBS+= $(LINUX_MPP_DIR)/lib/libtde.a
LIBS+= $(LITEOS_MPP_DIR)/lib/lib_hidrc.a
LIBS+= $(LITEOS_MPP_DIR)/lib/lib_hildci.a
LIBS+= $(LITEOS_MPP_DIR)/lib/libsecurec.a

CC = $(CROSS)gcc

SRC := $(SRC_DIR)/Sample_pq_bin.c
OBJ := $(SRC:%.c=%.o)

CFLAGS := -fPIC -Wall -lm -ldl -lpthread

.PHONY: all $(TARGET) clean

all : $(TARGET)

$(TARGET) : $(OBJ)
    $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
$(OBJ) : $(SRC)
    $(CC) $(CFLAGS) -o $@ -c $< $(INC)

clean:
    @rm -f $(TARGET)
    @rm -f *.o

  以下是执行 make 时的信息

arm-himix100-linux-gcc -fPIC -Wall -lm -ldl -lpthread -o sample_bin /home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/pqtool/Hi3559V200_ext_api_V1.0.1.0/libbin/sample/Sample_pq_bin.o  /home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/pqtool/Hi3559V200_ext_api_V1.0.1.0/libbin/sample/../release/libbin.a /home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libisp.a /home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a /home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libupvqe.a /home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libdnvqe.a /home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libVoiceEngine.a /home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/lib_hidehaze.a /home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_linux/mpp/lib/libtde.a /home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/lib_hidrc.a /home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/lib_hildci.a /home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libsecurec.a
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ai.o): In function `AiCheckOpen':
mpi_ai.c:(.text.AiCheckOpen+0xfc): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ai.o): In function `MPI_AI_SetResmpDbgInfo':
mpi_ai.c:(.text.MPI_AI_SetResmpDbgInfo+0x8c): undefined reference to `HI_LOG'
mpi_ai.c:(.text.MPI_AI_SetResmpDbgInfo+0xc0): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ai.o): In function `MPI_AI_SetVqeDbgInfo':
mpi_ai.c:(.text.MPI_AI_SetVqeDbgInfo+0x8c): undefined reference to `HI_LOG'
mpi_ai.c:(.text.MPI_AI_SetVqeDbgInfo+0xc0): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ai.o):mpi_ai.c:(.text.MPI_AI_GetVqeAttr+0x118): more undefined references to `HI_LOG' follow
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ai.o): In function `MPI_AI_ChnGetFrmProc':
mpi_ai.c:(.text.MPI_AI_ChnGetFrmProc+0x1238): undefined reference to `osal_panic'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ai.o): In function `HI_MPI_AI_Enable':
mpi_ai.c:(.text.HI_MPI_AI_Enable+0x114): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ai.o): In function `HI_MPI_AI_Disable':
mpi_ai.c:(.text.HI_MPI_AI_Disable+0x110): undefined reference to `HI_LOG'
mpi_ai.c:(.text.HI_MPI_AI_Disable+0x14c): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ai.o): In function `HI_MPI_AI_EnableChn':
mpi_ai.c:(.text.HI_MPI_AI_EnableChn+0x170): undefined reference to `HI_LOG'
mpi_ai.c:(.text.HI_MPI_AI_EnableChn+0x1a4): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ai.o):mpi_ai.c:(.text.HI_MPI_AI_EnableChn+0x1e8): more undefined references to `HI_LOG' follow
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_venc.o): In function `HI_MPI_VENC_GetStream':
mpi_venc.c:(.text.HI_MPI_VENC_GetStream+0x238): undefined reference to `osal_panic'
mpi_venc.c:(.text.HI_MPI_VENC_GetStream+0x25c): undefined reference to `HI_LOG'
mpi_venc.c:(.text.HI_MPI_VENC_GetStream+0x3f8): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_venc.o): In function `HI_MPI_VENC_SendFrame':
mpi_venc.c:(.text.HI_MPI_VENC_SendFrame+0x104): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_venc.o): In function `HI_MPI_VENC_SendFrameEx':
mpi_venc.c:(.text.HI_MPI_VENC_SendFrameEx+0x134): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_venc.o): In function `HI_MPI_VENC_SetSSERegion':
mpi_venc.c:(.text.HI_MPI_VENC_SetSSERegion+0xb0): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_venc.o):mpi_venc.c:(.text.HI_MPI_VENC_GetSSERegion+0xb4): more undefined references to `HI_LOG' follow
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ao.o): In function `MPI_AO_QueryCircleBufferWriteData':
mpi_ao.c:(.text.MPI_AO_QueryCircleBufferWriteData+0xc0): undefined reference to `osal_panic'
mpi_ao.c:(.text.MPI_AO_QueryCircleBufferWriteData+0x108): undefined reference to `osal_panic'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ao.o): In function `MPI_AO_PutDataToCircleBufferAndUpdateWritePtr':
mpi_ao.c:(.text.MPI_AO_PutDataToCircleBufferAndUpdateWritePtr+0x168): undefined reference to `osal_panic'
mpi_ao.c:(.text.MPI_AO_PutDataToCircleBufferAndUpdateWritePtr+0x1f8): undefined reference to `osal_panic'
mpi_ao.c:(.text.MPI_AO_PutDataToCircleBufferAndUpdateWritePtr+0x2b4): undefined reference to `HI_LOG'
mpi_ao.c:(.text.MPI_AO_PutDataToCircleBufferAndUpdateWritePtr+0x2ec): undefined reference to `HI_LOG'
mpi_ao.c:(.text.MPI_AO_PutDataToCircleBufferAndUpdateWritePtr+0x328): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ao.o): In function `HI_MPI_AO_SetPubAttr':
mpi_ao.c:(.text.HI_MPI_AO_SetPubAttr+0x88): undefined reference to `HI_LOG'
mpi_ao.c:(.text.HI_MPI_AO_SetPubAttr+0xbc): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ao.o):mpi_ao.c:(.text.HI_MPI_AO_GetPubAttr+0x88): more undefined references to `HI_LOG' follow
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ao.o): In function `MPI_AO_QueryCircleBufferReadData':
mpi_ao.c:(.text.MPI_AO_QueryCircleBufferReadData+0x110): undefined reference to `osal_panic'
mpi_ao.c:(.text.MPI_AO_QueryCircleBufferReadData+0x184): undefined reference to `osal_panic'
mpi_ao.c:(.text.MPI_AO_QueryCircleBufferReadData+0x1bc): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ao.o): In function `MPI_AO_UpdateCircleBufferReadPtr':
mpi_ao.c:(.text.MPI_AO_UpdateCircleBufferReadPtr+0x158): undefined reference to `osal_panic'
mpi_ao.c:(.text.MPI_AO_UpdateCircleBufferReadPtr+0x1f8): undefined reference to `osal_panic'
mpi_ao.c:(.text.MPI_AO_UpdateCircleBufferReadPtr+0x220): undefined reference to `osal_panic'
mpi_ao.c:(.text.MPI_AO_UpdateCircleBufferReadPtr+0x254): undefined reference to `osal_panic'
mpi_ao.c:(.text.MPI_AO_UpdateCircleBufferReadPtr+0x290): undefined reference to `osal_panic'
mpi_ao.c:(.text.MPI_AO_UpdateCircleBufferReadPtr+0x2d8): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ao.o): In function `HI_MPI_AO_Enable':
mpi_ao.c:(.text.HI_MPI_AO_Enable+0x74): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ao.o): In function `HI_MPI_AO_Disable':
mpi_ao.c:(.text.HI_MPI_AO_Disable+0x74): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ao.o): In function `HI_MPI_AO_EnableChn':
mpi_ao.c:(.text.HI_MPI_AO_EnableChn+0x28c): undefined reference to `HI_LOG'
mpi_ao.c:(.text.HI_MPI_AO_EnableChn+0x2c0): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ao.o):mpi_ao.c:(.text.HI_MPI_AO_EnableChn+0x360): more undefined references to `HI_LOG' follow
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ao.o): In function `MPI_AO_ReceiveFrm':
mpi_ao.c:(.text.MPI_AO_ReceiveFrm+0x38): undefined reference to `osal_panic'
mpi_ao.c:(.text.MPI_AO_ReceiveFrm+0x84): undefined reference to `osal_panic'
mpi_ao.c:(.text.MPI_AO_ReceiveFrm+0x9c): undefined reference to `osal_panic'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ao.o): In function `HI_MPI_AO_ClearChnBuf':
mpi_ao.c:(.text.HI_MPI_AO_ClearChnBuf+0x1ac): undefined reference to `HI_LOG'
mpi_ao.c:(.text.HI_MPI_AO_ClearChnBuf+0x1e0): undefined reference to `HI_LOG'
mpi_ao.c:(.text.HI_MPI_AO_ClearChnBuf+0x214): undefined reference to `HI_LOG'
mpi_ao.c:(.text.HI_MPI_AO_ClearChnBuf+0x248): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ao.o): In function `HI_MPI_AO_QueryChnStat':
mpi_ao.c:(.text.HI_MPI_AO_QueryChnStat+0x90): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_ao.o):mpi_ao.c:(.text.HI_MPI_AO_QueryChnStat+0xc4): more undefined references to `HI_LOG' follow
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_aenc.o): In function `MPI_AENC_CreateChn':
mpi_aenc.c:(.text.MPI_AENC_CreateChn+0x600): undefined reference to `osal_panic'
mpi_aenc.c:(.text.MPI_AENC_CreateChn+0x75c): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.MPI_AENC_CreateChn+0x77c): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.MPI_AENC_CreateChn+0x834): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.MPI_AENC_CreateChn+0x84c): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.MPI_AENC_CreateChn+0x874): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_aenc.o):mpi_aenc.c:(.text.MPI_AENC_CreateChn+0x88c): more undefined references to `HI_LOG' follow
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_aenc.o): In function `HI_MPI_AENC_SendFrame':
mpi_aenc.c:(.text.HI_MPI_AENC_SendFrame+0x3f8): undefined reference to `osal_panic'
mpi_aenc.c:(.text.HI_MPI_AENC_SendFrame+0x590): undefined reference to `osal_panic'
mpi_aenc.c:(.text.HI_MPI_AENC_SendFrame+0x604): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.HI_MPI_AENC_SendFrame+0x618): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.HI_MPI_AENC_SendFrame+0x6d0): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.HI_MPI_AENC_SendFrame+0x6e4): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.HI_MPI_AENC_SendFrame+0x878): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_aenc.o):mpi_aenc.c:(.text.HI_MPI_AENC_SendFrame+0x8a0): more undefined references to `HI_LOG' follow
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_aenc.o): In function `HI_MPI_AENC_SendFrame':
mpi_aenc.c:(.text.HI_MPI_AENC_SendFrame+0x8d4): undefined reference to `osal_panic'
mpi_aenc.c:(.text.HI_MPI_AENC_SendFrame+0x904): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.HI_MPI_AENC_SendFrame+0x918): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.HI_MPI_AENC_SendFrame+0x9c8): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.HI_MPI_AENC_SendFrame+0x9dc): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.HI_MPI_AENC_SendFrame+0xa18): undefined reference to `osal_panic'
mpi_aenc.c:(.text.HI_MPI_AENC_SendFrame+0xa44): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.HI_MPI_AENC_SendFrame+0xa5c): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.HI_MPI_AENC_SendFrame+0xa84): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.HI_MPI_AENC_SendFrame+0xa98): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.HI_MPI_AENC_SendFrame+0xad4): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_aenc.o): In function `HI_MPI_AENC_GetStream':
mpi_aenc.c:(.text.HI_MPI_AENC_GetStream+0x1a0): undefined reference to `osal_panic'
mpi_aenc.c:(.text.HI_MPI_AENC_GetStream+0x1d4): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.HI_MPI_AENC_GetStream+0x1ec): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_aenc.o): In function `HI_MPI_AENC_ReleaseStream':
mpi_aenc.c:(.text.HI_MPI_AENC_ReleaseStream+0x154): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.HI_MPI_AENC_ReleaseStream+0x168): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_aenc.o): In function `MPI_AENC_GetFrame':
mpi_aenc.c:(.text.MPI_AENC_GetFrame+0x114): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_aenc.o):mpi_aenc.c:(.text.MPI_AENC_GetFrame+0x12c): more undefined references to `HI_LOG' follow
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_aenc.o): In function `MPI_AENC_ChnGetFrmProc':
mpi_aenc.c:(.text.MPI_AENC_ChnGetFrmProc+0x1ac): undefined reference to `osal_panic'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_aenc.o): In function `MPI_AENC_CreateGetFrmProc':
mpi_aenc.c:(.text.MPI_AENC_CreateGetFrmProc+0xc8): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.MPI_AENC_CreateGetFrmProc+0xe0): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_aenc.o): In function `HI_MPI_AENC_CreateChn':
mpi_aenc.c:(.text.HI_MPI_AENC_CreateChn+0x168): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.HI_MPI_AENC_CreateChn+0x180): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.HI_MPI_AENC_CreateChn+0x20c): undefined reference to `osal_panic'
mpi_aenc.c:(.text.HI_MPI_AENC_CreateChn+0x234): undefined reference to `osal_panic'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_aenc.o): In function `HI_MPI_AENC_DestroyChn':
mpi_aenc.c:(.text.HI_MPI_AENC_DestroyChn+0x134): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.HI_MPI_AENC_DestroyChn+0x148): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.HI_MPI_AENC_DestroyChn+0x188): undefined reference to `HI_LOG'
mpi_aenc.c:(.text.HI_MPI_AENC_DestroyChn+0x1a0): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_vb.o): In function `HI_MPI_VB_MmapPool':
mpi_vb.c:(.text.HI_MPI_VB_MmapPool+0x118): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_vb.o):mpi_vb.c:(.text.HI_MPI_VB_MmapPool+0x148): more undefined references to `HI_LOG' follow
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_vb.o): In function `HI_MPI_VB_MunmapPool':
mpi_vb.c:(.text.HI_MPI_VB_MunmapPool+0x1b8): undefined reference to `osal_panic'
mpi_vb.c:(.text.HI_MPI_VB_MunmapPool+0x1f0): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_vb.o): In function `HI_MPI_VB_GetBlockVirAddr':
mpi_vb.c:(.text.HI_MPI_VB_GetBlockVirAddr+0xb8): undefined reference to `osal_panic'
mpi_vb.c:(.text.HI_MPI_VB_GetBlockVirAddr+0xe8): undefined reference to `HI_LOG'
mpi_vb.c:(.text.HI_MPI_VB_GetBlockVirAddr+0x124): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_bind.o): In function `MPI_SysGetDevChnByIdx':
mpi_bind.c:(.text.MPI_SysGetDevChnByIdx+0x40): undefined reference to `osal_panic'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_bind.o): In function `MPI_SysCheckBindChn':
mpi_bind.c:(.text.MPI_SysCheckBindChn+0xa4): undefined reference to `HI_LOG'
mpi_bind.c:(.text.MPI_SysCheckBindChn+0xd8): undefined reference to `HI_LOG'
mpi_bind.c:(.text.MPI_SysCheckBindChn+0x118): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_bind.o): In function `MPI_SysGetBinderbySrc':
mpi_bind.c:(.text.MPI_SysGetBinderbySrc+0x100): undefined reference to `HI_LOG'
mpi_bind.c:(.text.MPI_SysGetBinderbySrc+0x138): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_bind.o):mpi_bind.c:(.text.MPI_SysGetBinderbySrc+0x168): more undefined references to `HI_LOG' follow
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_bind.o): In function `MPI_SYS_UnBind':
mpi_bind.c:(.text.MPI_SYS_UnBind+0x1fc): undefined reference to `osal_panic'
mpi_bind.c:(.text.MPI_SYS_UnBind+0x284): undefined reference to `HI_LOG'
mpi_bind.c:(.text.MPI_SYS_UnBind+0x32c): undefined reference to `HI_LOG'
mpi_bind.c:(.text.MPI_SYS_UnBind+0x35c): undefined reference to `HI_LOG'
mpi_bind.c:(.text.MPI_SYS_UnBind+0x380): undefined reference to `osal_panic'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_bind.o): In function `MPI_SYS_GetBindbyDest':
mpi_bind.c:(.text.MPI_SYS_GetBindbyDest+0xd4): undefined reference to `HI_LOG'
mpi_bind.c:(.text.MPI_SYS_GetBindbyDest+0x110): undefined reference to `HI_LOG'
mpi_bind.c:(.text.MPI_SYS_GetBindbyDest+0x140): undefined reference to `HI_LOG'
mpi_bind.c:(.text.MPI_SYS_GetBindbyDest+0x170): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_bind.o): In function `MPI_SYS_BIND_SendData':
mpi_bind.c:(.text.MPI_SYS_BIND_SendData+0x1ec): undefined reference to `osal_panic'
mpi_bind.c:(.text.MPI_SYS_BIND_SendData+0x254): undefined reference to `HI_LOG'
mpi_bind.c:(.text.MPI_SYS_BIND_SendData+0x284): undefined reference to `osal_panic'
mpi_bind.c:(.text.MPI_SYS_BIND_SendData+0x2b0): undefined reference to `osal_panic'
mpi_bind.c:(.text.MPI_SYS_BIND_SendData+0x2d4): undefined reference to `osal_panic'
mpi_bind.c:(.text.MPI_SYS_BIND_SendData+0x304): undefined reference to `HI_LOG'
mpi_bind.c:(.text.MPI_SYS_BIND_SendData+0x340): undefined reference to `HI_LOG'
mpi_bind.c:(.text.MPI_SYS_BIND_SendData+0x37c): undefined reference to `HI_LOG'
mpi_bind.c:(.text.MPI_SYS_BIND_SendData+0x3b4): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(mpi_bind.o): In function `MPI_SYS_BIND_ResetData':
mpi_bind.c:(.text.MPI_SYS_BIND_ResetData+0x1d0): undefined reference to `osal_panic'
mpi_bind.c:(.text.MPI_SYS_BIND_ResetData+0x23c): undefined reference to `HI_LOG'
mpi_bind.c:(.text.MPI_SYS_BIND_ResetData+0x26c): undefined reference to `osal_panic'
mpi_bind.c:(.text.MPI_SYS_BIND_ResetData+0x290): undefined reference to `osal_panic'
mpi_bind.c:(.text.MPI_SYS_BIND_ResetData+0x2b8): undefined reference to `HI_LOG'
mpi_bind.c:(.text.MPI_SYS_BIND_ResetData+0x2ec): undefined reference to `HI_LOG'
mpi_bind.c:(.text.MPI_SYS_BIND_ResetData+0x32c): undefined reference to `HI_LOG'
mpi_bind.c:(.text.MPI_SYS_BIND_ResetData+0x364): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(hiisp_gdc_fw_user.o): In function `GDC_Fisheye_CFG':
hiisp_gdc_fw_user.c:(.text.GDC_Fisheye_CFG+0x12c): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(hiisp_gdc_fw_user.o):hiisp_gdc_fw_user.c:(.text.GDC_Fisheye_CFG+0x158): more undefined references to `HI_LOG' follow
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(hiisp_gdc_fw_user.o): In function `GDC_Fisheye_CFG':
hiisp_gdc_fw_user.c:(.text.GDC_Fisheye_CFG+0x55c): undefined reference to `osal_printk'
hiisp_gdc_fw_user.c:(.text.GDC_Fisheye_CFG+0x588): undefined reference to `HI_LOG'
hiisp_gdc_fw_user.c:(.text.GDC_Fisheye_CFG+0x604): undefined reference to `HI_LOG'
hiisp_gdc_fw_user.c:(.text.GDC_Fisheye_CFG+0x630): undefined reference to `HI_LOG'
hiisp_gdc_fw_user.c:(.text.GDC_Fisheye_CFG+0x660): undefined reference to `HI_LOG'
hiisp_gdc_fw_user.c:(.text.GDC_Fisheye_CFG+0x68c): undefined reference to `HI_LOG'
hiisp_gdc_fw_user.c:(.text.GDC_Fisheye_CFG+0x6c0): undefined reference to `osal_printk'
hiisp_gdc_fw_user.c:(.text.GDC_Fisheye_CFG+0x7c0): undefined reference to `osal_printk'
hiisp_gdc_fw_user.c:(.text.GDC_Fisheye_CFG+0x7f4): undefined reference to `osal_printk'
hiisp_gdc_fw_user.c:(.text.GDC_Fisheye_CFG+0x824): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(hiisp_gdc_fw_user.o): In function `GDC_Trapzoid_CFG':
hiisp_gdc_fw_user.c:(.text.GDC_Trapzoid_CFG+0xe8): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(hiisp_gdc_fw_user.o): In function `GDC_LDC_CFG':
hiisp_gdc_fw_user.c:(.text.GDC_LDC_CFG+0x70): undefined reference to `HI_LOG'
hiisp_gdc_fw_user.c:(.text.GDC_LDC_CFG+0xe8): undefined reference to `HI_LOG'
hiisp_gdc_fw_user.c:(.text.GDC_LDC_CFG+0x148): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(hiisp_gdc_fw_user.o):hiisp_gdc_fw_user.c:(.text.GDC_LDC_CFG+0x174): more undefined references to `HI_LOG' follow
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libmpi.a(hiisp_gdc_fw_user.o): In function `GDC_FreeAngleRotation_CFG':
hiisp_gdc_fw_user.c:(.text.GDC_FreeAngleRotation_CFG+0x440): undefined reference to `osal_printk'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libupvqe.a(hi_audio_dl_work.o): In function `DL_HI_Audio_Dlopen':
(.text.DL_HI_Audio_Dlopen+0x30): undefined reference to `LOS_SoLoad'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libupvqe.a(hi_audio_dl_work.o): In function `DL_HI_Audio_Dlsym':
(.text.DL_HI_Audio_Dlsym+0x64): undefined reference to `LOS_FindSymByName'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/libupvqe.a(hi_audio_dl_work.o): In function `DL_HI_Audio_Dlclose':
(.text.DL_HI_Audio_Dlclose+0x50): undefined reference to `LOS_ModuleUnload'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/lib_hidehaze.a(isp_dehaze.o): In function `DehazeCtxInit':
isp_dehaze.c:(.text.DehazeCtxInit+0x80): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/lib_hidehaze.a(isp_dehaze.o): In function `DehazeDbgRunEnd':
isp_dehaze.c:(.text.DehazeDbgRunEnd+0xfc): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/lib_hidehaze.a(isp_dehaze.o): In function `ISP_DehazeRun':
isp_dehaze.c:(.text.ISP_DehazeRun+0xbd4): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/lib_hidehaze.a(isp_dehaze.o): In function `ISP_DehazeCtrl':
isp_dehaze.c:(.text.ISP_DehazeCtrl+0x1e4): undefined reference to `HI_LOG'
isp_dehaze.c:(.text.ISP_DehazeCtrl+0x214): undefined reference to `HI_LOG'
/home/hisi/Hi3559V200_MobileCam_SDK_V1.0.1.0/amp/a7_liteos/mpp/lib/lib_hidehaze.a(isp_dehaze.o):isp_dehaze.c:(.text.ISP_DehazeCtrl+0x244): more undefined references to `HI_LOG' follow
collect2: error: ld returned 1 exit status
make: *** [sample_bin] Error 1
我来回答
回答2个
时间排序
认可量排序

david

11个粉丝

42

问答

28

专栏

58

资料

david 2021-12-04 13:43:20
认可0
易百纳技术社区该回答已被题主采纳为最佳答案

HI_LOG ,自己定义个printf,或者 看看这个文件在哪个头文件定义的,加进去

嗯哼丶

0个粉丝

13

问答

0

专栏

0

资料

嗯哼丶 2021-12-06 09:54:42
认可0

引用 @途行者阿杜 “HI_LOG ,自己定义个printf,”
嗯 我找到这个函数定义的头文件 然后把他定义成了一个空的宏

或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区