2011/12/28 Mohammed Azharudin <az...@emo2.com>:
> No the emotion.h declaration does not have EAPI.
>
> So I added EAPI there and tried. same error.
>
> After adding EAPI to the emotion.h declaration, I removed the EAPI in
> emotion_main.c and it works.
>
> Maybe we are not supposed to declare EAPI twice.
>
> but now I am back to:
>

Just now I read your path, I'm fixing this in SVN, so you
should get the sources from there to try.
Regarding the double EAPI, I remember they are there
like that for a reason, but I don't remember what that
reason was. Still, the double declaration should give
warnings as it does for the other functions, not an error.
If it gives the same error it's because it's missing the
first declaration.

> make[4]: Entering directory
> `/home/emo2/emotion-0.2.0.65643/src/modules/xine'
>  CC     xine_la-emotion_xine.lo
> In file included from emotion_xine.h:4:0,
>                 from emotion_xine.c:3:
> H:/MinGW/msys/1.0/include/xine.h:2265:1: warning: 'xine_tvsystem' is
> deprecated
> (declared at H:/MinGW/msys/1.0/include/xine.h:2253)
> [-Wdeprecated-declarations]
> emotion_xine.c:1610:1: error: variable '__eina_module_init' definition is
> marked
>  dllimport
> emotion_xine.c:1611:1: error: variable '__eina_module_shutdown' definition
> is ma
> rked dllimport
> make[4]: *** [xine_la-emotion_xine.lo] Error 1
>
> Thanks for the help.
>
>
>
>
>
> On Wed, Dec 28, 2011 at 9:36 PM, Iván Briano (Sachiel)
> <sachi...@gmail.com>wrote:
>
>> 2011/12/28 Mohammed Azharudin <az...@emo2.com>:
>> > OK well, should not remove EAPI's...
>> >
>> > Updating emotion and not removing EAPI still gives me:
>> >
>> >  CC     emotion_main.lo
>> > emotion_main.c:19:10: error: variable 'EMOTION_WEBCAM_UPDATE' definition
>> is
>> > mark
>> > ed dllimport
>>
>> Weird. In Emotion.h the declaration for the variable has EAPI? I would
>> have expected to give the same warnings as below, not an error.
>> But well, there's not much more I can do without a build environment, and
>> I can't set up one now.
>>
>> > emotion_main.c:103:1: warning:
>> 'emotion_object_extension_may_play_fast_get'
>> > alre
>> > ady declared with dllexport attribute: dllimport ignored [-Wattributes]
>> > emotion_main.c:110:1: warning: 'emotion_object_extension_may_play_get'
>> > already d
>> > eclared with dllexport attribute: dllimport ignored [-Wattributes]
>> > emotion_main.c:305:1: warning: 'emotion_init' already declared with
>> > dllexport at
>> > tribute: dllimport ignored [-Wattributes]
>> > emotion_main.c:347:1: warning: 'emotion_shutdown' already declared with
>> > dllexpor
>> > t attribute: dllimport ignored [-Wattributes]
>> > emotion_main.c:382:1: warning: 'emotion_webcams_get' already declared
>> with
>> > dllex
>> > port attribute: dllimport ignored [-Wattributes]
>> > emotion_main.c:388:1: warning: 'emotion_webcam_name_get' already declared
>> > with d
>> > llexport attribute: dllimport ignored [-Wattributes]
>> > emotion_main.c:396:1: warning: 'emotion_webcam_device_get' already
>> declared
>> > with
>> >  dllexport attribute: dllimport ignored [-Wattributes]
>> > emotion_main.c:404:1: warning: 'emotion_webcam_custom_get' already
>> declared
>> > with
>> >  dllexport attribute: dllimport ignored [-Wattributes]
>> >
>> >
>> >
>> >
>> > On Wed, Dec 28, 2011 at 9:21 PM, Iván Briano (Sachiel)
>> > <sachi...@gmail.com>wrote:
>> >
>> >> 2011/12/28 Mohammed Azharudin <az...@emo2.com>:
>> >> > Oops.
>> >> >
>> >> > Its actually this:
>> >> >
>> >> >
>> >> >
>> >>
>> ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
>> >> > # This patch file was generated by NetBeans IDE
>> >> > # It uses platform neutral UTF-8 encoding and \n newlines.
>> >> > --- H:\Documents and
>> Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
>> >> > +++
>> >> H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
>> >> > @@ -16,7 +16,7 @@
>> >> >
>> >> >  #include <Eet.h>
>> >> >
>> >> > -EAPI int EMOTION_WEBCAM_UPDATE = 0;
>> >> > +int EMOTION_WEBCAM_UPDATE = 0;
>> >> >
>> >>
>> >> Updating Emotion and not removing EAPI still gives an error?
>> >> EAPI should not be removed, it's telling the compiler that that symbol
>> >> will be exported so programs linking to the library can find it.
>> >>
>> >> >  struct ext_match_s
>> >> >  {
>> >> >
>> >> >
>> >>
>> ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
>> >> >
>> >> >
>> >> > After applying this patch the webcam errors are gone and compilation
>> >> moves
>> >> > on till this error is encountered.
>> >> > I tried removing include emotion.h as suggested from emotion_xine.c.
>> No
>> >> > change.
>> >> >
>> >> > I still get:
>> >> >
>> >> >  CC     xine_la-emotion_xine.lo
>> >> > In file included from emotion_xine.h:4:0,
>> >> >                 from emotion_xine.c:2:
>> >> > H:/MinGW/msys/1.0/include/xine.h:2265:1: warning: 'xine_tvsystem' is
>> >> > deprecated
>> >> > (declared at H:/MinGW/msys/1.0/include/xine.h:2253)
>> >> > [-Wdeprecated-declarations]
>> >> > emotion_xine.c:1609:1: error: variable '__eina_module_init'
>> definition is
>> >> > marked
>> >> >  dllimport
>> >> > emotion_xine.c:1610:1: error: variable '__eina_module_shutdown'
>> >> definition
>> >> > is ma
>> >> > rked dllimport
>> >> > make[4]: *** [xine_la-emotion_xine.lo] Error 1
>> >> > make[4]: Leaving directory
>> >> `/home/emo2/emotion-0.2.0.65643/src/modules/xine'
>> >> > make[3]: *** [all-recursive] Error 1
>> >> > make[3]: Leaving directory
>> `/home/emo2/emotion-0.2.0.65643/src/modules'
>> >> > make[2]: *** [all-recursive] Error 1
>> >> > make[2]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src'
>> >> > make[1]: *** [all-recursive] Error 1
>> >> > make[1]: Leaving directory `/home/emo2/emotion-0.2.0.65643'
>> >> > make: *** [all] Error 2
>> >> >
>> >>
>> >> Another fix went in for that, I think.
>> >>
>> >> > Regards
>> >> > Azhar
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > On Wed, Dec 28, 2011 at 8:58 PM, Iván Briano (Sachiel)
>> >> > <sachi...@gmail.com>wrote:
>> >> >
>> >> >> 2011/12/28 Mohammed Azharudin <az...@emo2.com>:
>> >> >> > Thanks Ivan,
>> >> >> >
>> >> >> > I tried your change along with one more change from my end.
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >>
>> ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
>> >> >> > # This patch file was generated by NetBeans IDE
>> >> >> > # It uses platform neutral UTF-8 encoding and \n newlines.
>> >> >> > ---
>> >> >>
>> H:\MinGW\msys\1.0\home\emo2\emotion-0.2.0.65643\src\lib\emotion_main.c
>> >> >> > +++ H:\Documents and
>> >> Settings\emo2\Desktop\emotion\src\lib\emotion_main.c
>> >> >> > @@ -16,7 +16,7 @@
>> >> >> >
>> >> >> >  #include <Eet.h>
>> >> >> >
>> >> >> > -int EMOTION_WEBCAM_UPDATE = 0;
>> >> >> > +EAPI int EMOTION_WEBCAM_UPDATE = 0;
>> >> >> >
>> >> >>
>> >> >> What's this? I see in SVN that EAPI is already there.
>> >> >>
>> >> >> >  struct ext_match_s
>> >> >> >  {
>> >> >> >
>> >> >>
>> >>
>> //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
>> >> >> >
>> >> >> >
>> >> >> > and now I am getting a similar error as follows. Question is -
>> should
>> >> I
>> >> >> > continue remove EAPI from variable declarations?
>> >> >> >
>> >> >> >
>> >> >> >  CC     xine_la-emotion_xine.lo
>> >> >> > In file included from emotion_xine.h:4:0,
>> >> >> >                 from emotion_xine.c:3:
>> >> >> > H:/MinGW/msys/1.0/include/xine.h:2265:1: warning: 'xine_tvsystem'
>> is
>> >> >> > deprecated
>> >> >> > (declared at H:/MinGW/msys/1.0/include/xine.h:2253)
>> >> >> > [-Wdeprecated-declarations]
>> >> >> > emotion_xine.c:1610:1: error: variable '__eina_module_init'
>> >> definition is
>> >> >> > marked
>> >> >> >  dllimport
>> >> >> > emotion_xine.c:1611:1: error: variable '__eina_module_shutdown'
>> >> >> definition
>> >> >> > is ma
>> >> >> > rked dllimport
>> >> >> > make[4]: *** [xine_la-emotion_xine.lo] Error 1
>> >> >> > make[4]: Leaving directory
>> >> >> `/home/emo2/emotion-0.2.0.65643/src/modules/xine'
>> >> >> > make[3]: *** [all-recursive] Error 1
>> >> >> > make[3]: Leaving directory
>> >> `/home/emo2/emotion-0.2.0.65643/src/modules'
>> >> >> > make[2]: *** [all-recursive] Error 1
>> >> >> > make[2]: Leaving directory `/home/emo2/emotion-0.2.0.65643/src'
>> >> >> > make[1]: *** [all-recursive] Error 1
>> >> >> > make[1]: Leaving directory `/home/emo2/emotion-0.2.0.65643'
>> >> >> > make: *** [all] Error 2
>> >> >> >
>> >> >>
>> >> >> Try removing the include Emotion.h from emotion_xine.c
>> >> >>
>> >> >> > Regards
>> >> >> > Azhar
>> >> >>
>> >> >>
>> >> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> >> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a
>> >> complex
>> >> >> infrastructure or vast IT resources to deliver seamless, secure
>> access
>> >> to
>> >> >> virtual desktops. With this all-in-one solution, easily deploy
>> virtual
>> >> >> desktops for less than the cost of PCs and save 60% on VDI
>> >> infrastructure
>> >> >> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
>> >> >> _______________________________________________
>> >> >> enlightenment-devel mailing list
>> >> >> enlightenment-devel@lists.sourceforge.net
>> >> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>> >> >>
>> >> >
>> >>
>> ------------------------------------------------------------------------------
>> >> > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a
>> complex
>> >> > infrastructure or vast IT resources to deliver seamless, secure
>> access to
>> >> > virtual desktops. With this all-in-one solution, easily deploy virtual
>> >> > desktops for less than the cost of PCs and save 60% on VDI
>> infrastructure
>> >> > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
>> >> > _______________________________________________
>> >> > enlightenment-devel mailing list
>> >> > enlightenment-devel@lists.sourceforge.net
>> >> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>> >>
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a
>> complex
>> >> infrastructure or vast IT resources to deliver seamless, secure access
>> to
>> >> virtual desktops. With this all-in-one solution, easily deploy virtual
>> >> desktops for less than the cost of PCs and save 60% on VDI
>> infrastructure
>> >> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
>> >> _______________________________________________
>> >> enlightenment-devel mailing list
>> >> enlightenment-devel@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>> >>
>> >
>> ------------------------------------------------------------------------------
>> > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
>> > infrastructure or vast IT resources to deliver seamless, secure access to
>> > virtual desktops. With this all-in-one solution, easily deploy virtual
>> > desktops for less than the cost of PCs and save 60% on VDI infrastructure
>> > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
>> > _______________________________________________
>> > enlightenment-devel mailing list
>> > enlightenment-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>>
>> ------------------------------------------------------------------------------
>> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
>> infrastructure or vast IT resources to deliver seamless, secure access to
>> virtual desktops. With this all-in-one solution, easily deploy virtual
>> desktops for less than the cost of PCs and save 60% on VDI infrastructure
>> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
>> _______________________________________________
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to