[devel] rss_glx-0.8.1-alt2: i586 rebuild failed [1]

Valery V. Inozemtsev =?iso-8859-1?q?shrek_=CE=C1_altlinux=2Eru?=
Вс Ноя 9 18:57:39 MSK 2008


On Sunday 09 November 2008 18:45:49 Alexey I. Froloff wrote:
> * Alexey I. Froloff <raorn@> [081109 18:42]:
> > In file included from /usr/include/AL/alut.h:12,
> >                  from skyrocket_sound.cpp:26:
> > /usr/include/AL/alc.h:190: error: '<anonymous>' has incomplete type
> > /usr/include/AL/alc.h:190: error: invalid use of 'ALCvoid'
> > /usr/include/AL/alc.h:251: error: '<anonymous>' has incomplete type
> > /usr/include/AL/alc.h:251: error: invalid use of 'ALCvoid'
>
> $ grep -rn ALCvoid /usr/include/AL/alc.h
> 85:typedef void ALCvoid;
> 190:ALC_API ALCcontext *    ALC_APIENTRY alcGetCurrentContext( ALCvoid );
> 241:ALC_API void            ALC_APIENTRY alcCaptureSamples( ALCdevice
> *device, ALCvoid *buffer, ALCsizei samples ); 251:typedef ALCcontext *  
> (ALC_APIENTRY *LPALCGETCURRENTCONTEXT)( ALCvoid ); 265:typedef void        
>   (ALC_APIENTRY *LPALCCAPTURESAMPLES)( ALCdevice *device, ALCvoid *buffer,
> ALCsizei samples );
>
> Может надо что-то повесить на OpenAL?

--- portable.orign/common/include/AL/alc.h	2006-01-31 11:49:20.000000000 +0100
+++ portable/common/include/AL/alc.h	2008-01-04 15:02:31.000000000 +0100
@@ -187,7 +187,7 @@ ALC_API void            ALC_APIENTRY alc
 
 ALC_API void            ALC_APIENTRY alcDestroyContext( ALCcontext *context );
 
-ALC_API ALCcontext *    ALC_APIENTRY alcGetCurrentContext( ALCvoid );
+ALC_API ALCcontext *    ALC_APIENTRY alcGetCurrentContext( void );
 
 ALC_API ALCdevice*      ALC_APIENTRY alcGetContextsDevice( ALCcontext *context );
 
@@ -248,7 +248,7 @@ typedef ALCboolean     (ALC_APIENTRY *LP
 typedef void           (ALC_APIENTRY *LPALCPROCESSCONTEXT)( ALCcontext *context );
 typedef void           (ALC_APIENTRY *LPALCSUSPENDCONTEXT)( ALCcontext *context );
 typedef void           (ALC_APIENTRY *LPALCDESTROYCONTEXT)( ALCcontext *context );
-typedef ALCcontext *   (ALC_APIENTRY *LPALCGETCURRENTCONTEXT)( ALCvoid );
+typedef ALCcontext *   (ALC_APIENTRY *LPALCGETCURRENTCONTEXT)( void );
 typedef ALCdevice *    (ALC_APIENTRY *LPALCGETCONTEXTSDEVICE)( ALCcontext *context );
 typedef ALCdevice *    (ALC_APIENTRY *LPALCOPENDEVICE)( const ALCchar *devicename );
 typedef ALCboolean     (ALC_APIENTRY *LPALCCLOSEDEVICE)( ALCdevice *device );

-- 
Valery V. Inozemtsev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.altlinux.org/pipermail/devel/attachments/20081109/90895b06/attachment.bin>


Подробная информация о списке рассылки Devel