[Mesa-users] Building linux-opengl-es debug

Sajith T S sajith at gmail.com
Tue Jun 22 02:17:51 PDT 2010


Hi,

I'm building a debug version of libGLESv2.so using Mesa 7.8.1 release.
I changed the include line in configs/linux-opengl-es as follows:

    include $(TOP)/configs/linux-debug

I could build the library, but it's missing some symbols.  For
example, when building the demo programs:

    sajith at box:~/stuff/Mesa-7.8.1/progs/es2/xegl$ make
    gcc -Wall -Wmissing-prototypes -Wdeclaration-after-statement \
    -Wpointer-arith -g -fPIC -D_POSIX_SOURCE \
    -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE \
    -D_GNU_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN \
    -DDEBUG -DDEBUG_MATH -DGLX_DIRECT_RENDERING -I/usr/X11R6/include \
    -std=c99 \ -ffast-math -fno-strict-aliasing -pedantic es2_info.o \
    -L../../../lib -lEGL -L../../../lib -lGLESv2 -lX11 -o es2_info
    ../../../lib/libGLESv2.so: undefined reference to `_mesa_clip_np_tab'
    ../../../lib/libGLESv2.so: undefined reference to `_mesa_transform_tab'
    ../../../lib/libGLESv2.so: undefined reference to `_mesa_clip_tab'
    ../../../lib/libGLESv2.so: undefined reference to `_mesa_normal_tab'
    collect2: ld returned 1 exit status
    make: *** [es2_info] Error 1

Any clues?  Thanks in advance!

Regards,
Sajith.


More information about the mesa-users mailing list