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

Peter Andersson peppe@REDACTED
Mon Dec 17 14:53:40 CET 2007


Hi Sergei,

Thank you very much for the info and the patch!

Best regards,
Peter


Sergei Golovan wrote:
> 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).
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> erlang-patches mailing list
> erlang-patches@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-patches




More information about the erlang-patches mailing list