🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #2221

compiling gdb 4.16

#2221
From: Marvin Law
Date: Fri, 21 Feb 1997 00:00
48 lines
2763 bytes
While compiling gdb 4.16 on a Sun Ultra Sparc running Solaris 2.5.1, I
encountered the following error:

...
Making init.c
gcc -O2 -c -g     -I. -I. -I./config -DHAVE_CONFIG_H
-I./../include/opcode -I./../readline  -I../bfd -I./../bfd
-I./../mmalloc   -I./../include  init.c
rm -f gdb
gcc -O2 -g     -o gdb \
  init.o version.o blockframe.o breakpoint.o findvar.o stack.o thread.o 
source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o 
symtab.o symfile.o symmisc.o infcmd.o infrun.o command.o  expprint.o
environ.o gdbtypes.o copying.o sparc-tdep.o ser-tcp.o ser-unix.o
corelow.o core-sol2.o solib.o procfs.o fork-child.o  remote.o dcache.o
remote-utils.o    mem-break.o target.o parse.o language.o c-exp.tab.o
f-exp.tab.o m2-exp.tab.o buildsym.o  exec.o bcache.o objfiles.o
minsyms.o maint.o demangle.o  dbxread.o coffread.o elfread.o 
dwarfread.o mipsread.o stabsread.o corefile.o  c-lang.o ch-exp.o
ch-lang.o f-lang.o m2-lang.o  scm-exp.o scm-lang.o scm-valprint.o
complaints.o typeprint.o  c-typeprint.o ch-typeprint.o f-typeprint.o
m2-typeprint.o  c-valprint.o cp-valprint.o ch-valprint.o f-valprint.o
m2-valprint.o  nlmread.o serial.o mdebugread.o os9kread.o top.o utils.o
callback.o annotate.o main.o inflow.o gnu-regex.o     ../bfd/libbfd.a
../readline/libreadline.a ../opcodes/libopcodes.a
../mmalloc/libmmalloc.a ../libiberty/libiberty.a   -ltermlib -lsocket
-lnsl    ../libiberty/libiberty.a 
Undefined                       first referenced
 symbol                             in file
solib_address                       breakpoint.o
clear_solib                         corelow.o
solib_create_inferior_hook          fork-child.o
solib_add                           infcmd.o
ld: fatal: Symbol referencing errors. No output written to gdb
*** Error code 1
make: Fatal error: Command failed for target `gdb'
Current working directory /home/titol41/gnu_cpp/gdb-4.16/gdb
*** Error code 1
make: Fatal error: Command failed for target `all-gdb'
...

Can anyone tell me why the linker is apparently getting confused?  I am
compiling with gcc 2.7.2.1, but using the native assembler and linker.

-- 
Marvin J. Law
email:m-law@ti.com
Technical Details
Message-ID: <330DC9EF.6CAD@dlep1.itg.ti.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,221db04b995d3300,start
X-Google-Attributes: gid1025b4,public
X-Google-Thread: 10ba33,221db04b995d3300,start
X-Google-Attributes: gid10ba33,public
From: Marvin Law <a0194309@dlep1.itg.ti.com>
Subject: compiling gdb 4.16
Date: 1997/02/21
Message-ID: <330DC9EF.6CAD@dlep1.itg.ti.com>
X-Deja-AN: 220441231
Content-Type: text/plain; charset=us-ascii
Organization: Concurrent Engineering Products
Mime-Version: 1.0
Newsgroups: gnu.misc.discuss,gnu.g++.help
X-Mailer: Mozilla 3.0 (WinNT; I)