Skip to content

multiple definition of 'clk_regs' #15

@m3mphis77

Description

@m3mphis77

Hi, I'm trying to compile rpi_pixleds as follows:
gcc -Wall -or rpi_pixleds rpi_pixleds.c rpi_dma_utils.c
The result is an error:
usr/bin/ld: /tmp/ccosvolH.o:(.bss+0x48): multiple definition of 'clk_regs'; /tmp/ccSSU15J.o:(.bss+0x18): first defined here

PHYS_REG_BASE==PI_23_REG_BASE // Pi 3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions