On Wed, 17 Jul 2013 11:36:11 -0400 Robert Heller <hel...@deepsoft.com> said:

> At Tue, 16 Jul 2013 20:56:47 -0400 Enlightenment developer list
> <enlightenment-devel@lists.sourceforge.net> wrote:

first... dont --enable-software-16-x11 ... we already removed it in git (wont
be in 1.8) and no one tests/checks that engine/code. so remove that configure
option. secondly... don't enable svg loader (--enable-image-loader-svg). that
only works if you have esvg and its deps... and the problem is everyone who has
used it ends up in segfault land badly. there is a reason that it's off by
default these days. a lot of segv's did get fixed, but it's not ready for use,
so don't make packages with it turned on.. (note.. it fails to turn on anyway
as dependencies are not found - in configure summary).

now what have you done with gl? gl including works. it doesn't complain of a
missing gl.h ... but all the TYPES defined by gl.h (glGenFramebuffers,
GL_FRAMEBUFFER, etc. etc.) simply are not there. gl is detected and enabled, so
evas_engine.c insludes evas_engine.h... which includes evas_gl_common.h which
includes gl.h (one way or another). so right now all i can surmise is.. your
system gl includes are utterly broken somehow. 1.7.7 builds just fine for me (i
have mesa includes here fyi).

> > 
> > I am getting an error compiling evas 1.7.7 under CentOS 5.9:
> > 
> > gollum.deepsoft.com% rpm -qa gcc\* binutils glibc\* autoconf\* libX11
> > autoconf-2.59-12
> > gcc-c++-4.1.2-54.el5
> > autoconf213-2.13-12.1
> > glibc-2.5-107.el5_9.5
> > glibc-headers-2.5-107.el5_9.5
> > glibc-devel-2.5-107.el5_9.5
> > gcc-4.1.2-54.el5
> > libX11-1.0.3-11.el5_7.1
> > binutils-2.17.50.0.6-20.el5_8.3
> > gcc-gfortran-4.1.2-54.el5
> > glibc-common-2.5-107.el5_9.5
> 
> ..
> 
> >   CCLD   libevas.la
> > engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_image_unscaled.o): In function
> > `_soft16_pt_blend_transp_solid': 
> > /extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_point_blend.c:20:
> > multiple definition of `_soft16_pt_blend_transp_solid'
> > engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_image_scaled_sampled.o):/extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_point_blend.c:20:
> > first defined here engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_image_unscaled.o): In function
> > `_soft16_pt_blend_solid_solid': 
> > /extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_point_blend.c:35:
> > multiple definition of `_soft16_pt_blend_solid_solid'
> > engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_image_scaled_sampled.o):/extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_point_blend.c:35:
> > first defined here engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_image_unscaled.o): In function
> > `_soft16_pt_blend_transp_solid_mul_alpha': 
> > /extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_point_blend.c:45:
> > multiple definition of `_soft16_pt_blend_transp_solid_mul_alpha'
> > engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_image_scaled_sampled.o):/extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_point_blend.c:45:
> > first defined here engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_image_unscaled.o): In function
> > `_soft16_pt_blend_solid_solid_mul_alpha': 
> > /extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_point_blend.c:62:
> > multiple definition of `_soft16_pt_blend_solid_solid_mul_alpha'
> > engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_image_scaled_sampled.o):/extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_point_blend.c:62:
> > first defined here engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_image_unscaled.o): In function
> > `_soft16_pt_blend_transp_solid_mul_color_transp': 
> > /extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_point_blend.c:76:
> > multiple definition of `_soft16_pt_blend_transp_solid_mul_color_transp'
> > engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_image_scaled_sampled.o):/extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_point_blend.c:76:
> > first defined here engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_image_unscaled.o): In function
> > `_soft16_pt_blend_solid_solid_mul_color_transp': 
> > /extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_point_blend.c:98:
> > multiple definition of `_soft16_pt_blend_solid_solid_mul_color_transp'
> > engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_image_scaled_sampled.o):/extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_point_blend.c:98:
> > first defined here engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_image_unscaled.o): In function
> > `_soft16_pt_blend_transp_solid_mul_color_solid': 
> > /extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_point_blend.c:118:
> > multiple definition of `_soft16_pt_blend_transp_solid_mul_color_solid'
> > engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_image_scaled_sampled.o):/extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_point_blend.c:118:
> > first defined here engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_image_unscaled.o): In function
> > `_soft16_pt_blend_solid_solid_mul_color_solid': 
> > /extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_point_blend.c:141:
> > multiple definition of `_soft16_pt_blend_solid_solid_mul_color_solid'
> > engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_image_scaled_sampled.o):/extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_point_blend.c:141:
> > first defined here engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_line.o): In function
> > `_soft16_pt_fill_solid_solid': 
> > /extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_scanline_fill.c:15:
> > multiple definition of `_soft16_pt_fill_solid_solid'
> > engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_rectangle.o):/extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_scanline_fill.c:15:
> > first defined here engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_line.o): In function
> > `_soft16_pt_fill_transp_solid': 
> > /extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_scanline_fill.c:57:
> > multiple definition of `_soft16_pt_fill_transp_solid'
> > engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_rectangle.o):/extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_scanline_fill.c:57:
> > first defined here engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_polygon.o): In function
> > `_soft16_pt_fill_solid_solid': 
> > /extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_scanline_fill.c:15:
> > multiple definition of `_soft16_pt_fill_solid_solid'
> > engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_rectangle.o):/extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_scanline_fill.c:15:
> > first defined here engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_polygon.o): In function
> > `_soft16_pt_fill_transp_solid': 
> > /extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_scanline_fill.c:57:
> > multiple definition of `_soft16_pt_fill_transp_solid'
> > engines/common_16/.libs/libevas_engine_common_16.a
> > (evas_soft16_rectangle.o):/extra/heller/src/BUILD/evas-1.7.7/src/lib/engines/common_16/evas_soft16_scanline_fill.c:57:
> > first defined here collect2: ld returned 1 exit status make[4]: ***
> > [libevas.la] Error 1 make[4]: Leaving directory
> > `/extra/heller/src/BUILD/evas-1.7.7/src/lib' make[3]: *** [all-recursive]
> > Error 1 make[3]: Leaving directory
> > `/extra/heller/src/BUILD/evas-1.7.7/src/lib' make[2]: *** [all-recursive]
> > Error 1 make[2]: Leaving directory `/extra/heller/src/BUILD/evas-1.7.7/src'
> > make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
> > `/extra/heller/src/BUILD/evas-1.7.7' make: *** [all] Error 2 error: Bad
> > exit status from /var/tmp/rpm-tmp.74083 (%build)
> 
> OK, I fixed this: m4/efl_attribute.m4 (configure) need to be patched to 
> include 'static' with inline:
> 
> *** m4/efl_attribute.m4.orig  2013-07-17 10:10:49.000000000 -0400
> --- m4/efl_attribute.m4       2013-07-17 10:11:38.000000000 -0400
> ***************
> *** 97,103 ****
>      if test "x${have_attribute_forceinline}" = "xyes" ; then
>         AC_DEFINE([EFL_ALWAYS_INLINE], [__forceinline], [Macro declaring a
> function to always be inlined.]) else
> !       AC_DEFINE([EFL_ALWAYS_INLINE], [__attribute__ ((__always_inline__))
> inline], [Macro declaring a function to always be inlined.]) fi
>   else
>      AC_DEFINE([EFL_ALWAYS_INLINE], [static inline], [Macro declaring a
> function to always be inlined.])
> --- 97,103 ----
>      if test "x${have_attribute_forceinline}" = "xyes" ; then
>         AC_DEFINE([EFL_ALWAYS_INLINE], [__forceinline], [Macro declaring a
> function to always be inlined.]) else
> !       AC_DEFINE([EFL_ALWAYS_INLINE], [static __attribute__
> ((__always_inline__)) inline], [Macro declaring a function to always be
> inlined.]) fi else
>      AC_DEFINE([EFL_ALWAYS_INLINE], [static inline], [Macro declaring a
> function to always be inlined.]) *** configure-orig   2013-07-17
> 10:54:16.000000000 -0400
> --- configure 2013-07-17 10:55:08.000000000 -0400
> ***************
> *** 20154,20160 ****
>   
>      else
>   
> ! $as_echo "#define EFL_ALWAYS_INLINE __attribute__ ((__always_inline__))
> inline" >>confdefs.h 
>      fi
>   else
> --- 20154,20160 ----
>   
>      else
>   
> ! $as_echo "#define EFL_ALWAYS_INLINE static __attribute__
> ((__always_inline__)) inline" >>confdefs.h 
>      fi
>   else
> 
> 
> But now I am getting a new error:
> 
> ..
> 
> Making all in gl_x11
> make[5]: Entering directory
> `/extra/heller/src/BUILD/evas-1.7.7/src/modules/engines/gl_x11' CC
> module_la-evas_engine.lo In file included
> from /usr/include/eina-1/eina/eina_value.h:3501,
> from /usr/include/eina-1/Eina.h:242,
> from ../../../../src/lib/include/evas_common.h:67, from evas_engine.c:1:
> /usr/include/eina-1/eina/eina_inline_value.x: In function 'eina_value_vset':
> /usr/include/eina-1/eina/eina_inline_value.x:422: warning: dereferencing
> type-punned pointer will break strict-aliasing
> rules /usr/include/eina-1/eina/eina_inline_value.x: In function
> 'eina_value_pset': /usr/include/eina-1/eina/eina_inline_value.x:494: warning:
> dereferencing type-punned pointer will break strict-aliasing rules
> evas_engine.c: In function '_gl_ext_sym_init': evas_engine.c:542: warning:
> assignment from incompatible pointer type evas_engine.c:542: warning:
> assignment from incompatible pointer type evas_engine.c: In function
> '_check_gl_surface_format': evas_engine.c:3031: warning: implicit declaration
> of function 'glGenFramebuffers' evas_engine.c:3032: warning: implicit
> declaration of function 'glBindFramebuffer' evas_engine.c:3032: error:
> 'GL_FRAMEBUFFER' undeclared (first use in this function) evas_engine.c:3032:
> error: (Each undeclared identifier is reported only once evas_engine.c:3032:
> error: for each function it appears in.) evas_engine.c:3047: error:
> 'GL_COLOR_ATTACHMENT0' undeclared (first use in this function)
> evas_engine.c:3049: warning: implicit declaration of function
> 'glFramebufferTexture2D' evas_engine.c:3086: warning: implicit declaration of
> function 'glGenRenderbuffers' evas_engine.c:3087: warning: implicit
> declaration of function 'glBindRenderbuffer' evas_engine.c:3087: error:
> 'GL_RENDERBUFFER' undeclared (first use in this function) evas_engine.c:3091:
> warning: implicit declaration of function 'glRenderbufferStorage'
> evas_engine.c:3092: warning: implicit declaration of function
> 'glFramebufferRenderbuffer' evas_engine.c:3099: warning: implicit declaration
> of function 'glCheckFramebufferStatus' evas_engine.c:3104: warning: implicit
> declaration of function 'glDeleteFramebuffers' evas_engine.c:3107: warning:
> implicit declaration of function 'glDeleteRenderbuffers' evas_engine.c:3109:
> error: 'GL_FRAMEBUFFER_COMPLETE' undeclared (first use in this function)
> evas_engine.c: In function '_set_gl_surface_cap': evas_engine.c:3228: error:
> 'GL_MAX_RENDERBUFFER_SIZE' undeclared (first use in this function)
> evas_engine.c:3258: error: 'GL_DEPTH_ATTACHMENT' undeclared (first use in
> this function) evas_engine.c:3263: error: 'GL_STENCIL_ATTACHMENT' undeclared
> (first use in this function) evas_engine.c:3263: error: 'GL_STENCIL_INDEX1'
> undeclared (first use in this function) evas_engine.c:3264: error:
> 'GL_STENCIL_INDEX4' undeclared (first use in this function)
> evas_engine.c:3265: error: 'GL_STENCIL_INDEX8' undeclared (first use in this
> function) evas_engine.c:3267: error: 'GL_DEPTH_STENCIL_ATTACHMENT' undeclared
> (first use in this function) evas_engine.c:3267: error: 'GL_DEPTH24_STENCIL8'
> undeclared (first use in this function) evas_engine.c: In function
> '_attach_fbo_surface': evas_engine.c:3440: error: 'GL_FRAMEBUFFER' undeclared
> (first use in this function) evas_engine.c:3443: error:
> 'GL_COLOR_ATTACHMENT0' undeclared (first use in this function)
> evas_engine.c:3444: error: 'GL_DEPTH_ATTACHMENT' undeclared (first use in
> this function) evas_engine.c:3444: error: 'GL_RENDERBUFFER' undeclared (first
> use in this function) evas_engine.c:3445: error: 'GL_STENCIL_ATTACHMENT'
> undeclared (first use in this function) evas_engine.c:3450: error:
> 'GL_DEPTH_STENCIL_ATTACHMENT' undeclared (first use in this function)
> evas_engine.c:3517: error: 'GL_RENDERBUFFER_BINDING' undeclared (first use in
> this function) evas_engine.c:3571: error: 'GL_FRAMEBUFFER_COMPLETE'
> undeclared (first use in this function) evas_engine.c: In function
> '_create_rt_buffers': evas_engine.c:3617: error: 'GL_FRAMEBUFFER_BINDING'
> undeclared (first use in this function) evas_engine.c:3623: error:
> 'GL_FRAMEBUFFER' undeclared (first use in this function) evas_engine.c: In
> function 'eng_gl_make_current': evas_engine.c:4028: error:
> 'GL_FRAMEBUFFER_BINDING' undeclared (first use in this function)
> evas_engine.c:4032: error: 'GL_FRAMEBUFFER' undeclared (first use in this
> function) evas_engine.c: In function 'eng_gl_api_get': evas_engine.c:4581:
> error: 'glCheckFramebufferStatus' undeclared (first use in this function)
> evas_engine.c:4596: error: 'glDeleteFramebuffers' undeclared (first use in
> this function) evas_engine.c:4598: error: 'glDeleteRenderbuffers' undeclared
> (first use in this function) evas_engine.c:4613: error:
> 'glFramebufferRenderbuffer' undeclared (first use in this function)
> evas_engine.c:4614: error: 'glFramebufferTexture2D' undeclared (first use in
> this function) evas_engine.c:4617: error: 'glGenerateMipmap' undeclared
> (first use in this function) evas_engine.c:4618: error: 'glGenFramebuffers'
> undeclared (first use in this function) evas_engine.c:4619: error:
> 'glGenRenderbuffers' undeclared (first use in this function)
> evas_engine.c:4629: error: 'glGetFramebufferAttachmentParameteriv' undeclared
> (first use in this function) evas_engine.c:4633: error:
> 'glGetRenderbufferParameteriv' undeclared (first use in this function)
> evas_engine.c:4650: error: 'glIsFramebuffer' undeclared (first use in this
> function) evas_engine.c:4652: error: 'glIsRenderbuffer' undeclared (first use
> in this function) evas_engine.c:4661: error: 'glRenderbufferStorage'
> undeclared (first use in this function) make[5]: ***
> [module_la-evas_engine.lo] Error 1 make[5]: Leaving directory
> `/extra/heller/src/BUILD/evas-1.7.7/src/modules/engines/gl_x11' make[4]: ***
> [all-recursive] Error 1 make[4]: Leaving directory
> `/extra/heller/src/BUILD/evas-1.7.7/src/modules/engines' make[3]: ***
> [all-recursive] Error 1 make[3]: Leaving directory
> `/extra/heller/src/BUILD/evas-1.7.7/src/modules' make[2]: *** [all-recursive]
> Error 1 make[2]: Leaving directory `/extra/heller/src/BUILD/evas-1.7.7/src'
> make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
> `/extra/heller/src/BUILD/evas-1.7.7' make: *** [all] Error 2 error: Bad exit
> status from /var/tmp/rpm-tmp.59639 (%build)
> 
> I have mesa_libGL and mesa_libGLU and their -devel RPMs installed:
> 
> gollum.deepsoft.com% rpm -qa mesa\*
> mesa-libGLU-devel-6.5.1-7.10.el5
> mesa-libGL-devel-6.5.1-7.10.el5
> mesa-libGL-6.5.1-7.10.el5
> mesa-libGLU-6.5.1-7.10.el5
> 
> Do I need something else?
> 
> 
> -- 
> Robert Heller             -- 978-544-6933 / hel...@deepsoft.com
> Deepwoods Software        -- http://www.deepsoft.com/
> ()  ascii ribbon campaign -- against html e-mail
> /\  www.asciiribbon.org   -- against proprietary attachments
> 
> 
>                                                 
> 
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


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


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to