subsurface-mobile build error undefined reference to 'rand'

Anton Lundin glance at acc.umu.se
Mon Jun 19 10:59:19 PDT 2017


On 19 June, 2017 - Lubomir I. Ivanov wrote:

> On 19 June 2017 at 13:31, Rick Walsh <rickmwalsh at gmail.com> wrote:
> >>
> > Thanks for the tip.  Adding VERBOSE=1 to the command line didn't work as
> > expected - it just silenced the output, but I added it to the make line
> > within build.sh, and that provides some more useful output.  I can't find
> > any reference to -lc, -gcc-toolchain, or -lgcc.
> >

<snip2>


The gcc toolchain we're using in the ndk is about to be deprecated, so
we should focus on trying to switch over to clang.

In NDK 15 GCC is no longer supported:
https://developer.android.com/ndk/downloads/revision_history.html


//Anton


-- 
Anton Lundin	+46702-161604


More information about the subsurface mailing list