Re: compile error under sol9
"Vincent S. Cojot" <[email protected]>
| Newsgroups | gmane.comp.video.ogle.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Joe, Are you using MediaLib 2.2, per chance? Is the error below the only error you are getting? I was getting that error (and many others) with MediaLib-2.2 under Solaris 8 and I solved it by doing this: 1) cd into /opt/SUNWmlib 2) rm the 'include' link. 3) replace the above with an 'include' directory (as in 'mkdir /opt/SUNWmlib/include). 4) cd /opt/SUNWmlib/include 5) ln -s /usr/include/mlib*.h /opt/SUNWmlib/include The problem appears to be that /opt/SUNWmlib/include is in fact /usr/include if you installed the 'links' package (SUNWmlibk, I think). Vincent > 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? > > _______________________________________________ > Ogle-user mailing list > [email protected] > http://lists.berlios.de/mailman/listinfo/ogle-user