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 Symbols #37

Open
sehrixhshafeeq opened this issue Jan 26, 2024 · 0 comments
Open

Multiple definition of Symbols #37

sehrixhshafeeq opened this issue Jan 26, 2024 · 0 comments

Comments

@sehrixhshafeeq
Copy link

When I build the library from source code, it generates at make command.

.....
/usr/bin/ld: CMakeFiles/cifer_test.dir/test/serialization/gpsw_ser.c.o:(.bss+0x360): multiple definition of `big_suite'; CMakeFiles/cifer_test.dir/test/test.c.o:(.bss+0x380): first defined here
/usr/bin/ld: CMakeFiles/cifer_test.dir/test/serialization/gpsw_ser.c.o:(.bss+0x380): multiple definition of `dlog_suite'; CMakeFiles/cifer_test.dir/test/test.c.o:(.bss+0x3a0): first defined here
/usr/bin/ld: CMakeFiles/cifer_test.dir/test/serialization/gpsw_ser.c.o:(.bss+0x3a0): multiple definition of `vector_suite'; CMakeFiles/cifer_test.dir/test/test.c.o:(.bss+0x3c0): first defined here
/usr/bin/ld: CMakeFiles/cifer_test.dir/test/serialization/gpsw_ser.c.o:(.bss+0x3c0): multiple definition of `matrix_suite'; CMakeFiles/cifer_test.dir/test/test.c.o:(.bss+0x3e0): first defined here
/usr/bin/ld: CMakeFiles/cifer_test.dir/test/serialization/gpsw_ser.c.o:(.bss+0x3e0): multiple definition of `keygen_suite'; CMakeFiles/cifer_test.dir/test/test.c.o:(.bss+0x400): first defined here
/usr/bin/ld: CMakeFiles/cifer_test.dir/test/serialization/gpsw_ser.c.o:(.bss+0x400): multiple definition of `prime_suite'; CMakeFiles/cifer_test.dir/test/test.c.o:(.bss+0x420): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/cifer_test.dir/build.make:658: cifer_test] Error 1
make[1]: *** [CMakeFiles/Makefile2:113: CMakeFiles/cifer_test.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

os: ubuntu

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