|
|
| Author |
Message |
|
| Guest |
Posted: Sat Dec 15, 2007 12:18 pm |
|
|
|
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 |
|
|
| Back to top |
|
| Guest |
Posted: Mon Dec 17, 2007 2:03 pm |
|
|
|
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 |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
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
|
|
|