Skip to content

3.10 does not compile (implicit declaration... vc_cma*) #324

Closed

Description

@moonman

Hello,

Here's the partial compile log:

drivers/char/broadcom/vc_cma/vc_cma.c: In function 'vc_cma_init':
drivers/char/broadcom/vc_cma/vc_cma.c:1088:2: error: implicit declaration of function 'create_proc_entry' [-Werror=implicit-function-declaration]
drivers/char/broadcom/vc_cma/vc_cma.c:1088:20: error: assignment makes pointer from integer without a cast [-Werror]
drivers/char/broadcom/vc_cma/vc_cma.c:1095:19: error: dereferencing pointer to incomplete type
drivers/char/broadcom/vc_cma/vc_cma.c: In function 'vc_cma_exit':
drivers/char/broadcom/vc_cma/vc_cma.c:1134:38: error: dereferencing pointer to incomplete type
cc1: all warnings being treated as errors
distcc[13074] ERROR: compile drivers/char/broadcom/vc_cma/vc_cma.c on localhost failed
make[4]: *** [drivers/char/broadcom/vc_cma/vc_cma.o] Error 1
make[3]: *** [drivers/char/broadcom/vc_cma] Error 2
make[2]: *** [drivers/char/broadcom] Error 2
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2

Full log can be found here: http://archlinuxarm.org:81/builder/in-log/linux-raspberrypi-latest-3.10.0-2-armv6.log.html.gz

Kernel config is here: https://github.com/archlinuxarm/PKGBUILDs/blob/master/core/linux-raspberrypi-latest/config

Activity

  1. CrimsonKnight13 commented on Jul 13, 2013

    @CrimsonKnight13

    I can confirm that I have the same issue.

  2. P33M commented on Jul 13, 2013

    @P33M
    Contributor

    torvalds/linux@80e928f

    This is why. Function has been removed from upstream.

  3. moonman commented on Jul 13, 2013

    @moonman
    Author

    What helped is I disabled bcm_vc_cma driver in config and it compiles, though I'm not too sure what functionality will be lost without this driver. Since default config does not enable this driver I guess it is not that important.

  4. akolesen commented on Jul 22, 2013

    @akolesen

    The following patch fixes it. Please, review:
    #338

  5. moonman commented on Jul 23, 2013

    @moonman
    Author

    Will build the kernel tonight. Thanks for working on this!

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