/usr/bin/gcc -D_LANGUAGE_C -D_SGI_COMPILER_VERSION=001 -D__host_ia64 -D__INLINE_INTRINSICS -D_LP64 -D__ia64=1 main.c -E > /tmp/cci.E0xKny /usr/lib/gcc-lib/ia64-sgi-linux/sgicc-1.0/gfec -OPT:instr=0:instr_unique_output=on -O0 -dx -quiet -dumpbase main.c /tmp/cci.E0xKny -o /tmp/ccB.e8Cd8X /usr/lib/gcc-lib/ia64-sgi-linux/sgicc-1.0/be -LIST:source=off:notes=off -PHASE:c -G8 -TENV:PIC -m1 -INTERNAL:return_val=on -INTERNAL:mldid_mstid=on -INTERNAL:return_info=on -show -OPT:instr=0:instr_unique_output=on -O0 -TARG:abi=i64 -LANG:=ansi_c -fB,/tmp/ccB.e8Cd8X -fi,..instr -s -fs,/tmp/ccs.EOCLFq main.c Compiling main.c (/tmp/ccB.e8Cd8X) -- Back End Compiling main(0) Compiling InnerProduct(1) /usr/lib/../bin/as /tmp/ccs.EOCLFq -o main.o /usr/bin/gcc -L/usr/lib/gcc-lib/ia64-sgi-linux/sgicc-1.0 main.o main.o:/usr/sakwatamau/brule12/grad/pengzhao/temp/main/main.c:52: undefined reference to `__profile_init' main.o: In function `main': main.o(.text+0xa2): undefined reference to `__profile_pu_init' main.o(.text+0xc2): undefined reference to `__profile_invoke_init' main.o(.text+0xe2): undefined reference to `__profile_branch_init' main.o(.text+0x102): undefined reference to `__profile_loop_init' main.o(.text+0x122): undefined reference to `__profile_call_init' main.o(.text+0x142): undefined reference to `__profile_invoke' main.o(.text+0x1a2): undefined reference to `__profile_branch' main.o(.text+0x1f2): undefined reference to `__profile_call_entry' main.o(.text+0x262): undefined reference to `__profile_call_exit' main.o(.text+0x292): undefined reference to `__profile_call_entry' main.o(.text+0x2d2): undefined reference to `__profile_call_exit' main.o(.text+0x312): undefined reference to `__profile_call_entry' main.o(.text+0x382): undefined reference to `__profile_call_exit' main.o(.text+0x3f2): undefined reference to `__profile_branch' main.o(.text+0x442): undefined reference to `__profile_call_entry' main.o(.text+0x4b2): undefined reference to `__profile_call_exit' main.o(.text+0x4e2): undefined reference to `__profile_call_entry' main.o(.text+0x522): undefined reference to `__profile_call_exit' main.o(.text+0x552): undefined reference to `__profile_loop' main.o(.text+0x5a2): undefined reference to `__profile_loop_iter' main.o(.text+0x842): undefined reference to `__profile_call_entry' main.o(.text+0x8c2): undefined reference to `__profile_call_exit' main.o(.text+0x912): undefined reference to `__profile_call_entry' main.o(.text+0x992): undefined reference to `__profile_call_exit' main.o: In function `InnerProduct': main.o(.text+0xa52): undefined reference to `__profile_init' main.o(.text+0xa92): undefined reference to `__profile_pu_init' main.o(.text+0xab2): undefined reference to `__profile_invoke_init' main.o(.text+0xad2): undefined reference to `__profile_loop_init' main.o(.text+0xaf2): undefined reference to `__profile_invoke' main.o(.text+0xb32): undefined reference to `__profile_loop' main.o(.text+0xb82): undefined reference to `__profile_loop_iter' collect2: ld returned 1 exit status sgicc ERROR: /usr/bin/gcc returned non-zero status 1 ---------------------