Giter Club home page Giter Club logo

cell's Issues

compile error.

It show this:

# github.com/project-nano/cell
./daemon.go:134:9: cannot use &s (type *MainService) as type framework.DaemonizedService in return argument:
        *MainService does not implement framework.DaemonizedService (missing Snapshot method)

how can i fix this, thanks.

Dual network card CentOS7.9 cell error

install cell module 1.3.0
report error details

try installing from online reciprocity...  
dependency packages installed  
**configure default network bridge fail: no ethernet interface available**

reinstall OS as same situation

$# ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: p8p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 70:b5:e8:4a:ca:3e brd ff:ff:ff:ff:ff:ff
    inet 192.168.18.158/24 brd 192.168.18.255 scope global noprefixroute p8p1
       valid_lft forever preferred_lft forever
    inet6 fe80::72b5:e8ff:fe4a:ca3e/64 scope link 
       valid_lft forever preferred_lft forever
3: p1p1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 00:e0:4c:82:6a:df brd ff:ff:ff:ff:ff:ff

net-twork card p1p1 disabled

Something wrong with Compile

#git clone https://github.com/project-nano/cell.git
#cd cell
#go build -o cell -i -ldflags="-w -s"

go: downloading github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df
# pkg-config --cflags  -- libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libvirt', required by 'virtual:world', not found
Package 'libvirt', required by 'virtual:world', not found
....
# github.com/amoghe/go-crypt
/root/go/pkg/mod/github.com/amoghe/[email protected]/crypt_r.go: ‘gnu_ext_crypt’:
/root/go/pkg/mod/github.com/amoghe/[email protected]/crypt_r.go:35:3: warning:‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
   strncpy(ret, enc, strlen(enc));
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

*but project core Compile, its normal with no wrong *`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.