[erlang-questions] Crypto_drv does not link

Samir Saklikar samir.bot@REDACTED
Tue May 15 15:45:06 CEST 2007


Hello All,
I am trying to compile Erlang 5.5.4 on cygwin.
Here is the error I get

../priv/obj/i686-pc-cygwin/crypto_drv.o: In function `start':
/cygdrive/d/erlang/otp_src_R11B-4/lib/crypto/c_src/crypto_drv.c:151:
undefined reference to `set_port_control_flags'
/cygdrive/d/erlang/otp_src_R11B-4/lib/crypto/c_src/crypto_drv.c:152:
undefined reference to `driver_alloc'
/cygdrive/d/erlang/otp_src_R11B-4/lib/crypto/c_src/crypto_drv.c:152:
undefined reference to `driver_free'
/cygdrive/d/otp_src_R11B-4/lib/crypto/c_src/crypto_drv.c:152: undefined
reference to `driver_realloc'

and similar errors for driver_alloc_binary.

I checked that all of these seem to be defined in erts/emulator/beam/io.c
...

How come this file is not getting linked ? What is the name of the library
for that ? I tried something like the following...but of no use
/erts $ find . -name "*.a" | xargs nm -a | grep driver_alloc_binary

What am i missing here ? Is there some issue with Erlang on Cywin ?

thanks and regards
Samir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070515/986789e9/attachment.htm>


More information about the erlang-questions mailing list