Sun compiler & Solaris x86

Jake Goerzen <[email protected]>
Newsgroups gmane.comp.video.ogle.user
Message-ID <[email protected]>
While trying to compile ogle-0.9.2 with Sun's compiler on x86, make fails
with:

cc -g -o .libs/ogle_mpeg_vs video_stream.o video_mpeg1.o video_mpeg2.o
video_motion.o c_getbits.o video_tables.o yuv2rgb_mlib.o
-L/opt/SUNWmlib/lib -lmlib ../common/libcommon.a
../ogle/.libs/libmsgevents.so -lrt -R/opt/csw/lib/ogle -R/opt/SUNWmlib/lib
ild: (undefined symbol) emms -- referenced in the text segment of
video_stream.o
*** Error code 5
make: Fatal error: Command failed for target `ogle_mpeg_vs'
Current working directory
/exporti/medusa/jgoerzen/src/ogle-0.9.2/mpeg2_video
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
$


If I build it with ./configure --without-libmlib I get this:


cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"ogle\"
-DVERSION=\"0.9.2\" -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
-DHAVE_SYS_PARAM_H=1 -DHAVE_STROPTS_H=1 -DHAVE_XSHM=1 -DUSE_SOLARIS_XMU=1
-DHAVE_CLOCK_GETTIME=1 -DHAVE_MADVISE=1 -DLIBOGLEAO_NULL=
-DLIBOGLEAO_SOLARIS= -DHAVE_XML=1
-DCONFIG_FILE=\"/opt/csw/share/ogle/oglerc\" -DHAVE_MMX=1 -I. -I.  -I..
-I../include   -I/opt/csw/include -I/opt/csw/include/libxml2
-I/opt/csw/include  -g -c `test -f 'video_stream.c' || echo
'./'`video_stream.c
"mmx.h", line 48: syntax error before or at: 8
"mmx.h", line 48: warning: "typedef" valid only for function declaration
"mmx.h", line 48: warning: old-style declaration or incorrect type for:
mmx_t
"../include/ogle_endian.h", line 54: #warning: "No accelerated byte swap
found. Using slow c version."
"../include/ogle_endian.h", line 62: cannot recover from previous errors
cc: acomp failed for video_stream.c
*** Error code 2
make: Fatal error: Command failed for target `video_stream.o'
Current working directory
/export/medusa/jgoerzen/src/ogle-0.9.2/mpeg2_video
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
$


Any ideas?

Jake
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.