[vlc-devel] vlc build error.

Bimith M P bimith at tataelxsi.co.in
Thu Sep 25 10:15:55 CEST 2008


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080925/cf484d15/attachment.html>


More information about the vlc-devel mailing list