if building to recompile a single file in core, I am getting this error:
SHARED obj-i486-linux-gnu/libsimavr.so.1
/home/mghughes/Projects/simavr/simavr/../simavr/obj-i486-linux-gnu/libsimavr.so: file not recognized: File truncated
if I do:
make clean; make
the compile completes without issues.
since I recently changed hardware and done a complete install I was thinking the problem could possibly be on my end, however after checking recent changes, I found that reverting commit 1be487742be6b9f811f032611ddde54a5de53883 seems to resolve the issue.
complete sample make session showing the problem follows:
mghughes@debian:~/Projects/simavr$ make
make -C simavr RELEASE=0
make[1]: Entering directory /home/mghughes/Projects/simavr/simavr' make obj config make[2]: Entering directory/home/mghughes/Projects/simavr/simavr'
make[2]: Nothing to be done for obj'. make[2]: Nothing to be done forconfig'.
make[2]: Leaving directory /home/mghughes/Projects/simavr/simavr' make libsimavr run_avr make[2]: Entering directory/home/mghughes/Projects/simavr/simavr'
CC sim/sim_core.c
AR obj-i486-linux-gnu/libsimavr.a
SHARED obj-i486-linux-gnu/libsimavr.so.1
/home/mghughes/Projects/simavr/simavr/../simavr/obj-i486-linux-gnu/libsimavr.so: file not recognized: File truncated
collect2: error: ld returned 1 exit status
make[2]: * [obj-i486-linux-gnu/libsimavr.so.1] Error 1
make[2]: Leaving directory `/home/mghughes/Projects/simavr/simavr'
make[1]: * [all] Error 2
make[1]: Leaving directory`/home/mghughes/Projects/simavr/simavr'
make: *\ [build-simavr] Error 2
if building to recompile a single file in core, I am getting this error:
SHARED obj-i486-linux-gnu/libsimavr.so.1 /home/mghughes/Projects/simavr/simavr/../simavr/obj-i486-linux-gnu/libsimavr.so: file not recognized: File truncated
if I do:
make clean; make
the compile completes without issues.
since I recently changed hardware and done a complete install I was thinking the problem could possibly be on my end, however after checking recent changes, I found that reverting commit 1be487742be6b9f811f032611ddde54a5de53883 seems to resolve the issue.
complete sample make session showing the problem follows:
mghughes@debian:~/Projects/simavr$ make make -C simavr RELEASE=0 make[1]: Entering directory
/home/mghughes/Projects/simavr/simavr' make obj config make[2]: Entering directory
/home/mghughes/Projects/simavr/simavr' make[2]: Nothing to be done forobj'. make[2]: Nothing to be done for
config'. make[2]: Leaving directory/home/mghughes/Projects/simavr/simavr' make libsimavr run_avr make[2]: Entering directory
/home/mghughes/Projects/simavr/simavr' CC sim/sim_core.c AR obj-i486-linux-gnu/libsimavr.a SHARED obj-i486-linux-gnu/libsimavr.so.1 /home/mghughes/Projects/simavr/simavr/../simavr/obj-i486-linux-gnu/libsimavr.so: file not recognized: File truncated collect2: error: ld returned 1 exit status make[2]: * [obj-i486-linux-gnu/libsimavr.so.1] Error 1 make[2]: Leaving directory `/home/mghughes/Projects/simavr/simavr' make[1]: * [all] Error 2 make[1]: Leaving directory`/home/mghughes/Projects/simavr/simavr' make: *\ [build-simavr] Error 2