Skip to content

multiple definition of readbuf #22

@chriscamacho

Description

@chriscamacho
$ make
clang -o ch341eeprom ch341eeprom.c ch341funcs.c -lusb-1.0
/usr/bin/x86_64-unknown-linux-gnu-ld: /tmp/ch341funcs-24799d.o:(.bss+0x8): multiple definition of `readbuf'; /tmp/ch341eeprom-8bc6e9.o:(.bss+0x0): first defined here
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:2: default] Error 1

thought I'd just try compiling before buying a programmer, haven't had chance to look at the code...

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