la_mojo: fix the build after the YOLO filter addition #16

Merged
ClaudeAI merged 1 commits from fix/la-mojo-yolo-build into master 37 minutes ago
Collaborator

Summary

Fixes the la_mojo build break introduced by dd7de21 ("First YOLO Filter addition").

Problem

kernelEventFilterYOLO.h declares m_fThreadProc(), but kernelEventFilterYOLO.cpp never defines it. The link fails with:

undefined reference to `vtable for kernelEventFilterYOLO'

Changes

  • kernelEventFilterYOLO::m_fThreadProc(): added a placeholder worker loop in the same style as the Bubble filter, to be used until the YOLO processing is implemented.
  • m_sYOLOFilterData: zero-initialised in the constructor, because validate() compares it with memcmp.
  • New warnings silenced:
    • the unused parameters of the validateTarget() and dispatchEvent() stubs;
    • dataBinder::getYOLOFilterData(flt_id), which warned in every file including dataBinder.h (~40 times per build).

The filter's behaviour is unchanged. initFilter(), validateTarget() and dispatchEvent() still return false, and mojoKernel still does not create the filter.

Testing (Debug86, full make -k)

  • la_mojo:
    • every file compiles except the three that need the live555 headers (streamHandler, kernelModuleEmbedVideo, videoLive555AVLibSource). live555 is not installable in the build container; these files are untouched and build on Debian with live555;
    • the vtable link error is gone, and the only unresolved symbols left come from those three files;
    • the new code produces no warnings.
  • la_serva: it also includes the changed headers. All files compile, and with the live555 libraries left off the link line it links into a complete executable.

Generated with Claude Code

https://claude.ai/code/session_0139veDo3XyavMuVhdnHcN16

## Summary Fixes the la_mojo build break introduced by dd7de21 ("First YOLO Filter addition"). ## Problem `kernelEventFilterYOLO.h` declares `m_fThreadProc()`, but `kernelEventFilterYOLO.cpp` never defines it. The link fails with: ``` undefined reference to `vtable for kernelEventFilterYOLO' ``` ## Changes - **`kernelEventFilterYOLO::m_fThreadProc()`:** added a placeholder worker loop in the same style as the Bubble filter, to be used until the YOLO processing is implemented. - **`m_sYOLOFilterData`:** zero-initialised in the constructor, because `validate()` compares it with `memcmp`. - **New warnings silenced:** - the unused parameters of the `validateTarget()` and `dispatchEvent()` stubs; - `dataBinder::getYOLOFilterData(flt_id)`, which warned in every file including `dataBinder.h` (~40 times per build). The filter's behaviour is unchanged. `initFilter()`, `validateTarget()` and `dispatchEvent()` still return false, and `mojoKernel` still does not create the filter. ## Testing (Debug86, full `make -k`) - **la_mojo:** - every file compiles except the three that need the live555 headers (`streamHandler`, `kernelModuleEmbedVideo`, `videoLive555AVLibSource`). live555 is not installable in the build container; these files are untouched and build on Debian with live555; - the vtable link error is gone, and the only unresolved symbols left come from those three files; - the new code produces no warnings. - **la_serva:** it also includes the changed headers. All files compile, and with the live555 libraries left off the link line it links into a complete executable. Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_0139veDo3XyavMuVhdnHcN16
ClaudeAI added 1 commit 37 minutes ago
71dc3b4fbf
la_mojo: fix the build after the YOLO filter addition
ClaudeAI merged commit 7428b29928 into master 37 minutes ago
The pull request has been merged as 7428b29928.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.