HaroonGhawsi / naclports

Automatically exported from code.google.com/p/naclports
0 stars 0 forks source link

FAAC compile failed: memory.h: No such file or directory #135

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./make_all.sh faac
2.
3.

What is the expected output? What do you see instead?
memory.h: No such file or directory

What version of the product are you using? On what operating system?
pepper 35

Please provide any additional information below.
It seems faac needs glibc-compat, I have compiled glibc-compat succeed, I don't 
how to make faac compiled with glibc-compat.

Original issue reported on code.google.com by ImSk...@gmail.com on 28 Aug 2014 at 1:26

GoogleCodeExporter commented 9 years ago
I fixed it by adding a few lines in build.sh.

if [ "${NACL_LIBC}" = "newlib" ]; then
  NACLPORTS_CPPFLAGS+=" -I${NACLPORTS_INCLUDE}/glibc-compat"
fi

Original comment by ImSk...@gmail.com on 28 Aug 2014 at 3:40

GoogleCodeExporter commented 9 years ago
This header was added to the SDK in pepper_36.  In future we hope to support 
older SDK versions via branches (once we switch to git as the source of truth). 
 For now if you want to use anything but pepper_canary you can run into issues 
like this (although hopefully not too often).

Original comment by sbc@google.com on 28 Aug 2014 at 1:09