Otmane123 / relic-toolkit

Automatically exported from code.google.com/p/relic-toolkit
Other
0 stars 0 forks source link

Conflict with openssl headers #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. svn checkout relic-toolkit (currently rev. 1603), build, install it.
2. install openssl libssl-dev.
3. compile sample file (see attached source) that includes both relic-toolkit 
and some of openssl headers.

What is the expected output? What do you see instead?
Compilation error (see attached source + log).

What version of the product are you using? On what operating system?
relic (rev. 1603), Ubuntu 13.04 32-bit.

Please provide any additional information below.

The problem can be solved by renaming conflicting names in relic.
I provide a patch that solved my problem.

Original issue reported on code.google.com by ivan.pry...@gmail.com on 1 Oct 2013 at 9:45

Attachments:

GoogleCodeExporter commented 8 years ago
Ivan, you can use the LABEL feature to insert a string into all RELIC symbols, 
avoiding any possible conflict with any other library. This looks drastic, but 
may be more effective. Protocols are supported by LABEL in the trunk version.

Original comment by dfaranha on 28 Dec 2013 at 5:08