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

SIFT 4-core workflow fails compilation #30

Open
jabcross opened this issue Sep 3, 2024 · 0 comments
Open

SIFT 4-core workflow fails compilation #30

jabcross opened this issue Sep 3, 2024 · 0 comments

Comments

@jabcross
Copy link

jabcross commented Sep 3, 2024

$ make
[  4%] Linking C executable Release/extract
/usr/bin/ld: CMakeFiles/extract.dir/generated/Core1.c.o:(.bss+0x0): multiple definition of `idx'; CMakeFiles/extract.dir/generated/Core0.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/extract.dir/generated/Core2.c.o:(.bss+0x0): multiple definition of `idx'; CMakeFiles/extract.dir/generated/Core0.c.o:(.bss+0x0): first defined here
/usr/bin/ld: CMakeFiles/extract.dir/generated/Core3.c.o:(.bss+0x0): multiple definition of `idx'; CMakeFiles/extract.dir/generated/Core0.c.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/extract.dir/build.make:433: Release/extract] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/extract.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

This can be fixed by manually changing the name of the idx variables to idx0, idx1 etc; alternatively, make these variables static.

@jabcross jabcross changed the title SIFT 4-core workflow fails cmake SIFT 4-core workflow fails compilation Sep 3, 2024
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