From owner-freebsd-x11@FreeBSD.ORG Mon Dec 16 02:08:53 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3B956310 for ; Mon, 16 Dec 2013 02:08:53 +0000 (UTC) Received: from mail-wi0-x244.google.com (mail-wi0-x244.google.com [IPv6:2a00:1450:400c:c05::244]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C5FFD15ED for ; Mon, 16 Dec 2013 02:08:52 +0000 (UTC) Received: by mail-wi0-f196.google.com with SMTP id hi5so583221wib.11 for ; Sun, 15 Dec 2013 18:08:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=glx.me; s=g; h=mime-version:date:message-id:subject:from:to:content-type; bh=DVfbeWr25c5eWnYEDkbb0RLn9mMLtlwcOY+8lUJhSvM=; b=oG7RtYARofmOU5vsfYM9Yld6HrjdBXb1nhazT5etQlqLemev73AlH+GdsZqoBd1EGK reQdceVROZInBlpt24+MthN7tTnKz/YHHmuUBy/El68eVrrJgS56Td6y974sfXrsec2f sJ54rM643EP9Pa2ou8it6sdZTTibwT91Y9iL4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=DVfbeWr25c5eWnYEDkbb0RLn9mMLtlwcOY+8lUJhSvM=; b=MRK4UDnVF8o0ykuiriV20q3B09RrWonpYdtiEV87wXL4+p82udtO+H65xB11zmN+R9 hWZPtfzeqmvRTN4i2cqOYxitF+t0gE4kN1xq7OTs0WFa6rWy4eZ07S0Y059njB4vTbeG 7MGEZIClTDEnPWI1exj3Ne08I8Qae97fgmbTka9+b27qm32tzGesAktcVokIBkTNQv15 gEjpLUA4nkokedbuHFlgwlZr+i8rRdr1FV5Urus/0z3tAevqbExt/Un8XkEALGEmu4R9 dpz+fTarEY5RsC3yYEHkBT0JjwUXXPx4ac6oO0SvlAQ6nI6X8SQOnuRU+4KW5zXfc6ok 6wEw== X-Gm-Message-State: ALoCoQkfVKCrP8CBs+4nCq2FP4QLvukOBxoC+OMobfrm7qebrc5j/MiIlWEC0xXPE1B8JtQ4xwnr MIME-Version: 1.0 X-Received: by 10.180.101.197 with SMTP id fi5mr11716509wib.46.1387159730965; Sun, 15 Dec 2013 18:08:50 -0800 (PST) Received: by 10.194.62.230 with HTTP; Sun, 15 Dec 2013 18:08:50 -0800 (PST) X-Originating-IP: [58.39.20.163] Date: Mon, 16 Dec 2013 10:08:50 +0800 Message-ID: Subject: report libEGL libglesv2 problems. From: J M To: freebsd-x11@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2013 02:08:53 -0000 I made libEGL and libglesv2 work before yesterday. http://glx.me/docs/3d-egg/opengl/index.php?page=x11-egl-gles2-code-freebsd I was too happy to ignore that it is experimetal. When I rebuilt xorg again on FreeBSD 11 and found the problem: ######################################################### J@build:~ % cat > empty.cxx int main() { } J@build:~ % clang++ empty.cxx -o empty `pkgconf --cflags --libs x11 egl glesv2` /usr/local/lib/libGLESv2.so: undefined reference to `_glapi_get_dispatch' /usr/local/lib/libGLESv2.so: undefined reference to `_glapi_Dispatch' clang++: error: linker command failed with exit code 1 (use -v to see invocation) J@build:~ % clang++ empty.cxx -o empty `pkgconf --cflags --libs x11 egl glesv2 gl` /usr/local/lib/libGLESv2.so: undefined reference to `_glapi_get_dispatch' /usr/local/lib/libGLESv2.so: undefined reference to `_glapi_Dispatch' clang++: error: linker command failed with exit code 1 (use -v to see invocation) J@build:~ % clang++ empty.cxx -o empty `pkgconf --cflags --libs x11 egl gl` J@build:~ % ./empty Bus error (core dumped) ######################################################### I realy want to help to test libEGL on FreeBSD, but would someone give me some advises and tricks?