compile error under sol9

Joe Reid <[email protected]>
Newsgroups gmane.comp.video.ogle.user
Message-ID <[email protected]>
I'm trying to get ogle compiled under Sol9 and am getting this error 
compiling mpeg2_video/video_stream.c

In file included from ../ogle/msgevents.h:26,
                  from video_stream.c:48:
../ogle/dvdevents.h:145: `PATH_MAX' undeclared here (not in a function)
../ogle/dvdevents.h:146: confused by earlier errors, bailing out


Here's the command from make:
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogle\" 
-DVERSION=\"0.9.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 
-Dinline=__attribute__\ \(\(__always_inline__\)\) -DHAVE_SYS_PARAM_H=1 
-DHAVE_STROPTS_H=1 -DHAVE_XSHM=1 -DUSE_SOLARIS_XMU=1 
-DHAVE_CLOCK_GETTIME=1 -DHAVE_MADVISE=1 -DHAVE_MLIB=1 -DLIBOGLEAO_NULL= 
-DLIBOGLEAO_SOLARIS= -DHAVE_XML=1 
-DCONFIG_FILE=\"/usr/local/share/ogle/oglerc\" -DUSE_SPARCASM=1  -I. -I. 
-I.. -I../include  -I/usr/openwin/include -I/opt/SUNWmlib/include 
-I/usr/local/include -I/usr/local/include/libxml2    -g -O2 -Wall 
-mcpu=ultrasparc -mvis -c `test -f 'video_stream.c' || echo 
'./'`video_stream.c


-- 
Joe Reid
[email protected]
Tactical Solaris Systems Engineering and Administration
http://www.singlewhitemale.net
?c=a=rb=sc=fd=te=wf=zg=porh=n?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.