-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
I know there's a similar issue already
#2
but in my case , I didn't get the binary .
chang@hq39:~/git/webrtc-remote-screen$ make
go build -tags "h264enc" cmd/agent.go
# github.com/gen2brain/x264-go/x264c
/usr/bin/ld: x264c_analyse_linux_amd64.syso: in function `x264_analyse_init_costs':
analyse.c:(.text+0x27115): undefined reference to `__log2f_finite'
collect2: error: ld returned 1 exit status
# github.com/gen2brain/x264-go/x264c
In file included from ../../go/pkg/mod/github.com/gen2brain/x264-go@v0.0.0-20180306035800-58f586137654/x264c/x264c_cgo.go:31:0:
../../go/pkg/mod/github.com/gen2brain/x264-go@v0.0.0-20180306035800-58f586137654/x264c/external/x264/encoder/encoder.c: In function ‘x264_encoder_open_152’:
../../go/pkg/mod/github.com/gen2brain/x264-go@v0.0.0-20180306035800-58f586137654/x264c/external/x264/encoder/encoder.c:1724:37: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=]
snprintf( level, sizeof(level), "%d.%d", h->sps->i_level_idc/10, h->sps->i_level_idc%10 );
^~~~~~~
../../go/pkg/mod/github.com/gen2brain/x264-go@v0.0.0-20180306035800-58f586137654/x264c/external/x264/encoder/encoder.c:1724:37: note: directive argument in the range [-214748364, 214748364]
../../go/pkg/mod/github.com/gen2brain/x264-go@v0.0.0-20180306035800-58f586137654/x264c/external/x264/encoder/encoder.c:1724:37: note: directive argument in the range [-9, 9]
In file included from /usr/include/stdio.h:867:0,
from ../../go/pkg/mod/github.com/gen2brain/x264-go@v0.0.0-20180306035800-58f586137654/x264c/external/x264/common/osdep.h:33,
from ../../go/pkg/mod/github.com/gen2brain/x264-go@v0.0.0-20180306035800-58f586137654/x264c/external/x264/common/common.h:117,
from ../../go/pkg/mod/github.com/gen2brain/x264-go@v0.0.0-20180306035800-58f586137654/x264c/external/x264/common/mc.c:27,
from ../../go/pkg/mod/github.com/gen2brain/x264-go@v0.0.0-20180306035800-58f586137654/x264c/x264c_cgo.go:6:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 4 and 14 bytes into a destination of size 4
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:24:agent] 錯誤 2
OS: ubuntu 20.04 x64
GO version : 1.13.8
any suggestions ?
Metadata
Metadata
Assignees
Labels
No labels