Bug 33217 - openvg (OpenVG) fails to compile
Summary: openvg (OpenVG) fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-17 14:49 UTC by demon
Modified: 2011-01-21 20:03 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description demon 2011-01-17 14:49:02 UTC
openvg (OpenVG) fails to compile.

"make[3]: *** No rule to make target `../../../../src/gallium/state_trackers/vega/libvega.a', needed by `../../../../lib/egl/st_OpenVG.so'.  Stop.
"

Configuration:

  ./autogen.sh --prefix=/usr \
  --with-dri-driverdir=/usr/lib/xorg/modules/dri \
  --with-dri-drivers=radeon,r200,r300,r600 \
  --with-state-trackers=glx,dri,egl \
  --with-egl-platforms=x11,drm \
  --with-driver=dri \
  --enable-opengl \
  --enable-gles1 \
  --enable-gles2 \
  --enable-openvg \
  --enable-xcb \
  --enable-glx-tls \
  --enable-driglx-direct \
  --enable-egl \
  --disable-glut \
  --enable-gallium \
  --enable-gallium-egl \
  --enable-gallium-r600 \
  --enable-gallium-radeon \
  --disable-gallium-llvm \
  --disable-gallium-nouveau \
  --disable-gallium-swrast
Comment 1 demon 2011-01-17 15:02:10 UTC
Compiled for 32-bit successfully, with these options:

  ./autogen.sh --prefix=/usr \
  --with-dri-driverdir=/usr/lib32/xorg/modules/dri \
  --with-dri-drivers=radeon,r200,r300,r600 \
  --with-state-trackers=glx,dri \
  --with-egl-platforms=x11,drm \
  --with-driver=dri \
  --enable-opengl \
  --enable-gles1 \
  --enable-gles2 \
  --enable-openvg \
  --enable-xcb \
  --enable-glx-tls \
  --enable-driglx-direct \
  --enable-egl \
  --disable-glut \
  --enable-gallium \
  --enable-gallium-egl \
  --enable-gallium-r600 \
  --enable-gallium-radeon \
  --disable-gallium-llvm \
  --disable-gallium-nouveau \
  --disable-gallium-swrast \
  --enable-32-bit \
  --libdir=/usr/lib32

This has been problem for me for a quite long time: OpenVG wont compile (from recently it compiles for 32-bit architecture).
Comment 2 Chia-I Wu 2011-01-19 22:09:41 UTC
The 32-bit one worked because you did not specify egl in its --with-state-trackers.  --enable-gallium-egl and --enable-openvg may be overridden by --with-state-trackers.  configure.ac to emit an error when they are conflicting.  I will see how can I improve that.  Meanwhile, you can either remove --with-state-trackers or use

  --with-state-trackers=glx,dri,egl,vega
Comment 3 demon 2011-01-21 05:14:44 UTC
Thanks! It compiles now! Should I change status to RESOLVED?
Comment 4 Chia-I Wu 2011-01-21 20:03:32 UTC
I am changing it to resolved.  c116a0e2dcce7635707fab724cfe4f6bc23906e3 makes configure.ac output an error when the conflicting configure options are given.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.