diff options
author | Denys Dmytriyenko <denis@denix.org> | 2010-05-01 16:53:01 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2010-05-01 16:53:01 -0400 |
commit | bbea152f1d8702c39003263a0102af9f3a28a034 (patch) | |
tree | 67d367a8ef59ec53bbe84fc90e4582e8e3ce1f86 /site | |
parent | 17768e64cc5c066a49a00f72cc33db03a06ad137 (diff) |
libgles-omap3: fix 3 build issues with external CSL toolchain
Fix the following 3 build issues:
1. X11ROOT is used by GFX SDK Makefiles as a root of X11 installation and
results in -I$(X11ROOT)/include and -L$(X11ROOT)/lib in CFLAGS/LDFLAGS.
Set it to ${STAGING_DIR_HOST}/usr instead of ${STAGING_INCDIR}. Otherwise
the build fails with the following error messages:
PVRShellOS.h:18:22: error: X11/Xlib.h: No such file or directory
PVRShellOS.h:19:23: error: X11/Xutil.h: No such file or directory
2. Set TOOLCHAIN variable used in GFX SDK Makefiles to point to the toolchain
location. Fixes the following message, among others:
ld: warning: library search path "/lib" is unsafe for cross-compilation
3. Add libXdmcp to the list of linked X11 libraries, in addition to libX11
and libXau. Link stage failure:
ld: warning: libXdmcp.so.6, needed by libX11.so, not found
libX11.so: undefined reference to `XdmcpWrap'
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Diffstat (limited to 'site')
0 files changed, 0 insertions, 0 deletions