Hi,

> What exactly failed?  Once you have a compiler

bash-3.2# make
g++ -O2  -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic 
-ffor-scope   -c bon_io.cpp
g++ -O2  -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic 
-ffor-scope   -c bon_file.cpp
g++ -O2  -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic 
-ffor-scope   -c bon_time.cpp
g++ -O2  -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic 
-ffor-scope   -c semaphore.cpp
g++ -O2  -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic 
-ffor-scope   -c forkit.cpp
g++ -O2  -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic 
-ffor-scope   -c
g++: no input files
*** Error code 1
make: Fatal error: Command failed for target `bon_suid.o'



> installed, just set the
> path in the makefile and make.

There is a problem with the compile of bon_suid.cpp ..
changing the Makefile to
  ....
  bon_suid.o: bon_suid.cpp bonnie.h port.h
        $(CXX) -c bon_suid.o
  ...

the copile completed successfully.

> 
> Or just run
> 
> CC -fast -o bonnie++ bon_file.cpp   bon_io.cpp
>  bon_suid.cpp 
> on_time.cpp  bonnie++.cpp  forkit.cpp  semaphore.cpp

this works also .

Thx very much.

best regards
Danny for softwaredemo.de

Result:
- XEN: xen04.test, xen3.2-testing:  

- Xen-DomU: opensolaris-2008.05 (HVM)  ->run bonnie++ on
- Image-DomU: Image "opensolaris-2008.05 (HVM)" @ xen05.test,  iscsi-import
- STORAGE-DomU: xen05.test,  SunOS storage05 5.11 snv_70b i86pc i386 i86pc,
  ZFS-Voume, Backendstorage: fast RAID10 SAN, iscsi-export zfs-Clone.

Version 1.03c       ------Sequential Output------ --Sequential Input- --Random-
                    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
opensolaris      1G 37690  30 40373  12 11391   4 14392  14 16213   2  95.1   0
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16  9264  58 +++++ +++ 24569  87 17477  93 +++++ +++ 10269  51

(HVM is not so fast ... i will try PV also..)
 
 
This message posted from opensolaris.org

Reply via email to