honeynet / riotpot

the IoT and OT (Operational Technology) Honeypot
MIT License
18 stars 4 forks source link

compile.sh returns error #42

Closed EvilWatermelon closed 8 months ago

EvilWatermelon commented 9 months ago

While building the docker container I get:

 => ERROR [riotpot builder 14/14] RUN make compile                                                             24.4s
------                                                                                                               
 > [riotpot builder 14/14] RUN make compile:                                                                         
0.162 build/compile.sh                                                                                               
9.117 /riotpot/plugin/coapd/                                                                                         
9.117 coapd                                                                                                          
17.86 /riotpot/plugin/echod/                                                                                         
17.86 echod
18.32 /riotpot/plugin/ftpd/
18.32 ftpd
18.80 /riotpot/plugin/httpd/
18.80 httpd
21.59 /riotpot/plugin/httpsd/
21.59 httpsd
22.29 /riotpot/plugin/modbusd/
22.29 modbusd
22.95 /riotpot/plugin/mqttd/
22.95 mqttd
23.44 /riotpot/plugin/sshd/
23.44 sshd
23.61 # github.com/traetox/pty
23.61 /go/pkg/mod/github.com/traetox/pty@v0.0.0-20141209045113-df6c8cd2e0e6/pty_linux.go:11:51: undefined: _C_uint
23.61 /go/pkg/mod/github.com/traetox/pty@v0.0.0-20141209045113-df6c8cd2e0e6/pty_linux.go:12:51: undefined: _C_int
23.61 /go/pkg/mod/github.com/traetox/pty@v0.0.0-20141209045113-df6c8cd2e0e6/pty_linux.go:39:8: undefined: _C_uint
23.61 /go/pkg/mod/github.com/traetox/pty@v0.0.0-20141209045113-df6c8cd2e0e6/pty_linux.go:48:8: undefined: _C_int
24.33 make: *** [Makefile:9: compile] Error 1
------
failed to solve: process "/bin/sh -c make compile" did not complete successfully: exit code: 2

How can I fix this?

RicYaben commented 8 months ago

Hey there! please provide more details about your setup. It is quite challenging to help you out without any info about docker version, your os, etc.