libdvdread-0.9.4 and OSX

Robos <[email protected]> Thu, 12 Jun 2003 17:22:15 +0200
Newsgroups gmane.comp.video.ogle.devel
Message-ID <[email protected]>
Hi List.
I#m new to this list but looked through the archive and didn't find my
question:
I am the author of vobcopy which uses libdvdread. I want to port it to Mac
OSX since I saw that it is already in fink but I wanted a native port.
Soo, I installed libdvdcss and then link libdvdread statically to css.
When I then try to build my program this error occurs:

/usr/local/include//dvdread/ifo_types.h:139: illegal structure syntax, found
__attribute__'
/usr/local/include//dvdread/ifo_types.h:147: syntax error, missing ;' after
mode'
/usr/local/include//dvdread/ifo_types.h:148: syntax error, missing ;' after
mc_intro'
/usr/local/include//dvdread/ifo_types.h:149: syntax error, missing ;' after
version'
/usr/local/include//dvdread/ifo_types.h:150: syntax error, missing ;' after
channel_assignment'
/usr/local/include//dvdread/ifo_types.h:151: syntax error, missing ;' after
unknown4'
/usr/local/include//dvdread/ifo_types.h:153: undefined type, found karaoke'
/usr/local/include//dvdread/ifo_types.h:154: illegal structure syntax, found
__attribute__'
/usr/local/include//dvdread/ifo_types.h:160: syntax error, missing ;' after
unknown6'
/usr/local/include//dvdread/ifo_types.h:161: syntax error, missing ;' after
dolby_encoded'
/usr/local/include//dvdread/ifo_types.h:162: syntax error, missing ;' after
unknown5'
/usr/local/include//dvdread/ifo_types.h:164: undefined type, found surround'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic
mode
make: *** [vobcopy.o] Error 1

To be honest, I'm not much of a programmer so I don't know whats wrong.
I can't do much testing since the machine is of a friend of mine and I only
get it sometimes.
If somebody knows how to fix this I'll be thankful.
Cheers
Robos

-- 
Robos - 
gpg --recv-keys --keyserver blackhole.pca.dfn.de 6EEADA09
It's GNU/Linux dammit! F U M $ !