Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple definition of readbuf #22

Open
chriscamacho opened this issue Aug 31, 2024 · 0 comments
Open

multiple definition of readbuf #22

chriscamacho opened this issue Aug 31, 2024 · 0 comments

Comments

@chriscamacho
Copy link

$ 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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant