public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alexander Puchmayr <alexander.puchmayr@linznet.at>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] libepoxy fails to compile on arm
Date: Thu, 15 Oct 2015 19:12:50 +0200	[thread overview]
Message-ID: <4693676.08gudrNghB@prometheus> (raw)

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


-- 



             reply	other threads:[~2015-10-15 17:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-15 17:12 Alexander Puchmayr [this message]
2015-10-17 16:04 ` [gentoo-user] Re: libepoxy fails to compile on arm James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4693676.08gudrNghB@prometheus \
    --to=alexander.puchmayr@linznet.at \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox