[mythtv-users] Error in compile - moc_system-unix.o: file not recognized: File truncated

Tom Lichti redpepperracing at gmail.com
Thu Jun 16 18:58:33 UTC 2011


On Thu, Jun 16, 2011 at 2:47 PM, Michael T. Dean
<mtdean at thirdcontact.com> wrote:
> On 06/16/2011 01:23 PM, Tom Lichti wrote:
>> On Thu, Jun 16, 2011 at 12:40 PM, Michael T. Dean wrote:
>>>>> On 06/15/2011 11:39 AM, Tom Lichti wrote:
>>>>>> Using current git trunk, on one of my frontends I am getting this error:
>>> ...
>>>>>> moc_system-unix.o: file not recognized: File truncated
>>> Are you running make with -j option?  If so, please retry with -j 1 (or
>>> no -j option).
>> I was using make -j3, but I just tried with 'make', and I get the same result:
>
> Even if you do a make distclean, then reconfigure, then re-run make with
> -j 1 ?
>
> Mike

Yep...

 make clean ; make distclean ; ./configure --enable-proc-opt
--enable-vdpau ; make -j 1
.
.
.
g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -march=atom
-fomit-frame-pointer -pthread -g -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time
-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -O3
-fvisibility-inlines-hidden -Wmissing-declarations
-fno-strict-aliasing -fvisibility=hidden -D_REENTRANT -fPIC -DMMX
-Di386 -D_GNU_SOURCE -DRUNPREFIX=\"/usr/local\" -DLIBDIRNAME=\"lib\"
-DMBASE_API -Dlinux -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
-I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore
-I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml
-I/usr/include/QtSql -I/usr/include -I/usr/include -I/usr/local -I. -o
moc_system-unix.o moc_system-unix.cpp
rm -f libmythbase-0.24.so.0.24.0 libmythbase-0.24.so
libmythbase-0.24.so.0 libmythbase-0.24.so.0.24
g++ -Wl,-O1 -shared -Wl,-soname,libmythbase-0.24.so.0 -o
libmythbase-0.24.so.0.24.0 mythsocket.o mythsocketthread.o
msocketdevice.o mythdbcon.o mythdb.o oldsettings.o mythverbose.o
mythobservable.o mythevent.o httpcomms.o mcodecs.o mythdirs.o
mythsignalingtimer.o lcddevice.o mythstorage.o remotefile.o
mythcorecontext.o mythsystem.o mythlocale.o storagegroup.o
mythcoreutil.o mythdownloadmanager.o mythtranslation.o unzip.o
iso639.o iso3166.o mythmedia.o util.o mythhdd.o mythcdrom.o dbutil.o
mythhttppool.o mythhttphandler.o mythlogging.o referencecounter.o
msocketdevice_unix.o system-unix.o mythcdrom-linux.o moc_httpcomms.o
moc_mythsignalingtimer.o moc_lcddevice.o moc_mythsystem.o
moc_mythdownloadmanager.o moc_mythmedia.o moc_mythcdrom.o
moc_mythhttphandler.o moc_mythlogging.o moc_referencecounter.o
moc_system-unix.o    -lXext -lXinerama -lXxf86vm -lXrandr -lX11
-lmp3lame -lasound -lm -pthread -lz -lrt -ldl -lfreetype
-L/usr/X11R6/lib -lGL -L/usr/local/lib -lpthread -lQtSql -lQtXml
-lQtGui -lQtNetwork -lQtCore
moc_system-unix.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make[2]: *** [libmythbase-0.24.so.0.24.0] Error 1
make[2]: Leaving directory `/usr/local/src/mythtv/mythtv/libs/libmythbase'
make[1]: *** [sub-libmythbase-make_default] Error 2
make[1]: Leaving directory `/usr/local/src/mythtv/mythtv/libs'
make: *** [libs] Error 2


More information about the mythtv-users mailing list