Skip to content

Cannot build rpi-3.10.y: Warning as error in drivers/net/wireless/rtl8192cu #536

Closed

Description

@mdittmer

I am using github.com/rapberrypi/tools softfp cross-compiler [1] and following instructions from elinux.org [2] to build a fresh clone of the rpi-3.10.y branch (current default branch). I copied arch/arm/configs/bcmrpi_defconfig, set my cross-compiler prefix, and chose defaults for other kernel configuration options. I see the following error:

In file included from drivers/net/wireless/rtl8192cu/core/rtw_cmd.c:23:0: drivers/net/wireless/rtl8192cu/include/osdep_service.h: In function 'thread_enter': drivers/net/wireless/rtl8192cu/include/osdep_service.h:1482:2: error: implicit declaration of function 'daemonize' [-Werror=implicit-function-declaration]

This is strange because the line of code in question is surrounded by"

if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 8, 0))

...

endif

When I looked into it, I found that the KERNEL_VERSION_CODE on the branch is 197120; i.e., 3.3.0. Why is this the case? Shouldn't it be 3.10.something?

[1] http://elinux.org/RPi_Kernel_Compilation
[2] https://github.com/raspberrypi/tools/tree/master/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin

Activity

  1. popcornmix commented on Feb 19, 2014

    @popcornmix
    Collaborator

    Have you switched firmware branches in git?
    Try deleting:
    include/generated/uapi/linux/version.h
    and making again - it will be recreated.

  2. mdittmer commented on Feb 23, 2014

    @mdittmer
    Author

    That seems to have worked. Thanks!

    //Mark

    On Wed, Feb 19, 2014 at 1:57 PM, popcornmix notifications@github.comwrote:

    Have you switched firmware branches in git?
    Try deleting:
    include/generated/uapi/linux/version.h
    and making again - it will be recreated.

    Reply to this email directly or view it on GitHubhttps://github.com//issues/536#issuecomment-35534400
    .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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