pro64-support
[Top] [All Lists]

"paths" problem in pro64

To: sgi <pro64-support@xxxxxxxxxxx>
Subject: "paths" problem in pro64
From: Peng Zhao <pengzhao@xxxxxxxxxxxxxx>
Date: Sun, 6 May 2001 11:34:53 -0600 (MDT)
Sender: owner-pro64-support@xxxxxxxxxxx

Hi,

        How to tell the sgicc where it should search for the
executable it invokes(such as ipa_link, inline etc)? everytime,
sgicc tries to invoke
"/usr/lib/gcc-lib/ia64-sgi-linux/sgicc-1.0/ipa_link", but ipa_link is not 
there, it is in a non-classical directory I maked.


        And is there any neat solution to avoid 
"undefined reference to `__profile_pu_init'" error when using
special libraries? Following are the tries I made: Can somebody explain
me the related environment varialbes? 

-------------------

NUE>sgicc -fb_create ./test test.c -o test
test.o:/usr/sakwatamau/brule12/grad/pengzhao/test/test.c:4: undefined
reference to `__profile_init' test.o: In function `main':
test.o(.text+0x72): undefined reference to `__profile_pu_init'
test.o(.text+0x92): undefined reference to `__profile_invoke_init'
test.o(.text+0xb2): undefined reference to `__profile_branch_init'
test.o(.text+0xd2): undefined reference to `__profile_call_init'
test.o(.text+0xf2): undefined reference to `__profile_invoke'
test.o(.text+0x162): undefined reference to `__profile_branch'
test.o(.text+0x1b2): undefined reference to `__profile_call_entry'
test.o(.text+0x212): undefined reference to `__profile_call_exit'
test.o(.text+0x252): undefined reference to `__profile_call_entry'
test.o(.text+0x2b2): undefined reference to `__profile_call_exit'
collect2: ld returned 1 exit status NUE:/usr/brule12/grad/pengzhao/test>
-----------------------
NUE>sgicc -fb_create ./test test.c -o test -linstr
/usr/lib/gcc-lib/ia64-hp-linux/2.9-ia64-000216/../../../../ia64-hp-linux/bin/ld:
cannot find -linstr collect2: ld returned 1 exit status
------------------------



Thank you.


<Prev in Thread] Current Thread [Next in Thread>