[vlc-devel] vlc build error.

jboileau jboileau at gmail.com
Thu Sep 25 13:28:01 CEST 2008


I was succesful at building them after adding this new QT4 contrib provided
by Jean-Baptiste Kempf in a previous email to this list.

http://download.videolan.org/pub/videolan/testing/contrib/qt4-4.4.1-win32-bin.tar.bz2

Jacques Boileau


On Thu, Sep 25, 2008 at 7:03 AM, Kaarlo Räihä <agent_007 at luukku.com> wrote:

> http://forum.videolan.org/viewtopic.php?f=14&t=50360
>
> Bimith M P kirjoitti 25.09.2008 kello 11:15:
>  > Hi,
> >
> > I am trying to build vlc version 0.9.2 for windows using cygwin as
> >  per the
> > direction given in the vls website. While compiling i got the following
> > error. Please help me to solve this error.
> >
> >
> /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1663
> > : error: declaration of C function `LONG
> > InterlockedCompareExchange(volatile LONG*,LONG, LONG)' conflicts with
> > /usr/win32/include/qt4/QtCore/../src/corelib/arch/qatomic_windows.h:194:
> > error: previous declaration `long int
> >  InterlockedCompareExchange(long int*,
> > long int, long int)' here
> >
> /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1667
> > : error: declaration of C function `LONG InterlockedDecrement(volatile
> > LONG*)' conflicts with
> > /usr/win32/include/qt4/QtCore/../src/corelib/arch/qatomic_windows.h:196:
> > error:previous declaration `long int InterlockedDecrement(long
> >  int*)' here
> >
> /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1668
> > : error: declaration of C function `LONG InterlockedExchange(volatile
> > LONG*, LONG)'conflicts with
> > /usr/win32/include/qt4/QtCore/../src/corelib/arch/qatomic_windows.h:197:
> > error:previous declaration `long int InterlockedExchange(long int*, long
> > int)' here
> >
> /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1672
> > : error: declaration of C function `LONG InterlockedExchangeAdd(volatile
> > LONG*, LONG)' conflicts with
> > /usr/win32/include/qt4/QtCore/../src/corelib/arch/qatomic_windows.h:198:
> > error:previous declaration `long int InterlockedExchangeAdd(long
> >  int*, long
> > int)' here
> >
> /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/winbase.h:1676
> > : error: declaration of C function `LONG InterlockedIncrement(volatile
> > LONG*)' conflicts with
> > /usr/win32/include/qt4/QtCore/../src/corelib/arch/qatomic_windows.h:195:
> > error:
> > previous declaration `long int InterlockedIncrement(long int*)' here
> > In file included from ../../../include/vlc_common.h:512,
> >                  from qt4.hpp:32,
> >                  from qt4.cpp:37:
> > ../../../include/vlc_mtime.h:84: warning: `error' attribute directive
> > ignored
> > ../../../include/vlc_mtime.h:94: warning: `warning' attribute directive
> > ignored
> > ../../../include/vlc_mtime.h:112: warning: `error' attribute directive
> > ignored
> > In file included from ../../../include/vlc_common.h:894,
> >                  from qt4.hpp:32,
> >                  from qt4.cpp:37:
> > ../../../include/vlc_variables.h:143: warning: `error' attribute
> >  directive
> > ignor
> > ed
> > make[6]: *** [libqt4_plugin_la-qt4.lo] Error 1
> > make[6]: Leaving directory
> >  `/cygdrive/d/marlin_demo/VLC/vlc/modules/gui/qt4'
> > make[5]: *** [all] Error 2
> > make[5]: Leaving directory
> >  `/cygdrive/d/marlin_demo/VLC/vlc/modules/gui/qt4'
> > make[4]: *** [all-recursive] Error 1
> > make[4]: Leaving directory `/cygdrive/d/marlin_demo/VLC/vlc/modules/gui'
> > make[3]: *** [all] Error 2
> > make[3]: Leaving directory `/cygdrive/d/marlin_demo/VLC/vlc/modules/gui'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/cygdrive/d/marlin_demo/VLC/vlc/modules'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/cygdrive/d/marlin_demo/VLC/vlc'
> > make: *** [all] Error 2
> >
> >
> > Thanks ,
> > Bimith.
> >
> > This message (including any attachment) is confidential and may be
> >  legally
> > privileged.  Access to this message by anyone other than the intended
> > recipient(s) listed above is unauthorized.  If you are not the intended
> > recipient you are hereby notified that any disclosure, copying, or
> > distribution of the message, or any action taken or omission of
> >  action by
> > you in reliance upon it, is prohibited and may be unlawful.  Please
> > immediately notify the sender by reply e-mail and permanently delete all
> > copies of the message if you have received this message in error.
>
>
> ...................................................................
> Luukku Plus paketilla pääset eroon tila- ja turvallisuusongelmista.
> Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080925/1367f1fe/attachment.html>


More information about the vlc-devel mailing list