[prev in list] [next in list] [prev in thread] [next in thread] 

List:       enlightenment-users
Subject:    Re: [e-users] Build error while building Evas
From:       Carsten Haitzler (The Rasterman) <raster () rasterman ! com>
Date:       2012-03-10 1:11:33
Message-ID: 20120310101133.550a608e.raster () rasterman ! com
[Download RAW message or body]

On Fri, 9 Mar 2012 17:27:18 -0500 Suresh Kumar <uniquesuresh@gmail.com> said:

you opengl (headers) are ancient. there are definitelyt in opengl3 and i think
2. either way they have been added to opengl for many years now. your headers
are too old for evas to work with gl - disable it, or get new headers (and
likely also new gl drivers/libs anyway)

> Please help to solve this issue,
> 
> 
>  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../../../.. -I.
> -I../../../../src/lib -I../../../../src/lib/include
> -I/usr/include/freetype2 -I/opt/e17/include/eet-1
> -I/opt/e17/include/eina-1 -I/opt/e17/include/eina-1/eina
> -I/opt/e17/include/eina-1 -I/opt/e17/include/eina-1/eina
> -I/opt/e17/include -I/opt/X11R7.x/include -MT evas_gl_line.lo -MD -MP
> -MF .deps/evas_gl_line.Tpo -c evas_gl_line.c -o evas_gl_line.o
> >/dev/null 2>&1
> /bin/sh ../../../../libtool --tag=CC --mode=link gcc -std=gnu99
> -I/opt/X11R7.x/include  -L/opt/X11R7.x/lib -L/opt/e17/lib -o
> libevas_engine_gl_common.la   evas_gl_context.lo evas_gl_shader.lo
> evas_gl_rectangle.lo evas_gl_texture.lo evas_gl_image.lo
> evas_gl_font.lo evas_gl_polygon.lo evas_gl_line.lo evas_gl_filter.lo
> -pthread -L/opt/e17/lib -leina -lrt -ldl -lm   -pthread -L/opt/e17/lib
> -leet -ljpeg -lz -lssl -lcrypto -leina -lrt -ldl -lm    -ldl
> ar cru .libs/libevas_engine_gl_common.a .libs/evas_gl_context.o
> .libs/evas_gl_shader.o .libs/evas_gl_rectangle.o
> .libs/evas_gl_texture.o .libs/evas_gl_image.o .libs/evas_gl_font.o
> .libs/evas_gl_polygon.o .libs/evas_gl_line.o .libs/evas_gl_filter.o
> ranlib .libs/libevas_engine_gl_common.a
> creating libevas_engine_gl_common.la
> (cd .libs && rm -f libevas_engine_gl_common.la && ln -s
> ../libevas_engine_gl_common.la libevas_engine_gl_common.la)
> make[5]: Leaving directory
> `/opt/e17/src/e17/evas/src/modules/engines/gl_common' Making all in gl_x11
> make[5]: Entering directory `/opt/e17/src/e17/evas/src/modules/engines/gl_x11'
> if /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -std=gnu99
> -DHAVE_CONFIG_H -I. -I. -I../../../..  -I. -I../../../../src/lib
> -I../../../../src/lib/include
> -I../../../../src/modules/engines/gl_common -I/usr/include/freetype2
> -I/opt/e17/include/eina-1 -I/opt/e17/include/eina-1/eina
> -I/opt/e17/include/eet-1 -I/opt/e17/include/eina-1
> -I/opt/e17/include/eina-1/eina -I/usr/include -I/usr/X11R6/include
> -I/opt/e17/include  -I/opt/X11R7.x/include -MT evas_engine.lo -MD -MP
> -MF ".deps/evas_engine.Tpo" -c -o evas_engine.lo evas_engine.c; \
> then mv -f ".deps/evas_engine.Tpo" ".deps/evas_engine.Plo"; else rm -f
> ".deps/evas_engine.Tpo"; exit 1; fi
> if /bin/sh ../../../../libtool --tag=CC --mode=compile gcc -std=gnu99
> -DHAVE_CONFIG_H -I. -I. -I../../../..  -I. -I../../../../src/lib
> -I../../../../src/lib/include
> -I../../../../src/modules/engines/gl_common -I/usr/include/freetype2
> -I/opt/e17/include/eina-1 -I/opt/e17/include/eina-1/eina
> -I/opt/e17/include/eet-1 -I/opt/e17/include/eina-1
> -I/opt/e17/include/eina-1/eina -I/usr/include -I/usr/X11R6/include
> -I/opt/e17/include  -I/opt/X11R7.x/include -MT evas_x_main.lo -MD -MP
> -MF ".deps/evas_x_main.Tpo" -c -o evas_x_main.lo evas_x_main.c; \
> then mv -f ".deps/evas_x_main.Tpo" ".deps/evas_x_main.Plo"; else rm -f
> ".deps/evas_x_main.Tpo"; exit 1; fi
> mkdir .libs
>  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../../../.. -I.
> -I../../../../src/lib -I../../../../src/lib/include
> -I../../../../src/modules/engines/gl_common -I/usr/include/freetype2
> -I/opt/e17/include/eina-1 -I/opt/e17/include/eina-1/eina
> -I/opt/e17/include/eet-1 -I/opt/e17/include/eina-1
> -I/opt/e17/include/eina-1/eina -I/usr/include -I/usr/X11R6/include
> -I/opt/e17/include -I/opt/X11R7.x/include -MT evas_x_main.lo -MD -MP
> -MF .deps/evas_x_main.Tpo -c evas_x_main.c  -fPIC -DPIC -o
> .libs/evas_x_main.o
>  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../../../.. -I.
> -I../../../../src/lib -I../../../../src/lib/include
> -I../../../../src/modules/engines/gl_common -I/usr/include/freetype2
> -I/opt/e17/include/eina-1 -I/opt/e17/include/eina-1/eina
> -I/opt/e17/include/eet-1 -I/opt/e17/include/eina-1
> -I/opt/e17/include/eina-1/eina -I/usr/include -I/usr/X11R6/include
> -I/opt/e17/include -I/opt/X11R7.x/include -MT evas_engine.lo -MD -MP
> -MF .deps/evas_engine.Tpo -c evas_engine.c  -fPIC -DPIC -o
> .libs/evas_engine.o
> evas_x_main.c: In function ‘eng_window_new':
> evas_x_main.c:452:63: error: ‘GLX_BIND_TO_TEXTURE_RGBA_EXT' undeclared
> (first use in this function)
> evas_x_main.c:452:63: note: each undeclared identifier is reported
> only once for each function it appears in
> evas_x_main.c:456:59: error: ‘GLX_TEXTURE_FORMAT_RGBA_EXT' undeclared
> (first use in this function)
> evas_x_main.c:462:63: error: ‘GLX_BIND_TO_TEXTURE_RGB_EXT' undeclared
> (first use in this function)
> evas_x_main.c:464:54: error: ‘GLX_TEXTURE_FORMAT_RGB_EXT' undeclared
> (first use in this function)
> evas_x_main.c:482:58: error: ‘GLX_BIND_TO_MIPMAP_TEXTURE_EXT'
> undeclared (first use in this function)
> evas_x_main.c:486:58: error: ‘GLX_Y_INVERTED_EXT' undeclared (first
> use in this function)
> evas_x_main.c:489:58: error: ‘GLX_BIND_TO_TEXTURE_TARGETS_EXT'
> undeclared (first use in this function)
> make[5]: *** [evas_x_main.lo] Error 1
> make[5]: *** Waiting for unfinished jobs....
> evas_engine.c: In function ‘_sym_init':
> evas_engine.c:519:4: warning: assignment from incompatible pointer
> type [enabled by default]
> evas_engine.c:519:4: warning: assignment from incompatible pointer
> type [enabled by default]
> evas_engine.c: In function ‘_create_rt_buffers':
> evas_engine.c:2910:7: warning: implicit declaration of function
> ‘glGenRenderbuffers' [-Wimplicit-function-declaration]
> evas_engine.c: In function ‘_attach_fbo_surface':
> evas_engine.c:2938:4: warning: implicit declaration of function
> ‘glBindFramebuffer' [-Wimplicit-function-declaration]
> evas_engine.c:2938:22: error: ‘GL_FRAMEBUFFER' undeclared (first use
> in this function)
> evas_engine.c:2938:22: note: each undeclared identifier is reported
> only once for each function it appears in
> evas_engine.c:2939:4: warning: implicit declaration of function
> ‘glFramebufferTexture2D' [-Wimplicit-function-declaration]
> evas_engine.c:2939:43: error: ‘GL_COLOR_ATTACHMENT0' undeclared (first
> use in this function)
> evas_engine.c:2945:9: warning: implicit declaration of function
> ‘glBindRenderbuffer' [-Wimplicit-function-declaration]
> evas_engine.c:2945:28: error: ‘GL_RENDERBUFFER' undeclared (first use
> in this function)
> evas_engine.c:2946:9: warning: implicit declaration of function
> ‘glRenderbufferStorage' [-Wimplicit-function-declaration]
> evas_engine.c:2948:9: warning: implicit declaration of function
> ‘glFramebufferRenderbuffer' [-Wimplicit-function-declaration]
> evas_engine.c:2948:51: error: ‘GL_DEPTH_ATTACHMENT' undeclared (first
> use in this function)
> evas_engine.c:2959:51: error: ‘GL_STENCIL_ATTACHMENT' undeclared
> (first use in this function)
> evas_engine.c:2965:4: warning: implicit declaration of function
> ‘glCheckFramebufferStatus' [-Wimplicit-function-declaration]
> evas_engine.c:2966:21: error: ‘GL_FRAMEBUFFER_COMPLETE' undeclared
> (first use in this function)
> evas_engine.c: In function ‘eng_gl_surface_destroy':
> evas_engine.c:3117:7: warning: implicit declaration of function
> ‘glDeleteRenderbuffers' [-Wimplicit-function-declaration]
> evas_engine.c: In function ‘eng_gl_context_destroy':
> evas_engine.c:3249:9: warning: implicit declaration of function
> ‘glDeleteFramebuffers' [-Wimplicit-function-declaration]
> evas_engine.c: In function ‘eng_gl_make_current':
> evas_engine.c:3413:14: warning: implicit declaration of function
> ‘glGenFramebuffers' [-Wimplicit-function-declaration]
> evas_engine.c:3428:35: error: ‘GL_FRAMEBUFFER' undeclared (first use
> in this function)
> evas_engine.c: In function ‘eng_gl_api_get':
> evas_engine.c:3904:4: error: ‘glCheckFramebufferStatus' undeclared
> (first use in this function)
> evas_engine.c:3919:4: error: ‘glDeleteFramebuffers' undeclared (first
> use in this function)
> evas_engine.c:3921:4: error: ‘glDeleteRenderbuffers' undeclared (first
> use in this function)
> evas_engine.c:3936:4: error: ‘glFramebufferRenderbuffer' undeclared
> (first use in this function)
> evas_engine.c:3937:4: error: ‘glFramebufferTexture2D' undeclared
> (first use in this function)
> evas_engine.c:3940:4: error: ‘glGenerateMipmap' undeclared (first use
> in this function)
> evas_engine.c:3941:4: error: ‘glGenFramebuffers' undeclared (first use
> in this function)
> evas_engine.c:3942:4: error: ‘glGenRenderbuffers' undeclared (first
> use in this function)
> evas_engine.c:3952:4: error: ‘glGetFramebufferAttachmentParameteriv'
> undeclared (first use in this function)
> evas_engine.c:3956:4: error: ‘glGetRenderbufferParameteriv' undeclared
> (first use in this function)
> evas_engine.c:3973:4: error: ‘glIsFramebuffer' undeclared (first use
> in this function)
> evas_engine.c:3975:4: error: ‘glIsRenderbuffer' undeclared (first use
> in this function)
> evas_engine.c:3984:4: error: ‘glRenderbufferStorage' undeclared (first
> use in this function)
> make[5]: *** [evas_engine.lo] Error 1
> make[5]: Leaving directory `/opt/e17/src/e17/evas/src/modules/engines/gl_x11'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/opt/e17/src/e17/evas/src/modules/engines'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/opt/e17/src/e17/evas/src/modules'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/opt/e17/src/e17/evas/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt/e17/src/e17/evas'
> make: *** [all] Error 2
> ============================================
> 
> ------------------------------------------------------------------------
> evas 1.1.99.69162
> ------------------------------------------------------------------------
> 
> Configuration Options Summary:
> 
> Engines:
>   Software Memory Buffer.....: yes
>   Software X11...............: yes (Xlib: yes) (XCB: no)
>   OpenGL X11.................: yes (Xlib: yes) (XCB: no) (GLES: no)
> (SGX: no) (s3c6410: no)
>   Software GDI...............: no
>   Software DirectDraw........: no
>   Direct3d...................: no
>   OpenGL SDL.................: no
> 
>   OpenGL Cocoa...............: no
>   Software Framebuffer.......: yes
>   DirectFB...................: no
>   PSL1GHT....................: no
>   Software 8bit grayscale....: no
>   Software 16bit ............: no
>   Software 16bit X11.........: no
>   Software 16bit Directdraw..: no
>   Software 16bit WinCE.......: no
>   Software 16bit SDL.........: no (primitive: no)
>   Wayland Shm................: yes
>   Wayland Egl................: no
> 
> Image Loaders:
>   BMP.....................: yes
>   EDB.....................: no
>   EET.....................: yes
>   GENERIC.................: yes
>   GIF.....................: no
>   ICO.....................: yes
>   JPEG....................: yes (region: no)
>   PMAPS...................: yes
>   PNG.....................: yes
>   PSD.....................: yes
>   SVG.....................: no
>   TGA.....................: yes
>   TIFF....................: yes
>   WBMP....................: yes
>   XPM.....................: yes
> 
> Font Sourcing Systems:
>   EET.....................: yes
> 
> Font Searching Systems:
>   Fontconfig..............: yes
> 
> Font Rendering Helpers:
>   Fribidi.................: no
>   Harfbuzz................: no
>   liblinebreak............: yes
> 
> CPU Specific Extensions:
>   Fallback C Code.........: yes
>   MMX.....................: yes
>   SSE.....................: yes
>   SSE3....................: yes
>   ALTIVEC.................: no
>   NEON....................: no
>   Thread Support..........: yes
> 
> Features:
>   MAGIC_DEBUG.............: yes
>   Cache Server............: yes
> 
>   Threaded Pipe Rendering.: no
>   Async Pipe Rendering....: no
>   Async Events............: yes
>   Async Image Preload.....: yes
> 
>   Word Cache..............: no
>   Metric Cache............: no
> 
>   Pixman..................: no
>   Pixman Fonts............: no
>   Pixman Rects............: no
>   Pixman Lines............: no
>   Pixman Polygons.........: no
>   Pixman Images...........: no
>   Pixman Image ScaleSample: no
> 
>   Tiled 32BPP rotate......: no
> 
> ARGB Software Engine Options:
>   Sampling Scaler.........: yes
>   Smooth Scaler...........: yes
>   YUV Converter...........: yes
> 
> ARGB Conversion Options:
>   Smaller Dither Mask.....: no
>   Line Dither Mask........: no
>   No Dither Mask for 16bpp: no
>   8bpp RGB 332............: yes
>   8bpp RGB 666............: yes
>   8bpp RGB 232............: yes
>   8bpp RGB 222............: yes
>   8bpp RGB 221............: yes
>   8bpp RGB 121............: yes
>   8bpp RGB 111............: yes
>   8bpp Grayscale (256)....: yes
>   8bpp Grayscale (16).....: yes
>   8bpp Grayscale 64-pal...: yes
>   16bpp RGB 565...........: yes
>   16bpp BGR 565...........: yes
>   16bpp RGB 555...........: yes
>   16bpp RGB 444...........: yes
>   16bpp RGB 565 (444 ipaq): yes
>   16bpp Rotation 0........: yes
>   16bpp Rotation 90.......: yes
>   16bpp Rotation 180......: yes
>   16bpp Rotation 270......: yes
>   24bpp RGB 888...........: yes
>   24bpp BGR 888...........: yes
>   24bpp RGB 666 (666 ezx).: yes
>   32bpp RGB 8888..........: yes
>   32bpp RGBX 8888.........: yes
>   32bpp BGR 8888..........: yes
>   32bpp BGRX 8888.........: yes
>   32bpp RGB 666 (666 ezx).: yes
>   32bpp Rotation 0........: yes
>   32bpp Rotation 90.......: yes
>   32bpp Rotation 180......: yes
>   32bpp Rotation 270......: yes
> 
> Documentation.............: yes
> Examples..................: install:yes build:no
> Tests.....................: no
> Coverage..................: no
> 
> Compilation............: make (or gmake)
>   CPPFLAGS.............:  -I/opt/e17/include
>   CFLAGS...............:  -I/opt/X11R7.x/include
>   CXXFLAGS.............: -g -O2
>   LDFLAGS..............:  -L/opt/X11R7.x/lib -L/opt/e17/lib
> 
> Installation...........: make install (as root if needed, with 'su' or 'sudo')
>   prefix...............: /opt/e17
> 
> 
> 
> -- 
> -Regards,
> Suresh
> 
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster@rasterman.com


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic