Skip to content

Kernel Compile 3.6.11 branch - issue with drivers/char/broadcom/vc_cma/vc_cma.c -> CONFIG_BCM_VC_CMA=m #266

Closed

Description

@hvenzke

Kernel compile failed on RPI ( no cross compole ) with CONFIG_BCM_VC_CMA=m
....

CC [M] drivers/char/broadcom/vc_cma/vc_cma.o
drivers/char/broadcom/vc_cma/vc_cma.c:184:13: error: expected declaration specifiers or '...' before string constan t
drivers/char/broadcom/vc_cma/vc_cma.c:184:27: error: expected declaration specifiers or '...' before 'early_vc_cma_ mem'
drivers/char/broadcom/vc_cma/vc_cma.c:156:19: error: 'early_vc_cma_mem' defined but not used [-Werror=unused-functi on]
cc1: all warnings being treated as errors
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

.. I am Not an Coder .

Activity

  1. hvenzke commented on Apr 9, 2013

    @hvenzke
    Author

    Found an Mulipatch RPI Patch that contains the fix for that :

    http://www.xilka.com/sheeva/3/3.6/3.6.11/source/linux-3.6.11-RaspberryPi.patch

  2. popcornmix commented on Apr 10, 2013

    @popcornmix
    Collaborator

    Can you indicate what is fixed in the patch you linked?
    vc_cma.c line 184 looks the same.

  3. hvenzke commented on Apr 10, 2013

    @hvenzke
    Author

    well ,.. I am Not an Coder .

    I am just googled and for vc_cma/vc_cma.c issue and given link was the only patch found.

  4. hvenzke commented on Apr 10, 2013

    @hvenzke
    Author

    at Moment im try to compile 3.8.4 on my PI .
    Will report if that still happens again.

  5. hvenzke commented on Apr 16, 2013

    @hvenzke
    Author

    happend again on 3.8.7 ..

    Well - i maybe found the reason for this compile error.
    Solution seems into the Kconfig from the Mulipatch RPI Patch.
    That was Incomplete applied .

    -> There been NO warning by make oldconfig for that missing depends "BCM_VC_SERVICES" <-

    the reason for that seems that the whole "config BCM_VC_CMA" missed at

    probably missing Commit : http://searchco.de/codesearch/view/26439440

    lets see what next compile round gives..

  6. popcornmix commented on Apr 17, 2013

    @popcornmix
    Collaborator

    I've uncommented the depends line on 3.8.y kernel tree. Does that fix problem?
    No.
    vccma cannot be built as a module as it requires early_param. Made it boolean rather than tristate.

  7. hvenzke commented on Apr 17, 2013

    @hvenzke
    Author

    well, let me get latest 3.8.y from your git , patch it up to 3.8.8 and try to compile it.

    every compile round takes arrround 1 day.
    maybe i shuold add more Pi´s ? for this Job ;-).

  8. thiagovespa commented on Jul 11, 2013

    @thiagovespa

    Same here. I'm using 3.10.y branch.

  9. hvenzke commented on Dec 22, 2013

    @hvenzke
    Author

    gone - using 3.11.6 now

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