Skip to content

Commit 2840a5c

Browse files
committed
docs: fix common issues section of quickstart
1 parent 9ff3322 commit 2840a5c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/getting-started/quickstart.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,14 @@ If compilation fails:
229229
* Check that `llc` is installed and in your PATH
230230
* Verify your Python syntax is correct
231231
* Ensure all imported types are from `ctypes`
232+
* In the worst case, compile object files manually using `compile_to_ir()` and `llc` to get detailed errors
233+
234+
### Verification Failure
235+
236+
If verification fails:
237+
238+
* Compile the object files using `compile()` function instead of loading directly
239+
* Run `sudo check.sh check <bpf>.o` to get detailed verification output
232240

233241
## Next Steps
234242

0 commit comments

Comments
 (0)