[Mesa-dev] [Bug 53835] [build error] /usr/bin/ld: cannot find -l-O2

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 20 06:44:51 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=53835

--- Comment #1 from Kevin Hobbs <hobbsk at ohiou.edu> 2012-08-20 13:44:51 UTC ---
I got the same error and started a thread in the developers list:

http://lists.freedesktop.org/archives/mesa-dev/2012-August/025659.html

I was building from git with the configuration :

./autogen.sh \
  --prefix=/home/kevin/mesa_build/ \
  --disable-dri \
  --enable-glx \
  --enable-xlib-glx \
  --enable-osmesa \
  --without-gallium-drivers

How are you building?

For me adding --disable-shared-glapi solved the problem.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list