[mythtv-users] compile error on Mandrake 10.1

Malcolm myth at v8-ranger.com
Sun Nov 14 16:51:26 UTC 2004


Hi,

I'm trying to compile myth 15.1 on Mandrake 10.1 and getting the following 
error

g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer 
`freetype-config --cflags` -D_REENTRANT -fPIC  -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX -DUSING_IVTV -DUSING_XV 
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/lib/qt3/mkspecs/default 
-I. -I/usr/local/include -I../libmyth -I.. -Idvbdev -I../libavcodec 
-I/usr/lib/qt3//include -o RTjpegN.o RTjpegN.cpp
RTjpegN.cpp: In member function `int RTjpeg::b2s(int16_t*, int8_t*, uint8_t)':
RTjpegN.cpp:136: error: ISO C++ forbids cast to non-reference type used as 
lvalue
RTjpegN.cpp:145: error: ISO C++ forbids cast to non-reference type used as 
lvalue
RTjpegN.cpp:174: error: ISO C++ forbids cast to non-reference type used as 
lvalue
RTjpegN.cpp:186: error: ISO C++ forbids cast to non-reference type used as 
lvalue
RTjpegN.cpp:203: error: ISO C++ forbids cast to non-reference type used as 
lvalue
RTjpegN.cpp:224: error: ISO C++ forbids cast to non-reference type used as 
lvalue
RTjpegN.cpp:234: error: ISO C++ forbids cast to non-reference type used as 
lvalue
RTjpegN.cpp:241: error: ISO C++ forbids cast to non-reference type used as 
lvalue
make[2]: *** [RTjpegN.o] Error 1
make[2]: Leaving directory `/home/malcolm/mythtv/mythtv-0.15.1/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/home/malcolm/mythtv/mythtv-0.15.1/libs'
make: *** [sub-libs] Error 2


I've searched the archives and found a few similar errors posted (not related 
to Mandrake 10.1) and none had any resolutions.  Oh and I releaze there's a 
0.16 out but my backend/frontend setup has been setup for a long time on 
0.15.1 and I'm just trying to get another remote frontend working.  I'm not 
ready to upgrade the whole thing yet.

Thanks
Malcolm


More information about the mythtv-users mailing list