ossrs / srs-bench

SB(SRS Bench) is a set of benchmark and regression test tools, for SRS and other media servers, supports HTTP-FLV, RTMP, HLS, WebRTC and GB28181.
https://ossrs.net
MIT License
394 stars 223 forks source link

make bench failed #47

Open DonaldDu opened 1 year ago

DonaldDu commented 1 year ago

[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 commented 5 months ago

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