From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 1A41FE00DF1; Thu, 18 Jan 2018 17:36:10 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HTML_MESSAGE, HTML_OBFUSCATE_10_20, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.216.170 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 HTML_OBFUSCATE_10_20 BODY: Message is 10% to 20% HTML obfuscation * 0.0 HTML_MESSAGE BODY: HTML included in message * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-qt0-f170.google.com (mail-qt0-f170.google.com [209.85.216.170]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8E424E00D6A for ; Thu, 18 Jan 2018 17:36:09 -0800 (PST) Received: by mail-qt0-f170.google.com with SMTP id e2so398643qti.0 for ; Thu, 18 Jan 2018 17:36:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emacinc-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=IzODjsUIh+FosJ2LOQZyzaavT3D3DIrDrCvWzLDFueY=; b=bdGQDfjTem83xogA36RDzPlR0x4aArUbduXSd1Z0lx7FMncup3u37s4BMK3kmUdLaC q5Vv6AbYfdMDlcOOnrH+z3xfeLBfOR4q6FSTBZskx0s8koq7AOCExE9EuCTwTCI0XopP 1m3SqUTtVtpM4qtOUVEcCWVrRa9sYIhyT34KUzglT9tbkbhqJJrYTmsP4Y61QbnAxSNj Jzyqdi9XkU53cJJAx5IaiyVNS4ha7L0AUYcfleo5txZ5qTLVZEcWTVkH8DOY1G8NPo+D lsF4OOzESOGo7XUwkpaaxIAyEGHltZSxeX+xdfeD9PcGkM3MjP9s68DKHxkgRh2XCAvm Nrdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=IzODjsUIh+FosJ2LOQZyzaavT3D3DIrDrCvWzLDFueY=; b=HCv2pcclzhUPFEGdFYgkrAwhvKQIdbOzytvYW6DxATrZesCk/M5UxN9YPBLqyZPXtJ xC55D0uPLbNoAh/1LsADXpluwZ69usQwYhiSgafDRs9/3wJiqM7H6RbzjpxufHQjGobA yUjQoJA7xEqZDpK+b/thsjy4HjXoTFizIyqvekXmXheu8aFIwHVljNzzvaJAoXq2EFNo ELfRocpExFXZVFTrhIaLvz5lu76MRSyxtXQTqxc0FhEKMdPhSTuwBKi/6r22Het3RNlz eMMGDHuk0NgSG6sLpsGW+g/5rtv2qwMGhaZqZfhcatBMXqGfnWWgy/YVLtVHjK5TMEUk uIpg== X-Gm-Message-State: AKwxytelRMg9oAqxU+Ub6t+PivmkkY+RIoX2toWjx0eQBLVJix3UcYSb fpPpwCRRLp65uMt+vWiqx6e02RQZwEvf6+4QVpt6UA== X-Google-Smtp-Source: ACJfBotaAyPmj2vPSxtGwf6t0vdJ/CStvGR208itXgSUNj7Q7ILijEZoMxwR2yGe5h8HHl6KYgsD8BOsI3jGpxJSll8= X-Received: by 10.200.49.231 with SMTP id i36mr31527384qte.116.1516325768520; Thu, 18 Jan 2018 17:36:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.35.45 with HTTP; Thu, 18 Jan 2018 17:35:28 -0800 (PST) In-Reply-To: References: <20d47e1b-c33b-d7f6-1b9e-f7a6f1e779a0@linux.intel.com> From: Michael Gloff Date: Thu, 18 Jan 2018 19:35:28 -0600 Message-ID: To: Trevor Woerner Cc: Mathias Rudnik , Yocto discussion list Subject: Re: Error do_compile libepoxy X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jan 2018 01:36:10 -0000 Content-Type: multipart/alternative; boundary="001a11477420cbfdec0563171aeb" --001a11477420cbfdec0563171aeb Content-Type: text/plain; charset="UTF-8" Thanks Trevor - going in the right direction. There are no "GL" includes or libs in the recipe sysroot becuase userland does not provide it. Adding mesa-gl to DEPENDS allows it to complete. Not sure if this is the correct solution though. Michael Gloff On Thu, Jan 18, 2018 at 2:48 PM, Trevor Woerner wrote: > On Thu, Jan 18, 2018 at 10:05 AM, Michael Gloff > wrote: > >> I can confirm adding #include to test/egl_common.c gets past >> the original error, but then fails with: >> >> > thank you for checking :-) > > >> >> >> Log data follows: >> | DEBUG: Executing shell function do_compile >> | [1/2] Compiling c object 'test/glx_beginend@exe/glx_beginend.c.o' >> | [2/2] Linking target test/glx_beginend >> | FAILED: test/glx_beginend >> | arm-poky-linux-gnueabi-gcc -o test/glx_beginend 'test/glx_beginend@exe >> /glx_beginend.c.o' '-Wl,--no-undefined' '-Wl,--as-needed' '-O2' '-pipe' >> '-g' '-feliminate-unused-debug-types' '-fdebug-prefix-map=/home/mich >> ael/oe/recipes/rpi-build/tmp/work/cortexa7hf-neon-vfpv4- >> poky-linux-gnueabi/libepoxy/1.4.3-r0=/usr/src/debug/libepoxy/1.4.3-r0' >> '-fdebug-prefix-map=/home/michael/oe/recipes/rpi-build/tmp/ >> work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libepoxy/1.4.3-r0/recipe-sysroot-native=' >> '-fdebug-prefix-map=/home/michael/oe/recipes/rpi-build/tmp/ >> work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libepoxy/1.4.3-r0/recipe-sysroot=' >> '-Wl,-O1' '-Wl,--hash-style=gnu' '-Wl,--as-needed' 'test/libglx_common.a' >> 'src/libepoxy.so.0.0.0' 'src/libepoxy.so.0.0.0' 'src/libepoxy.so.0.0.0' >> '-ldl' '-lX11' '-ldl' '-Wl,-rpath,/home/michael/oe/r >> ecipes/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux- >> gnueabi/libepoxy/1.4.3-r0/build/src' -march=armv7ve -marm >> -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 >> --sysroot=/home/michael/oe/recipes/rpi-build/tmp/work/cortex >> a7hf-neon-vfpv4-poky-linux-gnueabi/libepoxy/1.4.3-r0/recipe-sysroot >> -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed >> | test/glx_beginend@exe/glx_beginend.c.o: In function >> `test_without_epoxy': >> | /usr/src/debug/libepoxy/1.4.3-r0/libepoxy-1.4.3/test/glx_beginend.c:70: >> undefined reference to `glBegin' >> | /usr/src/debug/libepoxy/1.4.3-r0/libepoxy-1.4.3/test/glx_beginend.c:85: >> undefined reference to `glEnd' >> | collect2: error: ld returned 1 exit status >> | ninja: build stopped: subcommand failed. >> | WARNING: /home/michael/oe/recipes/rpi-build/tmp/work/cortexa7hf-neon- >> vfpv4-poky-linux-gnueabi/libepoxy/1.4.3-r0/temp/run.do_compile.2610:1 >> exit 1 from 'ninja -j 8' >> | ERROR: Function failed: do_compile (log file is located at >> /home/michael/oe/recipes/rpi-build/tmp/work/cortexa7hf-neon- >> vfpv4-poky-linux-gnueabi/libepoxy/1.4.3-r0/temp/log.do_compile.2610) >> ERROR: Task (/home/michael/oe/recipes/poky/meta/recipes-graphics/libepox >> y/libepoxy_1.4.3.bb:do_compile) failed with exit code '1' >> >> > that suggests a missing #include > --001a11477420cbfdec0563171aeb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks Trevor - going in the right direction. There a= re no "GL" includes or libs in the recipe sysroot becuase userlan= d does not provide it. Adding mesa-gl to DEPENDS allows it to complete. Not= sure if this is the correct solution though.

Michael Gloff

On Thu, Ja= n 18, 2018 at 2:48 PM, Trevor Woerner <twoerner@gmail.com> = wrote:
On Thu, Jan 18, 2= 018 at 10:05 AM, Michael Gloff <mgloff@emacinc.com> wrote:<= br>
I can confirm adding #include <X11/X= lib.h> to test/egl_common.c gets past the original error, but then fails= with:


thank you for ch= ecking :-)
=C2=A0


Log data follows:
| DEBUG: Executing shell functi= on do_compile
| [1/2] Compiling c object 'test/glx_beginend@exe/glx_= beginend.c.o'
| [2/2] Linking target test/glx_beginend
| FAI= LED: test/glx_beginend
| arm-poky-linux-gnueabi-gcc=C2=A0 -o test/glx_be= ginend 'test/glx_beginend@exe/glx_beginend.c.o' '-Wl,--no-= undefined' '-Wl,--as-needed' '-O2' '-pipe' '= ;-g' '-feliminate-unused-debug-types' '-fdebug-prefix-= map=3D/home/michael/oe/recipes/rpi-build/tmp/work/cortexa7hf-neon= -vfpv4-poky-linux-gnueabi/libepoxy/1.4.3-r0=3D/usr/src/debug/libepoxy/1.4.3-r0' '-fdebug-prefix-map=3D/home/michael/oe/rec= ipes/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/= libepoxy/1.4.3-r0/recipe-sysroot-native=3D' '-fdebug-prefix-ma= p=3D/home/michael/oe/recipes/rpi-build/tmp/work/cortexa7hf-neon-v= fpv4-poky-linux-gnueabi/libepoxy/1.4.3-r0/recipe-sysroot=3D' = '-Wl,-O1' '-Wl,--hash-style=3Dgnu' '-Wl,--as-needed'= ; 'test/libglx_common.a' 'src/libepoxy.so.0.0.0' 'src/l= ibepoxy.so.0.0.0' 'src/libepoxy.so.0.0.0' '-ldl' '-= lX11' '-ldl' '-Wl,-rpath,/home/michael/oe/recipes/rpi-= build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libepoxy/= 1.4.3-r0/build/src' -march=3Darmv7ve -marm -mfpu=3Dneon-vfpv4 -mfl= oat-abi=3Dhard -mcpu=3Dcortex-a7 --sysroot=3D/home/michael/oe/recipes/= rpi-build/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libep= oxy/1.4.3-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=3Dgnu -Wl,--as-ne= eded
| test/glx_beginend@exe/glx_beginend.c.o: In function `test_wi= thout_epoxy':
| /usr/src/debug/libepoxy/1.4.3-r0/libepoxy-1.4.3= /test/glx_beginend.c:70: undefined reference to `glBegin'
| /us= r/src/debug/libepoxy/1.4.3-r0/libepoxy-1.4.3/test/glx_beginend.c:= 85: undefined reference to `glEnd'
| collect2: error: ld returned 1 = exit status
| ninja: build stopped: subcommand failed.
| WARNING: /ho= me/michael/oe/recipes/rpi-build/tmp/work/cortexa7hf-neon-vfpv4-po= ky-linux-gnueabi/libepoxy/1.4.3-r0/temp/run.do_compile.2610:1 exi= t 1 from 'ninja -j 8'
| ERROR: Function failed: do_compile (log = file is located at /home/michael/oe/recipes/rpi-build/tmp/work/cortexa= 7hf-neon-vfpv4-poky-linux-gnueabi/libepoxy/1.4.3-r0/temp/log.do_c= ompile.2610)
ERROR: Task (/home/michael/oe/recipes/poky/meta/r= ecipes-graphics/libepoxy/libepoxy_1.4.3.bb:do_compile) failed wit= h exit code '1'


that suggests a missing #include <GL/gl.h>
<= /div>

--001a11477420cbfdec0563171aeb--