croessner / sigh

S/MIME signing milter
GNU General Public License v3.0
9 stars 3 forks source link

Link errors: Multiple definition of two symbols #10

Open bronger opened 2 years ago

bronger commented 2 years ago

With GCC 11.2 and GNU ld 2.38, I get the following link errors:

/usr/bin/ld: CMakeFiles/sigh.dir/src/smime.cpp.o:(.bss+0x0): multiple definition of `util::ccp'; CMakeFiles/sigh.dir/src/milter.cpp.o:(.bss+0x0): first defined here                                                                                                                        
/usr/bin/ld: CMakeFiles/sigh.dir/src/smime.cpp.o:(.bss+0x1): multiple definition of `util::mlfipriv'; CMakeFiles/sigh.dir/src/milter.cpp.o:(.bss+0x1): first defined here                                                                                                                   
DaveMcBrave commented 1 year ago

Thanks for the fix. I had the same issue. Now it works :)