Hi, today I tried to build mjpeg_play from cvs, after first running into an
error with mjpegtools-1.8.0. The error was supposedly fixed in cvs, so I
tried cvs. I can build it just fine without --enable-zalpha, but I get
errors when building with it.
I'm using gcc 3.4.6 on VectorLinux 5.8 (based on Slack11).
It would also be nice if I could tell ./configure what sort of processor I
want to build for or to not check the cpu at all, as I'm doing packaging for
a distro and the default cpuflags to use are '-march=i586 -mtune=i686'.
I've found a way around it now by an ugly hack involving replacing the
cpuinfo.sh script. I also noticed that the default cpuinfo.sh script assumes
gcc 3 doesn't use mtune, but some later versions do, I think from 3.4 and up
(not sure!).
Anyway, here's the errors I get when I try to build with --enable-zalpha:
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I.. -I .. -I ../utils -DZALPHA -march=k8 -mcpu=k8 -O2 -march=i586
-mtune=i686 -pthread -MT libmplex2_la-zalphastrm_in.lo -MD -MP -MF
".deps/libmplex2_la-zalphastrm_in.Tpo" -c -o libmplex2_la-zalphastrm_in.lo
`test -f 'zalphastrm_in.cpp' || echo './'`zalphastrm_in.cpp; \
then mv -f ".deps/libmplex2_la-zalphastrm_in.Tpo"
".deps/libmplex2_la-zalphastrm_in.Plo"; else rm -f
".deps/libmplex2_la-zalphastrm_in.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I .. -I ../utils -DZALPHA -march=k8
-mcpu=k8 -O2 -march=i586 -mtune=i686 -pthread -MT
libmplex2_la-zalphastrm_in.lo -MD -MP -MF
.deps/libmplex2_la-zalphastrm_in.Tpo -c zalphastrm_in.cpp -fPIC -DPIC -o
.libs/libmplex2_la-zalphastrm_in.o
zalphastrm_in.cpp: In member function `void ZAlphaStream::Init(int)':
zalphastrm_in.cpp:129: error: `InitAUbuffer' was not declared in this scope
zalphastrm_in.cpp: At global scope:
zalphastrm_in.cpp:181: error: no `bool ZAlphaStream::AUBufferNeedsRefill()'
member function declared in class `ZAlphaStream'
zalphastrm_in.cpp: In member function `bool
ZAlphaStream::AUBufferNeedsRefill()':
zalphastrm_in.cpp:184: error: 'class AUStream' has no member named 'current'
zalphastrm_in.cpp: In member function `virtual void
ZAlphaStream::FillAUbuffer(unsigned int)':
zalphastrm_in.cpp:276: error: no matching function for call to
`ZAlphaStream::NextDTSPTS(clockticks&, clockticks&)'
zalphastrm.hpp:45: note: candidates are: virtual void
ZAlphaStream::NextDTSPTS()
zalphastrm_in.cpp:277: error: 'class AUStream' has no member named 'append'
zalphastrm_in.cpp:308: error: no matching function for call to
`ZAlphaStream::NextDTSPTS(clockticks&, clockticks&)'
zalphastrm.hpp:45: note: candidates are: virtual void
ZAlphaStream::NextDTSPTS()
zalphastrm_in.cpp:309: error: 'class AUStream' has no member named 'append'
zalphastrm_in.cpp: In member function `virtual void ZAlphaStream::Close()':
zalphastrm_in.cpp:363: warning: converting to `unsigned int' from `double'
zalphastrm_in.cpp: At global scope:
zalphastrm_in.cpp:435: error: prototype for `void
ZAlphaStream::NextDTSPTS(clockticks&, clockticks&)' does not match any in
class `ZAlphaStream'
zalphastrm.hpp:45: error: candidate is: virtual void
ZAlphaStream::NextDTSPTS()
make[2]: *** [libmplex2_la-zalphastrm_in.lo] Error 1
make[2]: Leaving directory `/home/me/build/mjpeg_play/mplex'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/me/build/mjpeg_play'
make: *** [all] Error 2
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users