[erlang-patches] Patch for common_test (R12B-0)

Sergei Golovan sgolovan@REDACTED
Sat Dec 15 13:16:43 CET 2007


Hi!

Appears that common_test application fails to build on some
architectures (in Debian Linux) because rx library is built without
-fPIC option (so, it can't be used in a shared library).

Also, headrs string.h and stdio.h aren't included which gives warnings
about incompatible implicit function declarations.

The attached patch fixes both issues. It also replaces -fpic by -fPIC
(-fPIC is more general) and adds explicit -lc to erl_rx_driver build
options (it's encouraged by Debian policy, but feel free to remove it
if it's not necessary).

-- 
Sergei Golovan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rx.diff
Type: application/octet-stream
Size: 1684 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20071215/542f7acb/attachment.obj>


More information about the erlang-patches mailing list