I noticed that C compiler was not included so I installed SUNWgcc from the package manager. I'm running again with some problems in compiling with the socket() C library. I dont know if it is the gcc version problem. The AIM docs say that the benchmark is platform independent. Below i'll give some error logs with the explanations what i've done.
Thanks, enid enid@:~# uname -a SunOS openenux 5.11 snv_101b i86pc i386 i86pc enid@:~# cat /etc/release OpenSolaris 2008.11 snv_101b_rc2 X86 Copyright 2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 19 November 2008 enid@:~# pkg info Name: SUNWcpp Summary: Solaris cpp Category: Development/C State: Installed Authority: opensolaris.org Version: 0.5.11 Build Release: 5.11 Branch: 0.101 Packaging Date: Wed Nov 19 21:47:45 2008 Size: 76.41 kB FMRI: pkg:/SUNWcpp at 0.5.11,5.11-0.101:20081119T214745Z Name: SUNWgcc Summary: gcc - The GNU C compiler Category: Development/C State: Installed Authority: opensolaris.org Version: 3.4.3 Build Release: 5.11 Branch: 0.101 Packaging Date: Wed Nov 19 23:48:06 2008 Size: 79.15 MB FMRI: pkg:/SUNWgcc at 3.4.3,5.11-0.101:20081119T234806Z Name: SUNWgccruntime Summary: GCC Runtime libraries Category: Development/C State: Installed Authority: opensolaris.org Version: 3.4.3 Build Release: 5.11 Branch: 0.101 Packaging Date: Wed Nov 19 22:09:12 2008 Size: 6.33 MB FMRI: pkg:/SUNWgccruntime at 3.4.3,5.11-0.101:20081119T220912Z Name: SUNWgmake Summary: gmake - GNU make Category: Development/GNU State: Installed Authority: opensolaris.org Version: 3.81 Build Release: 5.11 Branch: 0.101 Packaging Date: Wed Nov 19 22:11:01 2008 Size: 696.26 kB FMRI: pkg:/SUNWgmake at 3.81,5.11-0.101:20081119T221101Z root@:/export/home/enid/aim7# gcc -v Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs Configured with: /builds2/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,f77,objc --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-20050802) ------> [b]Comments[/b]: I gave the -lsocket option to the linker options so the compiler it could recognize the socket() library. It was succsesful at some point because the errors were few like below root at openenux:/export/home/enid/aim7# make cc -O -c multitask.c cc -O -c fillin.c cc -O -c rand.c cc -O -c rtmsec.c cc -O -c add.c cc -O -c disk1.c cc -O -c div.c cc -O -c funcal.c cc -O -c mul.c cc -O -c ram.c cc -O -c creat-clo.c cc -O -c disk_src.c cc -O -c int_fcns.c cc -O -c num_fcns.c cc -O -c pipe_test.c cc -O -o multitask multitask.o fillin.o rand.o rtmsec.o add.o disk1.o div.o funcal.o mul.o ram.o creat-clo.o disk_src.o int_fcns.o num_fcns.o pipe_test.o -lm -lsocket Undefined first referenced symbol in file gethostbyname pipe_test.o (symbol belongs to implicit dependency /lib/libnsl.so.1) ld: fatal: Symbol referencing errors. No output written to multitask collect2: ld returned 1 exit status make: *** [multitask] Error 1 -----> [b]Comments[/b]: So I edited directly the pipe_test.c file and commented the gethostbyname() rows. Now the make works with some messages like below and when I execute the program (./multitask) it terminates with errors below. I dont know where the problem could be, I need some help. root@:/export/home/enid/aim7# make cc -lsocket -c multitask.c cc: -lsocket: linker input file unused because linking not done cc -lsocket -c fillin.c cc: -lsocket: linker input file unused because linking not done cc -lsocket -c rand.c cc: -lsocket: linker input file unused because linking not done cc -lsocket -c rtmsec.c cc: -lsocket: linker input file unused because linking not done enid@:~/aim7# ./multitask (komentohet gethostbyname tek pipe_test.c) Tasks jobs/min jti jobs/min/task real cpu 1sh: line 1: aim_1.sh: not found core dumped Child terminated by signal #11 72.34 0 72.3431 80.45 4.53 Fri Mar 20 23:53:01 2009 2 core dumped Child terminated by signal #11 sh: line 1: aim_1.sh: not found disk_rd : cannot open tmpa.common disk1.c: No such file or directory Child #0: : No such file or directory Failed to execute disk_rd AIM Multiuser Benchmark - Suite VII Testing over.... [b][/b][b][/b] -- This message posted from opensolaris.org