Hello,

I installed gdb on my sun server running Solaris v2.6.  When I build GDB

via  Gcc version 2.95.2  by:



 # cd /tmp

 # mkdir gdb-solaris

 # cd gdb-solaris


 # sh ../gdb-4.18/configure --target=sparc-sun-solaris26
--prefix=/usr/local/Gcc2952


It's working fine.

At the point I am running the "make" I got some errors below:

....
gcc -g        -o gdb
  init.o version.o blockframe.o breakpoint.o findvar.o stack.o thread.o
 ....

thread.o: In function `info_threads_command':
/tmp/gdb-solaris/gdb/../../gdb-4.18/gdb/thread.c:469: undefined
reference to `procfs_pid_to_str'
thread.o: In function `thread_apply_all_command':
/tmp/gdb-solaris/gdb/../../gdb-4.18/gdb/thread.c:562: undefined
reference to `procfs_pid_to_str'
thread.o: In function `thread_apply_command':
/tmp/gdb-solaris/gdb/../../gdb-4.18/gdb/thread.c:631: undefined
reference to `procfs_pid_to_str'
thread.o: In function `thread_command':

/tmp/gdb-solaris/gdb/../../gdb-4.18/gdb/thread.c:655: undefined
reference to `procfs_pid_to_str'
/tmp/gdb-solaris/gdb/../../gdb-4.18/gdb/thread.c:683: undefined
reference to `procfs_pid_to_str'
infrun.o:/tmp/gdb-solaris/gdb/../../gdb-4.18/gdb/infrun.c:1114: more
undefined references to `procfs_pid_to_str' follow
collect2: ld returned 1 exit status



Please let me know how to fix this.
Thank you very much in advance.


[EMAIL PROTECTED]


--

+-----------------------------------------------------------------------+
| Patrick JALAGUIER      Laboratoire d Analyse des Systemes du littoral |
| Universite du Littoral  Tel. (33) 03-21-46-06-87 Fax. 03-21-46-06-86  |
| 62228 CALAIS      E-mail: [EMAIL PROTECTED]  |
+-----------------------------------------------------------------------+


Reply via email to