Cross-compiling to ARM gives rpl_realloc errors
Issue #43
resolved
I had an error when trying to cross-compile to ARM. I had to set 2 environments variables
see http://wiki.buici.com/xwiki/bin/view/Programing+C+and+C%2B%2B/Autoconf+and+RPL_MALLOC
export ac_cv_func_malloc_0_nonnull=yes export ac_cv_func_realloc_0_nonnull=yes
Maybe it could be in the install or readme. Maybe there are better solution to solve this.
Comments (5)
-
repo owner -
repo owner - changed status to resolved
Omitted 'AC_FUNC_MALLOC' and 'AC_FUNC_REALLOC' to fix issue
#43. They are not actually needed.→ <<cset ae19876611ad>>
-
repo owner -
assigned issue to
-
assigned issue to
-
repo owner - changed version to 2.0
-
repo owner - changed component to packaging
- Log in to comment
I added
AC_FUNC_MALLOC
andAC_FUNC_REALLOC
as insisted by autoscan but did not provide any replacement functions. We could drop the two since any recent implementations ofmalloc
andrealloc
should behave as specified in the language standard. Thank you for reporting.