[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Help with install: previous declaration of `pause'



Thanks for the response. The cvs tarball gave me the following result though:

gcc -shared build/temp.linux-i686-2.2/surfarray.o -L/usr/lib -lSDL -lpthread 
-o build/lib.linux-i686-2.2/pygame/surfarray.so -Wl,-rpath,/usr/lib
building 'pygame.sndarray' extension
error: file 'src/sndarray.c' does not exist

-- Stephen

On Saturday 04 May 2002 12:14 pm, Pete Shinners wrote:
> Stephen Boulet wrote:
> > Any help with the following:
> >
> > gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -D_REENTRANT
> > -I/usr/include/SDL -I/usr/include/SDL -I/usr/include/SDL
> > -I/usr/include/python2.2 -c src/mixer.c -o
> > build/temp.linux-i686-2.2/mixer.o src/mixer.c:930: conflicting types for
> > `pause'
> > /usr/include/unistd.h:389: previous declaration of `pause'
> > error: command 'gcc' failed with exit status 1
> >
> > I'm trying to compile pygame-1.4-1.src.rpm. I've already installed:
>
> stephen, this has been fixed in the latest cvs code. you can grab a
> snapshot of it here. http://pygame.org/ftp/pygame-cvs.tar.gz
>
> btw, pygame doesn't need any of the SDL_net stuff, but it won't hurt
> that you already have it. the source will install pretty easily for you,
> it shouldn't be any more work than using a source rpm.
>
> ____________________________________
> pygame mailing list
> pygame-users@seul.org
> http://pygame.seul.org

____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org