* [gentoo-user] libepoxy fails to compile on arm
@ 2015-10-15 17:12 99% Alexander Puchmayr
0 siblings, 0 replies; 1+ results
From: Alexander Puchmayr @ 2015-10-15 17:12 UTC (permalink / raw
To: gentoo-user
Hi there,
I'm trying to compile a system for my raspberry 2, and during compiling
media-libs/libexpoxy-1.2, I encountered a problem:
> libtool: compile: armv7a-hardfloat-linux-gnueabi-gcc -std=gnu99
> -DHAVE_CONFIG_H -I.
> -I/var/tmp/portage/media-libs/libepoxy-1.2/work/libepoxy-1.2/src -I..
> -I/var/tmp/portage/media-libs/libepoxy-1.2/work/libepoxy-1.2/include
> -I../include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2
> -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
> -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement
> -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn
> -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit
> -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces
> -Werror=sequence-point -Werror=return-type -Werror=trigraphs
> -Werror=array-bounds -Werror=write-strings -Werror=address
> -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
> -fno-strict-aliasing -Wno-int-conversion -fvisibility=hidden -O2 -pipe
> -march=armv7-a -mfpu=neon -mfloat-abi=hard -c
> /var/tmp/portage/media-libs/libepoxy-1.2/work/libepoxy-1.2/src/dispatch_com
> mon.c -fPIC -DPIC -o .libs/dispatch_common.o In file included from
> ../include/epoxy/egl_generated.h:10:0,
>
> from
> /var/tmp/portage/media-libs/libepoxy-1.2/work/libepoxy-1.2
> /include/epoxy/egl.h:46, from
> /var/tmp/portage/media-libs/libepoxy-1.2/work/libepoxy-1.2
> /src/dispatch_common.h:48,>
> from /var/tmp/portage/media-
libs/libepoxy-1.2/work/libepoxy-1.2/src/dispatch_glx.c:28:
> /usr/include/EGL/eglplatform.h:110:45: fatal error:
> interface/vmcs_host/vc_dispmanx.h: No such file or directory>
> #include "interface/vmcs_host/vc_dispmanx.h"
>
> ^
>
> compilation terminated.
> Makefile:614: recipe for target 'dispatch_glx.lo' failed
> make[3]: *** [dispatch_glx.lo] Error 1
> make[3]: *** Waiting for unfinished jobs....
Obviously, a file interface/vmcs_host/vc_dispmanx.h cannot be found; Searching
for it reveals that it is part of
media-libs/raspberrypi-userland-0_pre20140117 and installed in
/opt/vc/include/interface/vmcs_host/vc_dispmanx.h
It seems like it is just a INCLUDEPATH problem, but I have no idea how to add
a path to the build process.
Thanks for suggestions
Alex
--
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-10-15 17:12 99% [gentoo-user] libepoxy fails to compile on arm Alexander Puchmayr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox