Erlang Mailing Lists

Author Message

<  Erlang patches mailing list  ~  Patch for common_test (R12B-0)

Guest
Posted: Sat Dec 15, 2007 12:18 pm Reply with quote
Guest
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


Post recived from mailinglist
Guest
Posted: Mon Dec 17, 2007 2:03 pm Reply with quote
Guest
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@erlang.org
> http://www.erlang.org/mailman/listinfo/erlang-patches

_______________________________________________
erlang-patches mailing list
erlang-patches@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-patches
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum