Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#377 our docs lack description of component naming requirement

2.5.next
closed-fixed
nobody
None
5
2014-05-28
2014-05-28
No

It is a requirement of 'halcmd loadrt' that the name of the file (foo.ko) must match the name of the component reported by hal_init() (foo). If these do not match, the comp loads but halcmd emits the cryptic message:

<stdin>:1: module 'foo' not loaded

The behavior is probably fine, but the docs for 'halcmd loadrt' and comp(1) should note this requirement.

Also check if this issue affects 'halcmd loadusr'.

Discussion

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -It is a requirement of 'halcmd loadrt' that the name of the file (foo.ko) must match the name of the component reported by hal_init() (foo).  If these do not match, halcmd emits the cryptic message:
    +It is a requirement of 'halcmd loadrt' that the name of the file (foo.ko) must match the name of the component reported by hal_init() (foo).  If these do not match, the comp loads but halcmd emits the cryptic message:
    
         <stdin>:1: module 'foo' not loaded
    
     
  • fixed by John Thornton in commit ddd42e6b70db6b, in v2.5_branch

     
    • status: open --> closed-fixed