Summary: | latest eglut patches break build | ||
---|---|---|---|
Product: | Mesa | Reporter: | Martin Stolpe <martinstolpe> |
Component: | Mesa core | Assignee: | Chia-I Wu <olvaffe> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Martin Stolpe
2010-04-01 16:26:31 UTC
I've updated the build rule in 1054f22e480875b2d91c3d9ad1b85080e4705a35. Could you verify that if it fixes the bug for you? Now I get the following compile error: gcc -c -I../../../include -I../../../progs/egl/eglut -march=native -mtune=native -O2 -g -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XEXTPROTO_71 eglgears.c -o eglgears.o eglgears.c:34:19: error: eglut.h: No such file or directory eglgears.c: In function 'idle': eglgears.c:215: warning: implicit declaration of function 'eglutGet' eglgears.c:215: error: 'EGLUT_ELAPSED_TIME' undeclared (first use in this function) eglgears.c:215: error: (Each undeclared identifier is reported only once eglgears.c:215: error: for each function it appears in.) eglgears.c:224: warning: implicit declaration of function 'eglutPostRedisplay' eglgears.c: In function 'main': eglgears.c:285: warning: implicit declaration of function 'eglutInitWindowSize' eglgears.c:286: warning: implicit declaration of function 'eglutInitAPIMask' eglgears.c:286: error: 'EGLUT_OPENGL_BIT' undeclared (first use in this function) eglgears.c:287: warning: implicit declaration of function 'eglutInit' eglgears.c:289: warning: implicit declaration of function 'eglutCreateWindow' eglgears.c:291: warning: implicit declaration of function 'eglutIdleFunc' eglgears.c:292: warning: implicit declaration of function 'eglutReshapeFunc' eglgears.c:293: warning: implicit declaration of function 'eglutDisplayFunc' eglgears.c:298: warning: implicit declaration of function 'eglutMainLoop' make[2]: *** [eglgears.o] Error 1 make[2]: Leaving directory `/home/martin/abs/2_xorg/5_-_mesa-full/src/mesa-build/progs/egl/opengl' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/home/martin/abs/2_xorg/5_-_mesa-full/src/mesa-build/progs' make: *** [default] Error 1 There is no eglut.h file in the mesa source tree. I've made a clean checkout and now it compiles without errors. I have no idea what went wrong because normally I don't touch the source directory. The original bug is fixed. I am closing this bug. Feel free to open a new bug if you experience build failures in the future. |
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.