compilation on x86_64 linux

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

compilation on x86_64 linux

Laurent Sebag
 
Hi,

I've installed squeak on my x86_64 linux but I have some problems :

 - during the compilation there are many warnings like :
/home/user/squeak/install/src/svn/squeak-svn_install/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/video/mpeg3video.c:270:
warning: cast to pointer from integer of different size

 - and when I'm using squeak it frequently hangs with a segmentation
fault (it hangs every time squeak has to play a sound) :
/home/user/squeak/install/src/squeak-svn/platforms/unix/vm-sound-custom/sqUnixCustomSound.c:57
sound_Stop
/home/user/squeak/install/src/squeak-svn/platforms/unix/vm-sound-custom/sqUnixCustomSound.c:51
sound_Start
/home/user/squeak/install/src/squeak-svn/platforms/unix/vm-sound-custom/sqUnixCustomSound.c:27
sound_AvailableSpace

Segmentation fault

29753028 [] in >playLoop
29753120 [] in Semaphore>critical:
29752844 BlockContext>ensure:
29752660 Semaphore>critical:
29720144 >playLoop
29719960 [] in >startPlayerProcessBufferSize:rate:stereo:sound:
29720052 [] in BlockContext>newProcess
Aborted

Anybody can help ?

Laurent

Reply | Threaded
Open this post in threaded view
|

Re: compilation on x86_64 linux

Philippe Marschall
 
2008/1/13, Laurent Sebag <[hidden email]>:
>
> Hi,
>
> I've installed squeak on my x86_64 linux but I have some problems :
>
>  - during the compilation there are many warnings like :
> /home/user/squeak/install/src/svn/squeak-svn_install/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/video/mpeg3video.c:270:
> warning: cast to pointer from integer of different size

I would say this simply means the Mpeg3Plugin like many others is not
64bit ready.

Cheers
Philippe

>  - and when I'm using squeak it frequently hangs with a segmentation
> fault (it hangs every time squeak has to play a sound) :
> /home/user/squeak/install/src/squeak-svn/platforms/unix/vm-sound-custom/sqUnixCustomSound.c:57
> sound_Stop
> /home/user/squeak/install/src/squeak-svn/platforms/unix/vm-sound-custom/sqUnixCustomSound.c:51
> sound_Start
> /home/user/squeak/install/src/squeak-svn/platforms/unix/vm-sound-custom/sqUnixCustomSound.c:27
> sound_AvailableSpace
>
> Segmentation fault
>
> 29753028 [] in >playLoop
> 29753120 [] in Semaphore>critical:
> 29752844 BlockContext>ensure:
> 29752660 Semaphore>critical:
> 29720144 >playLoop
> 29719960 [] in >startPlayerProcessBufferSize:rate:stereo:sound:
> 29720052 [] in BlockContext>newProcess
> Aborted
>
> Anybody can help ?
>
> Laurent
>
>
Reply | Threaded
Open this post in threaded view
|

Re: compilation on x86_64 linux

David T. Lewis
In reply to this post by Laurent Sebag
 
On Sun, Jan 13, 2008 at 02:18:36PM +0100, Laurent Sebag wrote:

>
> Hi,
>
> I've installed squeak on my x86_64 linux but I have some problems :
>
> - during the compilation there are many warnings like :
> /home/user/squeak/install/src/svn/squeak-svn_install/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/video/mpeg3video.c:270:
> warning: cast to pointer from integer of different size
>
> - and when I'm using squeak it frequently hangs with a segmentation
> fault (it hangs every time squeak has to play a sound) :
> /home/user/squeak/install/src/squeak-svn/platforms/unix/vm-sound-custom/sqUnixCustomSound.c:57
> sound_Stop
> /home/user/squeak/install/src/squeak-svn/platforms/unix/vm-sound-custom/sqUnixCustomSound.c:51
> sound_Start
> /home/user/squeak/install/src/squeak-svn/platforms/unix/vm-sound-custom/sqUnixCustomSound.c:27
> sound_AvailableSpace
>
> Segmentation fault
>
> 29753028 [] in >playLoop
> 29753120 [] in Semaphore>critical:
> 29752844 BlockContext>ensure:
> 29752660 Semaphore>critical:
> 29720144 >playLoop
> 29719960 [] in >startPlayerProcessBufferSize:rate:stereo:sound:
> 29720052 [] in BlockContext>newProcess
> Aborted
>
> Anybody can help ?
>
> Laurent

These should help:

http://lists.squeakfoundation.org/pipermail/vm-dev/2007-December/001703.html
http://www.squeakvm.org/squeak64/faq.html

However, as far as I know the mpeg plugin has not yet received any attention
on 64 bit unix, so it probably does not work. The sqUnixCustomSound.c file is
part of the unix VM (not the mpeg plugin), so it may have issues also.

Dave

Reply | Threaded
Open this post in threaded view
|

Re: compilation on x86_64 linux

Philippe Marschall
 
2008/1/13, David T. Lewis <[hidden email]>:

>
> On Sun, Jan 13, 2008 at 02:18:36PM +0100, Laurent Sebag wrote:
> >
> > Hi,
> >
> > I've installed squeak on my x86_64 linux but I have some problems :
> >
> > - during the compilation there are many warnings like :
> > /home/user/squeak/install/src/svn/squeak-svn_install/platforms/Cross/plugins/Mpeg3Plugin/libmpeg/video/mpeg3video.c:270:
> > warning: cast to pointer from integer of different size
> >
> > - and when I'm using squeak it frequently hangs with a segmentation
> > fault (it hangs every time squeak has to play a sound) :
> > /home/user/squeak/install/src/squeak-svn/platforms/unix/vm-sound-custom/sqUnixCustomSound.c:57
> > sound_Stop
> > /home/user/squeak/install/src/squeak-svn/platforms/unix/vm-sound-custom/sqUnixCustomSound.c:51
> > sound_Start
> > /home/user/squeak/install/src/squeak-svn/platforms/unix/vm-sound-custom/sqUnixCustomSound.c:27
> > sound_AvailableSpace
> >
> > Segmentation fault
> >
> > 29753028 [] in >playLoop
> > 29753120 [] in Semaphore>critical:
> > 29752844 BlockContext>ensure:
> > 29752660 Semaphore>critical:
> > 29720144 >playLoop
> > 29719960 [] in >startPlayerProcessBufferSize:rate:stereo:sound:
> > 29720052 [] in BlockContext>newProcess
> > Aborted
> >
> > Anybody can help ?
> >
> > Laurent
>
> These should help:
>
> http://lists.squeakfoundation.org/pipermail/vm-dev/2007-December/001703.html
> http://www.squeakvm.org/squeak64/faq.html
>
> However, as far as I know the mpeg plugin has not yet received any attention
> on 64 bit unix, so it probably does not work. The sqUnixCustomSound.c file is
> part of the unix VM (not the mpeg plugin), so it may have issues also.

Hi

Is there any work going on to integrate all these patches?

Cheers
Philippe
Reply | Threaded
Open this post in threaded view
|

Re: compilation on x86_64 linux

David T. Lewis
 
On Sun, Jan 13, 2008 at 04:31:11PM +0100, Philippe Marschall wrote:

> > >
> > > Anybody can help ?
> > >
> > > Laurent
> >
> > These should help:
> >
> > http://lists.squeakfoundation.org/pipermail/vm-dev/2007-December/001703.html
> > http://www.squeakvm.org/squeak64/faq.html
> >
> > However, as far as I know the mpeg plugin has not yet received any attention
> > on 64 bit unix, so it probably does not work. The sqUnixCustomSound.c file is
> > part of the unix VM (not the mpeg plugin), so it may have issues also.
>
> Hi
>
> Is there any work going on to integrate all these patches?

I think the answer is yes, but I don't know the status.

Dave