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

make bench failed #47

Open
DonaldDu opened this issue Sep 20, 2023 · 1 comment
Open

make bench failed #47

DonaldDu opened this issue Sep 20, 2023 · 1 comment

Comments

@DonaldDu
Copy link

[root@localhost srs-bench]# make bench
gofmt -w srs vnet
mkdir -p objs && echo "done" > ./objs/.format.srs.txt
gofmt -w gb28181
mkdir -p objs && echo "done" > ./objs/.format.gb28181.txt
gofmt -w *.go janus
mkdir -p objs && echo "done" > ./objs/.format.bench.txt
go build -mod=vendor -o objs/srs_bench .

golang.org/x/crypto/curve25519

vendor/golang.org/x/crypto/curve25519/curve25519_go120.go:29:6: scalarMult redeclared in this block
vendor/golang.org/x/crypto/curve25519/curve25519_amd64.go:62:6: other declaration of scalarMult

golang.org/x/sys/unix

vendor/golang.org/x/sys/unix/ioctl_unsigned.go:19:6: IoctlSetInt redeclared in this block
vendor/golang.org/x/sys/unix/ioctl.go:19:6: other declaration of IoctlSetInt
vendor/golang.org/x/sys/unix/ioctl_unsigned.go:27:6: IoctlSetPointerInt redeclared in this block
vendor/golang.org/x/sys/unix/ioctl.go:27:6: other declaration of IoctlSetPointerInt
vendor/golang.org/x/sys/unix/ioctl_unsigned.go:35:6: IoctlSetWinsize redeclared in this block
vendor/golang.org/x/sys/unix/ioctl.go:35:6: other declaration of IoctlSetWinsize
vendor/golang.org/x/sys/unix/ioctl_unsigned.go:44:6: IoctlSetTermios redeclared in this block
vendor/golang.org/x/sys/unix/ioctl.go:46:6: other declaration of IoctlSetTermios
vendor/golang.org/x/sys/unix/ioctl_unsigned.go:54:6: IoctlGetInt redeclared in this block
vendor/golang.org/x/sys/unix/ioctl.go:58:6: other declaration of IoctlGetInt
vendor/golang.org/x/sys/unix/ioctl_unsigned.go:60:6: IoctlGetWinsize redeclared in this block
vendor/golang.org/x/sys/unix/ioctl.go:64:6: other declaration of IoctlGetWinsize
vendor/golang.org/x/sys/unix/ioctl_unsigned.go:66:6: IoctlGetTermios redeclared in this block
vendor/golang.org/x/sys/unix/ioctl.go:70:6: other declaration of IoctlGetTermios
make: *** [objs/srs_bench] 错误 1

centOS7上编译失败,Ubuntu上编译也失败。
能像其它开源工具一样,直接在Release中,打包一个能下载直接用的包吗?

@liseri
Copy link

liseri commented May 6, 2024

@DonaldDu 同问,请问你解决了么;

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

No branches or pull requests

2 participants