Undeclare function when compiling the Macos VM

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Undeclare function when compiling the Macos VM

Mathieu Suen-2
 
Hi,

I have update the svn source code of the VM and now when I compile I  
have  some undeclared function:

/Users/mathk/Documents/Squeak/squeak-Encapsulation/platforms/Mac OS/
plugins/SoundPlugin/sqUnixSoundMacOSXJMM.c:1140: error:  
'sound_GetSwitch' undeclared here (not in a function)
/Users/mathk/Documents/Squeak/squeak-Encapsulation/platforms/Mac OS/
plugins/SoundPlugin/sqUnixSoundMacOSXJMM.c:1140: error:  
'sound_SetSwitch' undeclared here (not in a function)
/Users/mathk/Documents/Squeak/squeak-Encapsulation/platforms/Mac OS/
plugins/SoundPlugin/sqUnixSoundMacOSXJMM.c:1140: error:  
'sound_SetDevice' undeclared here (not in a function)

I am using XCode 3.1 to compile the VM. And before the update  
everything work fine
Any Idea?
Thanks

        Mth

       

       
               
___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com

Reply | Threaded
Open this post in threaded view
|

Re: Undeclare function when compiling the Macos VM

Bert Freudenberg


Am 05.09.2008 um 11:46 schrieb Mathieu Suen:

> Hi,
>
> I have update the svn source code of the VM and now when I compile I  
> have  some undeclared function:
>
> /Users/mathk/Documents/Squeak/squeak-Encapsulation/platforms/Mac OS/
> plugins/SoundPlugin/sqUnixSoundMacOSXJMM.c:1140: error:  
> 'sound_GetSwitch' undeclared here (not in a function)
> /Users/mathk/Documents/Squeak/squeak-Encapsulation/platforms/Mac OS/
> plugins/SoundPlugin/sqUnixSoundMacOSXJMM.c:1140: error:  
> 'sound_SetSwitch' undeclared here (not in a function)
> /Users/mathk/Documents/Squeak/squeak-Encapsulation/platforms/Mac OS/
> plugins/SoundPlugin/sqUnixSoundMacOSXJMM.c:1140: error:  
> 'sound_SetDevice' undeclared here (not in a function)
>
> I am using XCode 3.1 to compile the VM. And before the update  
> everything work fine
> Any Idea?
> Thanks
>
> Mth
>
>
>
>
>
> ___________________________________________________________________________Yahoo
> ! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son  
> interface révolutionnaire.
> http://fr.mail.yahoo.com
>

- Bert -


Reply | Threaded
Open this post in threaded view
|

Re: Undeclare function when compiling the Macos VM

Bert Freudenberg
In reply to this post by Mathieu Suen-2
 

Am 05.09.2008 um 11:46 schrieb Mathieu Suen:

> Hi,
>
> I have update the svn source code of the VM and now when I compile I  
> have  some undeclared function:
>
> /Users/mathk/Documents/Squeak/squeak-Encapsulation/platforms/Mac OS/
> plugins/SoundPlugin/sqUnixSoundMacOSXJMM.c:1140: error:  
> 'sound_GetSwitch' undeclared here (not in a function)
> /Users/mathk/Documents/Squeak/squeak-Encapsulation/platforms/Mac OS/
> plugins/SoundPlugin/sqUnixSoundMacOSXJMM.c:1140: error:  
> 'sound_SetSwitch' undeclared here (not in a function)
> /Users/mathk/Documents/Squeak/squeak-Encapsulation/platforms/Mac OS/
> plugins/SoundPlugin/sqUnixSoundMacOSXJMM.c:1140: error:  
> 'sound_SetDevice' undeclared here (not in a function)


These are three new mixer functions. Probably you need stubs for them:

http://squeakvm.org/svn/squeak/trunk/platforms/unix/vm-sound-MacOSX/sqUnixSoundMacOSX.c

- Bert -


Reply | Threaded
Open this post in threaded view
|

Re: Undeclare function when compiling the Macos VM

Mathieu SUEN
 

On Sep 5, 2008, at 3:07 PM, Bert Freudenberg wrote:

>
> Am 05.09.2008 um 11:46 schrieb Mathieu Suen:
>
>> Hi,
>>
>> I have update the svn source code of the VM and now when I compile  
>> I have  some undeclared function:
>>
>> /Users/mathk/Documents/Squeak/squeak-Encapsulation/platforms/Mac OS/
>> plugins/SoundPlugin/sqUnixSoundMacOSXJMM.c:1140: error:  
>> 'sound_GetSwitch' undeclared here (not in a function)
>> /Users/mathk/Documents/Squeak/squeak-Encapsulation/platforms/Mac OS/
>> plugins/SoundPlugin/sqUnixSoundMacOSXJMM.c:1140: error:  
>> 'sound_SetSwitch' undeclared here (not in a function)
>> /Users/mathk/Documents/Squeak/squeak-Encapsulation/platforms/Mac OS/
>> plugins/SoundPlugin/sqUnixSoundMacOSXJMM.c:1140: error:  
>> 'sound_SetDevice' undeclared here (not in a function)
>
>
> These are three new mixer functions. Probably you need stubs for them:
>
> http://squeakvm.org/svn/squeak/trunk/platforms/unix/vm-sound-MacOSX/sqUnixSoundMacOSX.c
>
> - Bert -
>
>


Yes adding the stub worked for me.
thanks

        Mth