1 |
Hi there, |
2 |
|
3 |
I'm trying to compile a system for my raspberry 2, and during compiling |
4 |
media-libs/libexpoxy-1.2, I encountered a problem: |
5 |
|
6 |
> libtool: compile: armv7a-hardfloat-linux-gnueabi-gcc -std=gnu99 |
7 |
> -DHAVE_CONFIG_H -I. |
8 |
> -I/var/tmp/portage/media-libs/libepoxy-1.2/work/libepoxy-1.2/src -I.. |
9 |
> -I/var/tmp/portage/media-libs/libepoxy-1.2/work/libepoxy-1.2/include |
10 |
> -I../include -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 |
11 |
> -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs |
12 |
> -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement |
13 |
> -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn |
14 |
> -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit |
15 |
> -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces |
16 |
> -Werror=sequence-point -Werror=return-type -Werror=trigraphs |
17 |
> -Werror=array-bounds -Werror=write-strings -Werror=address |
18 |
> -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast |
19 |
> -fno-strict-aliasing -Wno-int-conversion -fvisibility=hidden -O2 -pipe |
20 |
> -march=armv7-a -mfpu=neon -mfloat-abi=hard -c |
21 |
> /var/tmp/portage/media-libs/libepoxy-1.2/work/libepoxy-1.2/src/dispatch_com |
22 |
> mon.c -fPIC -DPIC -o .libs/dispatch_common.o In file included from |
23 |
> ../include/epoxy/egl_generated.h:10:0, |
24 |
> |
25 |
> from |
26 |
> /var/tmp/portage/media-libs/libepoxy-1.2/work/libepoxy-1.2 |
27 |
> /include/epoxy/egl.h:46, from |
28 |
> /var/tmp/portage/media-libs/libepoxy-1.2/work/libepoxy-1.2 |
29 |
> /src/dispatch_common.h:48,> |
30 |
> from /var/tmp/portage/media- |
31 |
libs/libepoxy-1.2/work/libepoxy-1.2/src/dispatch_glx.c:28: |
32 |
> /usr/include/EGL/eglplatform.h:110:45: fatal error: |
33 |
> interface/vmcs_host/vc_dispmanx.h: No such file or directory> |
34 |
> #include "interface/vmcs_host/vc_dispmanx.h" |
35 |
> |
36 |
> ^ |
37 |
> |
38 |
> compilation terminated. |
39 |
> Makefile:614: recipe for target 'dispatch_glx.lo' failed |
40 |
> make[3]: *** [dispatch_glx.lo] Error 1 |
41 |
> make[3]: *** Waiting for unfinished jobs.... |
42 |
|
43 |
Obviously, a file interface/vmcs_host/vc_dispmanx.h cannot be found; Searching |
44 |
for it reveals that it is part of |
45 |
media-libs/raspberrypi-userland-0_pre20140117 and installed in |
46 |
/opt/vc/include/interface/vmcs_host/vc_dispmanx.h |
47 |
|
48 |
It seems like it is just a INCLUDEPATH problem, but I have no idea how to add |
49 |
a path to the build process. |
50 |
|
51 |
Thanks for suggestions |
52 |
Alex |
53 |
|
54 |
|
55 |
-- |