use of undeclared identifier 'VERSION_SHA1'
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 3.7k
- Forks
- 336
- PR merge metrics
- No merged PRs in 30d
Description
src/lib/pci_virtio_net_vpnkit.c:324:16: error: use of undeclared identifier 'VERSION_SHA1'
assert(sizeof(VERSION_SHA1) == sizeof(init_msg.commit) + 1);
^
src/lib/pci_virtio_net_vpnkit.c:325:27: error: use of undeclared identifier 'VERSION_SHA1'
memcpy(&init_msg.commit, VERSION_SHA1, sizeof(init_msg.commit));
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/lib/pci_virtio_net_vpnkit.c at lines 324-325 and trace where VERSION_SHA1 is expected to be declared or generated. Check the surrounding build configuration and compile path; done means the file builds without the undeclared-identifier errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100