Skip to content

Linker errors while using ncnn with Ingenic T40 #5932

@jvasanthan

Description

@jvasanthan

Hi @MarsTechHAN ,

I am able to compile ncnn for Ingenic T40 and when I try to compile yolov5 example I get the following linker errors
expression.cpp:(.text+0x15ec): undefined reference to __acosf_finite' expression.cpp:(.text+0x1b0c): undefined reference to __atan2f_finite'
expression.cpp:(.text+0x1b6c): undefined reference to __fmodf_finite' expression.cpp:(.text+0x1bc4): undefined reference to __powf_finite'
expression.cpp:(.text+0x1ca8): undefined reference to `__expf_finite'

all these are related to math lib. mips uclibc doesn't support these functions.

How did you compile the examples for T40? what changes I should do to fix these errors?

Regards,
James

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions