ESOS-Lab / VSSIM

Virtual Machine based SSD Simulator
60 stars 50 forks source link

QEMU Compile 'make clean' command shows error #22

Open aceaulden opened 5 years ago

aceaulden commented 5 years ago

Hi, I am not able to run the "make clean" command in the QEMU Compile section. I am using 14.04 ans 10.04.4 iso for QEMU.

Error Message ::

m191560@ubuntu: ~/VSSIM/QEMUm191560@ubuntu:~/VSSIM/QEMU$ make clean rm -f config.mak config.h op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h rm -f .o .d .a TAGS cscope. .pod ~ /~ rm -f slirp/.o slirp/.d audio/.o audio/.d block/.o block/.d rm -f qemu-img-cmds.h make -C tests clean make[1]: Entering directory /home/m191560/VSSIM/QEMU/tests' rm -f *~ *.o test-i386.out test-i386.ref \ test-x86_64.log test-x86_64.ref qruncom sha1 make[1]: Leaving directory/home/m191560/VSSIM/QEMU/tests' for d in libhw32 libhw64; do \ make -C $d clean || exit 1 ; \ done make[1]: Entering directory /home/m191560/VSSIM/QEMU/libhw32' make[1]: *** No rule to make targetclean'. Stop. make[1]: Leaving directory `/home/m191560/VSSIM/QEMU/libhw32' make: *** [clean] Error 1

jedisty commented 5 years ago

Hi.

Before running clean, you should execute the vssim ftl link script first. Please refer the readme and follow the step.

Thank you. Jinsoo Yoo

2019년 1월 24일 (목) 오전 1:51에 aceaulden notifications@github.com님이 작성:

Hi, I am not able to run the "make clean" command in the QEMU Compile section. I am using 14.04 ans 10.�04.4 iso for QEMU.

Error Message ::

m191560@ubuntu: /VSSIM/QEMU�m191560@ubuntu:/VSSIM/QEMU$ make clean rm -f config.mak config.h op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h rm -f .o .d .a TAGS cscope. .pod ~ /~ rm -f slirp/.o slirp/.d audio/.o audio/.d block/.o block/.d rm -f qemu-img-cmds.h make -C tests clean make[1]: Entering directory /home/m191560/VSSIM/QEMU/tests' rm -f ~ .o test-i386.out test-i386.ref \ test-x86_64.log test-x86_64.ref qruncom sha1 make[1]: Leaving directory /home/m191560/VSSIM/QEMU/tests' for d in libhw32 libhw64; do make -C $d clean || exit 1 ; done make[1]: Entering directory /home/m191560/VSSIM/QEMU/libhw32' make[1]: No rule to make target clean'. Stop. make[1]: Leaving directory `/home/m191560/VSSIM/QEMU/libhw32' make: [clean] Error 1

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ESOS-Lab/VSSIM/issues/22, or mute the thread https://github.com/notifications/unsubscribe-auth/ACK7DV-7Durh1E_cgG4GEzb1D-3zMOoPks5vGJLcgaJpZM4aPMh4 .

aceaulden commented 5 years ago

Hi, I am trying to run it again on a different system, still on 14.04, but on a more powerful cpu. The same error happens even with the ./link_pm command, is there any other errors that cause this?

ssd@ssdCapstone:~/VSSIM/QEMU$ make clean rm -f config.mak config.h op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h rm -f .o .d .a TAGS cscope. .pod ~ /~ rm -f slirp/.o slirp/.d audio/.o audio/.d block/.o block/.d rm -f qemu-img-cmds.h make -C tests clean make[1]: Entering directory /home/ssd/VSSIM/QEMU/tests' rm -f *~ *.o test-i386.out test-i386.ref \ test-x86_64.log test-x86_64.ref qruncom sha1 make[1]: Leaving directory/home/ssd/VSSIM/QEMU/tests' for d in libhw32 libhw64; do \ make -C $d clean || exit 1 ; \ done make[1]: Entering directory /home/ssd/VSSIM/QEMU/libhw32' Makefile:4: ../config-host.mak: No such file or directory Makefile:5: /rules.mak: No such file or directory make[1]: *** No rule to make target/rules.mak'. Stop. make[1]: Leaving directory `/home/ssd/VSSIM/QEMU/libhw32' make: *** [clean] Error 1

jedisty commented 5 years ago

Hi.

What happen if you run the make script without clean? Can you send me the log?

2019년 1월 29일 (화) 오전 8:02에 aceaulden notifications@github.com님이 작성:

Hi, I am trying to run it again on a different system, still on 14.04, but on a more powerful cpu. The same error happens even with the ./link_pm command, is there any other errors that cause this?

ssd@ssdCapstone:/VSSIM/QEMU$ make clean rm -f config.mak config.h op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h rm -f .o .d .a TAGS cscope. .pod /~ rm -f slirp/.o slirp/.d audio/.o audio/.d block/.o block/.d rm -f qemu-img-cmds.h make -C tests clean make[1]: Entering directory /home/ssd/VSSIM/QEMU/tests' rm -f ~ .o test-i386.out test-i386.ref \ test-x86_64.log test-x86_64.ref qruncom sha1 make[1]: Leaving directory /home/ssd/VSSIM/QEMU/tests' for d in libhw32 libhw64; do make -C $d clean || exit 1 ; done make[1]: Entering directory /home/ssd/VSSIM/QEMU/libhw32' Makefile:4: ../config-host.mak: No such file or directory Makefile:5: /rules.mak: No such file or directory make[1]: No rule to make target /rules.mak'. Stop. make[1]: Leaving directory `/home/ssd/VSSIM/QEMU/libhw32' make: [clean] Error 1

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ESOS-Lab/VSSIM/issues/22#issuecomment-458336943, or mute the thread https://github.com/notifications/unsubscribe-auth/ACK7DdworFfLfDdx7a5r59bPcULLkIbxks5vH4EXgaJpZM4aPMh4 .

aceaulden commented 5 years ago

The error is posted below.

0 upgraded, 0 newly installed, 0 to remove and 419 not upgraded. ]0;ssd@ssdCapstone: ~ ssd@ssdCapstone:~$ cd VSSIM/MONITOR/SSD_MONITOR_PM/ ]0;ssd@ssdCapstone: ~/VSSIM/MONITOR/SSD_MONITOR_PM ssd@ssdCapstone:~/VSSIM/MONITOR/SSD_MONITOR_PM$ qmake ]0;ssd@ssdCapstone: ~/VSSIM/MONITOR/SSD_MONITOR_PM ssd@ssdCapstone:~/VSSIM/MONITOR/SSD_MONITOR_PM$ make /usr/lib/x86_64-linux-gnu/qt5/bin/uic monitorform.ui -o ui_monitorform.h monitorform.ui: Warning: The name 'label' (QLabel) is already in use, defaulting to 'label1'. monitorform.ui: Warning: The name 'label' (QLabel) is already in use, defaulting to 'label2'. monitorform.ui: Warning: The name 'label' (QLabel) is already in use, defaulting to 'label3'. monitorform.ui: Warning: The name 'label' (QLabel) is already in use, defaulting to 'label4'. monitorform.ui: Warning: The name 'groupBox' (QGroupBox) is already in use, defaulting to 'groupBox1'. monitorform.ui: Warning: The name 'label' (QLabel) is already in use, defaulting to 'label5'. monitorform.ui: Warning: The name 'label' (QLabel) is already in use, defaulting to 'label6'. monitorform.ui: Warning: The name 'label' (QLabel) is already in use, defaulting to 'label7'. monitorform.ui: Warning: The name 'groupBox' (QGroupBox) is already in use, defaulting to 'groupBox2'. monitorform.ui: Warning: The name 'label' (QLabel) is already in use, defaulting to 'label8'. monitorform.ui: Warning: The name 'label' (QLabel) is already in use, defaulting to 'label9'. monitorform.ui: Warning: The name 'label' (QLabel) is already in use, defaulting to 'label10'. monitorform.ui: Warning: The name 'label' (QLabel) is already in use, defaulting to 'label11'. monitorform.ui: Warning: The name 'label' (QLabel) is already in use, defaulting to 'label12'. monitorform.ui: Warning: The name 'label' (QLabel) is already in use, defaulting to 'label13'. monitorform.ui: Warning: The name 'label' (QLabel) is already in use, defaulting to 'label14'. g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -o main.o main.cpp g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -o monitorform.o monitorform.cpp /usr/lib/x86_64-linux-gnu/qt5/bin/moc -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -I/usr/include/c++/4.8 -I/usr/include/x86_64-linux-gnu/c++/4.8 -I/usr/include/c++/4.8/backward -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include monitorform.h -o moc_monitorform.cpp g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I. -o moc_monitorform.o moc_monitorform.cpp g++ -m64 -Wl,-O1 -o ssd_monitor_p main.o monitorform.o moc_monitorform.o -L/usr/X11R6/lib64 -lQt5Widgets -L/usr/lib/x86_64-linux-gnu -lQt5Network -lQt5Gui -lQt5Core -lGL -lpthread ]0;ssd@ssdCapstone: ~/VSSIM/MONITOR/SSD_MONITOR_PM ssd@ssdCapstone:~/VSSIM/MONITOR/SSD_MONITOR_PM$ cd VSSIM/C [K [K [K [K [K [K [K../CON [K [K [K../CONFIG/FTL_SETTING/ ]0;ssd@ssdCapstone: ~/VSSIM/CONFIG/FTL_SETTING ssd@ssdCapstone:~/VSSIM/CONFIG/FTL_SETTING$ ./link_pm ]0;ssd@ssdCapstone: ~/VSSIM/CONFIG/FTL_SETTING ssd@ssdCapstone:~/VSSIM/CONFIG/FTL_SETTING$ ../. [K [K [K [Kcd ../../OS/ ]0;ssd@ssdCapstone: ~/VSSIM/OS ssd@ssdCapstone:~/VSSIM/OS$ wget http://old-releases.ubuntu.com/releases/10.04.0/ubuntu-1 0.04.4-desktop-i386.iso --2019-01-29 14:04:42-- http://old-releases.ubuntu.com/releases/10.04.0/ubuntu-10.04.4-desktop-i386.iso Resolving old-releases.ubuntu.com (old-releases.ubuntu.com)... 2001:67c:1360:8001::25, 91.189.88.41 Connecting to old-releases.ubuntu.com (old-releases.ubuntu.com)|2001:67c:1360:8001::25|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 728150016 (694M) [application/x-iso9660-image] Saving to: ‘ubuntu-10.04.4-desktop-i386.iso’

2019-01-29 14:06:38 (6.00 MB/s) - ‘ubuntu-10.04.4-desktop-i386.iso’ saved [728150016/728150016]

]0;ssd@ssdCapstone: ~/VSSIM/OS ssd@ssdCapstone:~/VSSIM/OS$ cd ../QEMU ]0;ssd@ssdCapstone: ~/VSSIM/QEMU ssd@ssdCapstone:~/VSSIM/QEMU$ make clean rm -f config.mak config.h op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h gen-op-arm.h rm -f .o .d .a TAGS cscope. .pod ~ /~ rm -f slirp/.o slirp/.d audio/.o audio/.d block/.o block/.d rm -f qemu-img-cmds.h make -C tests clean make[1]: Entering directory /home/ssd/VSSIM/QEMU/tests' rm -f *~ *.o test-i386.out test-i386.ref \ test-x86_64.log test-x86_64.ref qruncom sha1 make[1]: Leaving directory/home/ssd/VSSIM/QEMU/tests' for d in libhw32 libhw64; do \ make -C $d clean || exit 1 ; \ done make[1]: Entering directory /home/ssd/VSSIM/QEMU/libhw32' make[1]: *** No rule to make targetclean'. Stop. make[1]: Leaving directory `/home/ssd/VSSIM/QEMU/libhw32' make: *** [clean] Error 1 ]0;ssd@ssdCapstone: ~/VSSIM/QEMU ssd@ssdCapstone:~/VSSIM/QEMU$ exit exit

Script done on Tue 29 Jan 2019 02:07:03 PM EST

aceaulden commented 5 years ago

Sorry, I read that incorrectly, here is the correct error log.

Script started on Mon 04 Feb 2019 01:30:17 PM EST ]0;ssd@ssdCapstone: ~ ssd@ssdCapstone:~$ cd VSSIM/MONITOR/SS D_MONITOR_PM ]0;ssd@ssdCapstone: ~/VSSIM/MONITOR/SSD_MONITOR_PM ssd@ssdCapstone:~/VSSIM/MONITOR/SSD_MONITOR_PM$ qmake ]0;ssd@ssdCapstone: ~/VSSIM/MONITOR/SSD_MONITOR_PM ssd@ssdCapstone:~/VSSIM/MONITOR/SSD_MONITOR_PM$ make make: Nothing to be done for `first'. ]0;ssd@ssdCapstone: ~/VSSIM/MONITOR/SSD_MONITOR_PM ssd@ssdCapstone:~/VSSIM/MONITOR/SSD_MONITOR_PM$ cd ../../CONFIG/FTL_SETTING/ ]0;ssd@ssdCapstone: ~/VSSIM/CONFIG/FTL_SETTING ssd@ssdCapstone:~/VSSIM/CONFIG/FTL_SETTING$ ./unlink_pm ]0;ssd@ssdCapstone: ~/VSSIM/CONFIG/FTL_SETTING ssd@ssdCapstone:~/VSSIM/CONFIG/FTL_SETTING$ ./link_pm ]0;ssd@ssdCapstone: ~/VSSIM/CONFIG/FTL_SETTING ssd@ssdCapstone:~/VSSIM/CONFIG/FTL_SETTING$ cd ../../QEMU ]0;ssd@ssdCapstone: ~/VSSIM/QEMU ssd@ssdCapstone:~/VSSIM/QEMU$ make Please call configure before running make! make: *** [config-host.mak] Error 1