ED6E0F17
ED6E0F17
I have seen this error previously, and now that I have checked "string,h" on wheezy I understand why.
It look as though "_GNU_SOURCE" needs to be defined to get "USE_XOPEN_EXTENDED", and then define sbrk and strdup. "_GNU_SOURCE" is defined in some places, but not everywhere that it is...
It becomes an issue when the compiler is throwing so many warnings that you stop reading them, and warning is given every time that "vcos.h" is included. Most of these...
I need to abandon that patch. Cmake is not always used to build the applications in HelloPi, so it is necessary to keep the local definitions of _GNU_SOURCE there.
@luked99 : Didn`t you already fix this by sneaking a -D_GNU_SOURCE into your last pull request ?
I can confirm that two of these patches are necessary for a successful build on aarch64. ( For ChromiumOS with a 64bit userspace).