Skip to content

Fix libpython underlinkage#516

Merged
stevegrubb merged 1 commit intolinux-audit:masterfrom
mikhailnov:link-python
Mar 3, 2026
Merged

Fix libpython underlinkage#516
stevegrubb merged 1 commit intolinux-audit:masterfrom
mikhailnov:link-python

Conversation

@mikhailnov
Copy link
Contributor

Fix building with -Wl,--no-undefined

DEBUG: /usr/bin/x86_64-rosa-linux-gnu-ld: /tmp/ccsLpz7O.ltrans0.ltrans.o: in function `_wrap_audit_log_semanage_message.lto_priv.0':
DEBUG: /builddir/build/BUILD/audit-userspace-4.1.3/bindings/swig/python3/audit_wrap.c:3326:(.text+0x6205): warning: undefined reference to `PyLong_AsUnsignedLong'

Fix building with -Wl,--no-undefined

DEBUG: /usr/bin/x86_64-rosa-linux-gnu-ld: /tmp/ccsLpz7O.ltrans0.ltrans.o: in function `_wrap_audit_log_semanage_message.lto_priv.0':
DEBUG: /builddir/build/BUILD/audit-userspace-4.1.3/bindings/swig/python3/audit_wrap.c:3326:(.text+0x6205): warning: undefined reference to `PyLong_AsUnsignedLong'

Co-authored-by: Z.AI GLM
@stevegrubb
Copy link
Contributor

Thanks.

@stevegrubb stevegrubb merged commit 58d031d into linux-audit:master Mar 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants