-
Notifications
You must be signed in to change notification settings - Fork 105
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
coredhcp build error #176
Comments
I can't reproduce this build error. The message you quote looks like a runtime error to me? specifically it would come from coredhcp/plugins/range/plugin.go Line 129 in 12a2f40
You have 2 options here:
I'm keeping this open, as I think we should make it an actual build failure if the range plugin (which requires cgo) is built with cgo disabled |
Thank your answer! I resolved this problem following the second way. and I chose the DHCPv4 but its can`t run the client with " FATAL main: short hardware addrss: less than 4 bytes " , is the client progrom not support v4 server ? |
The client in this repository is only a debugging tool and not meant to be used as a general client; It indeed only supports DHCPv6. |
ok,got it!thank you~
…------------------ 原始邮件 ------------------
发件人: "coredhcp/coredhcp" ***@***.***>;
发送时间: 2024年3月13日(星期三) 下午5:43
***@***.***>;
***@***.******@***.***>;
主题: Re: [coredhcp/coredhcp] coredhcp build error (Issue #176)
The client in this repository is only a debugging tool and not meant to be used as a general client; It indeed only supports DHCPv6.
You could try the DHCPv4 client maintained by upstream: https://github.com/insomniacslk/dhcp/tree/master/dhcpv4/nclient4
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
when I go build coredhcp,there is always an error that "could not setup lease storage: failed to open lease database leases.txt: table creation failed: Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub",how could deal with it?
The text was updated successfully, but these errors were encountered: