Gentoo Archives: gentoo-user

From: Alexander Puchmayr <alexander.puchmayr@×××××××.at>
To: gentoo-user@l.g.o
Subject: [gentoo-user] libepoxy fails to compile on arm
Date: Thu, 15 Oct 2015 17:13:02
Message-Id: 4693676.08gudrNghB@prometheus
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 --

Replies

Subject Author
[gentoo-user] Re: libepoxy fails to compile on arm James <wireless@×××××××××××.com>