Build fails on Mac OS X if --disable-openssl is used: _iasecc_sdo_encode_update_field

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Build fails on Mac OS X if --disable-openssl is used: _iasecc_sdo_encode_update_field

Ludovic Rousseau
Hello,

I noticed that the build fails on Mac OS X if --disable-openssl is used.

[...]
  CCLD     libopensc.la
Undefined symbols for architecture x86_64:
  "_iasecc_sdo_encode_update_field", referenced from:
     -exported_symbol[s_list] command line option
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The problem is that _iasecc_sdo_encode_update_field is present in
./src/libopensc/.libs/libopensc-symbols.expsym but is not present in
any object file.

./src/libopensc/.libs/libopensc-symbols.expsym is generated from
./src/libopensc/libopensc.exports

The iasecc_sdo_encode_update_field symbol was added in this file in
https://github.com/OpenSC/OpenSC/commit/883d42b1f8ec4a8b67d6eabde334bfa4259efdf9
with the commit comment "used by 'local SMM' module".

One solution would be to generated ./src/libopensc/libopensc.exports
from a ./src/libopensc/libopensc.exports.in during the ./configure
step.

Any other idea?

--
 Dr. Ludovic Rousseau

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Opensc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/opensc-devel