Compile Error: Syntax Error

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Erebus
New user
Posts: 2
Joined: 10 Apr 2008, 00:19

Compile Error: Syntax Error

Post by Erebus »

Hello, I need some help.
I am running a 64 bit version of SimplyMEPIS and get this error:

Code: Select all

cdaudio.c:124: error: syntax error before 'ogg_int64_t'
make[3]: *** [cdaudio.o] Error 1
I have ogg-dev installed and i still get the error.
the contents of the file it mentions:

Code: Select all

//*
//
// cdAudio Subclass procedure

size_t wz_ogg_read( void *ptr, size_t size, size_t nmemb, void *datasource )
{
	return (PHYSFS_sint64)PHYSFS_read( (PHYSFS_file*)datasource, ptr, (PHYSFS_uint32)size, (PHYSFS_uint32)nmemb );
}
int wz_ogg_seek( void *datasource, ogg_int64_t offset, int whence )
{
	return -1;
}

int wz_ogg_close( void *datasource )
{
	return PHYSFS_close( (PHYSFS_file*)datasource );
}
Any help will be appreciated!
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Compile Error: Syntax Error

Post by Buginator »

Download the latest version of ogg, looks like your distro has some really old stuff...

It is in the header files of 1.1.3.
and it ends here.
Erebus
New user
Posts: 2
Joined: 10 Apr 2008, 00:19

Re: Compile Error: Syntax Error

Post by Erebus »

I am looking to change distros.

which should i chose:
Gentoo or Slackware?
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Compile Error: Syntax Error

Post by Buginator »

Erebus wrote: I am looking to change distros.

which should i chose:
Gentoo or Slackware?
Use Vista!

Oh wait, you don't want to downgrade( ;D), so out of those, I guess Gentoo.
I know at least one of the devs use that.

Others are using debian and something else which I forgot.
and it ends here.