Skip to content

3.9.y 'make modules' build failure in 8192cu.ko #311

Closed
@srcshelton

Description

@srcshelton

Immediately after 'make bcmrpi_defconfig':

  Building modules, stage 2.
  MODPOST 1164 modules - due to target is PHONY
ERROR: "kernel_thread" [drivers/net/wireless/rtl8192cu/8192cu.ko] undefined!
make[4]: *** [__modpost] Error 1
make[3]: *** [modules] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [modules] Error 2
make: *** [sub-make] Error 2

Interestingly, the osdep_service.c code generating this error reads:

#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0))
        *t_hdl = kernel_thread(threadfn, data, CLONE_FS|CLONE_FILES);
        if(*t_hdl < 0)
#else   
        *t_hdl = kthread_run(threadfn, data, name);
        if(IS_ERR(*t_hdl))
#endif

... so is the 3.9.y branch incorrectly defined to still be version 3.6, or something similar?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions