All,
I wonder if someone could / would help me out compiling an application. The app is Tivoserver, an app to store videos on a PC, then serve them to networked Tivo PVRs. The source can be found here:
http://sourceforge.net/project/showf...kage_id=178853. It requires mjpegtools anf ffmpeg found on the same page. After building mjpegtools and ffmpeg, when I try to build Tivoserver, the make fails with:
Code:
if g++32 -DPACKAGE_NAME=\"Tivoserver\" -DPACKAGE_TARNAME=\"tivoserver\" -DPACKAGE_VERSION=\"0.4.4\" -DPACKAGE_STRING=\"Tivoserver\ 0.4.4\" -DPACKAGE_BUGREPORT=\"http://tivoserver.sourceforge.net\" -DPACKAGE=\"tivoserver\" -DVERSION=\"0.4.4\" -DHAVE_LIBPTHREAD=1 -D_FILE_OFFSET_BITS=64 -I. -I. -g -Wall -DUSE_AVI2 -Wno-sign-compare -MT TY.o -MD -MP -MF ".deps/TY.Tpo" -c -o TY.o TY.cc; \
then mv -f ".deps/TY.Tpo" ".deps/TY.Po"; else rm -f ".deps/TY.Tpo"; exit 1; fi
TY.cc: In member function `virtual bool TY::readPartHeader(int, PartHeader*)':
TY.cc:126: warning: unused variable `off_t pos'
if g++32 -DPACKAGE_NAME=\"Tivoserver\" -DPACKAGE_TARNAME=\"tivoserver\" -DPACKAGE_VERSION=\"0.4.4\" -DPACKAGE_STRING=\"Tivoserver\ 0.4.4\" -DPACKAGE_BUGREPORT=\"http://tivoserver.sourceforge.net\" -DPACKAGE=\"tivoserver\" -DVERSION=\"0.4.4\" -DHAVE_LIBPTHREAD=1 -D_FILE_OFFSET_BITS=64 -I. -I. -g -Wall -DUSE_AVI2 -Wno-sign-compare -MT AVI2.o -MD -MP -MF ".deps/AVI2.Tpo" -c -o AVI2.o AVI2.cc; \
then mv -f ".deps/AVI2.Tpo" ".deps/AVI2.Po"; else rm -f ".deps/AVI2.Tpo"; exit 1; fi
if g++32 -DPACKAGE_NAME=\"Tivoserver\" -DPACKAGE_TARNAME=\"tivoserver\" -DPACKAGE_VERSION=\"0.4.4\" -DPACKAGE_STRING=\"Tivoserver\ 0.4.4\" -DPACKAGE_BUGREPORT=\"http://tivoserver.sourceforge.net\" -DPACKAGE=\"tivoserver\" -DVERSION=\"0.4.4\" -DHAVE_LIBPTHREAD=1 -D_FILE_OFFSET_BITS=64 -I. -I. -g -Wall -DUSE_AVI2 -Wno-sign-compare -MT Buffer.o -MD -MP -MF ".deps/Buffer.Tpo" -c -o Buffer.o Buffer.cc; \
then mv -f ".deps/Buffer.Tpo" ".deps/Buffer.Po"; else rm -f ".deps/Buffer.Tpo"; exit 1; fi
if g++32 -DPACKAGE_NAME=\"Tivoserver\" -DPACKAGE_TARNAME=\"tivoserver\" -DPACKAGE_VERSION=\"0.4.4\" -DPACKAGE_STRING=\"Tivoserver\ 0.4.4\" -DPACKAGE_BUGREPORT=\"http://tivoserver.sourceforge.net\" -DPACKAGE=\"tivoserver\" -DVERSION=\"0.4.4\" -DHAVE_LIBPTHREAD=1 -D_FILE_OFFSET_BITS=64 -I. -I. -g -Wall -DUSE_AVI2 -Wno-sign-compare -MT Path.o -MD -MP -MF ".deps/Path.Tpo" -c -o Path.o Path.cc; \
then mv -f ".deps/Path.Tpo" ".deps/Path.Po"; else rm -f ".deps/Path.Tpo"; exit 1; fi
Path.cc: In static member function `static std::string
Path::GetLinkTarget(const std::string&)':
Path.cc:394: `readlink' undeclared (first use this function)
Path.cc:394: (Each undeclared identifier is reported only once for each
function it appears in.)
make: *** [Path.o] Error 1
[mediaserver@Bob_2 tivoserver]$ ]
I have tried everything my noob fingers know how. FYI, I am trying to build this on an AMD AthlonXP and FC5.
Any and all help greatly appreciated.