Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

缺少依赖库,编译不通过 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thinkboy
Copy link

//系统版本
Linux version 3.10.0-957.21.3.el7.x86_64 (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Tue Jun 18 16:35:19 UTC 2019

go build编译报错:

github.com/winlinvip/go-fdkaac/fdkaac

../github.com/winlinvip/go-fdkaac/fdkaac/../fdk-aac-lib/objs/lib/libfdk-aac.a(genericStds.o):在函数‘FDKsqrt’中:
../github.com/winlinvip/go-fdkaac/fdk-aac-lib/libSYS/src/genericStds.cpp:358:对‘sqrt’未定义的引用
../github.com/winlinvip/go-fdkaac/fdkaac/../fdk-aac-lib/objs/lib/libfdk-aac.a(genericStds.o):在函数‘FDKpow’中:
../github.com/winlinvip/go-fdkaac/fdk-aac-lib/libSYS/src/genericStds.cpp:357:对‘pow’未定义的引用
../github.com/winlinvip/go-fdkaac/fdkaac/../fdk-aac-lib/objs/lib/libfdk-aac.a(genericStds.o):在函数‘FDKatan’中:
../github.com/winlinvip/go-fdkaac/fdk-aac-lib/libSYS/src/genericStds.cpp:359:对‘atan’未定义的引用
../github.com/winlinvip/go-fdkaac/fdkaac/../fdk-aac-lib/objs/lib/libfdk-aac.a(genericStds.o):在函数‘FDKlog’中:
../github.com/winlinvip/go-fdkaac/fdk-aac-lib/libSYS/src/genericStds.cpp:360:对‘log’未定义的引用
../github.com/winlinvip/go-fdkaac/fdkaac/../fdk-aac-lib/objs/lib/libfdk-aac.a(genericStds.o):在函数‘FDKsin’中:
(此处省略一堆重复错误)
collect2: 错误:ld 返回 1

//系统版本
Linux version 3.10.0-957.21.3.el7.x86_64  (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) winlinvip#1 SMP Tue Jun 18 16:35:19 UTC 2019

go build编译报错:
# github.com/winlinvip/go-fdkaac/fdkaac
../github.com/winlinvip/go-fdkaac/fdkaac/../fdk-aac-lib/objs/lib/libfdk-aac.a(genericStds.o):在函数‘FDKsqrt’中:
../github.com/winlinvip/go-fdkaac/fdk-aac-lib/libSYS/src/genericStds.cpp:358:对‘sqrt’未定义的引用
../github.com/winlinvip/go-fdkaac/fdkaac/../fdk-aac-lib/objs/lib/libfdk-aac.a(genericStds.o):在函数‘FDKpow’中:
../github.com/winlinvip/go-fdkaac/fdk-aac-lib/libSYS/src/genericStds.cpp:357:对‘pow’未定义的引用
../github.com/winlinvip/go-fdkaac/fdkaac/../fdk-aac-lib/objs/lib/libfdk-aac.a(genericStds.o):在函数‘FDKatan’中:
../github.com/winlinvip/go-fdkaac/fdk-aac-lib/libSYS/src/genericStds.cpp:359:对‘atan’未定义的引用
../github.com/winlinvip/go-fdkaac/fdkaac/../fdk-aac-lib/objs/lib/libfdk-aac.a(genericStds.o):在函数‘FDKlog’中:
../github.com/winlinvip/go-fdkaac/fdk-aac-lib/libSYS/src/genericStds.cpp:360:对‘log’未定义的引用
../github.com/winlinvip/go-fdkaac/fdkaac/../fdk-aac-lib/objs/lib/libfdk-aac.a(genericStds.o):在函数‘FDKsin’中:
(此处省略一堆重复错误)
collect2: 错误:ld 返回 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant