🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49541

HELP compiling gcc on sun-sparc-4: _yywrap ?

#49541
From: Christophe Meessen
Date: Tue, 04 Jan 1994 14:39
56 lines
2319 bytes
Hello, I have some problem with installing gcc-2.5.5 or gcc-2.5.7 on
a sun-sparc-4.

The installation stops when trying to link with collect2 the 
enquire.o into enquire. At this stage the installation uses
xgcc.
I receive the following error:

./xgcc -B./  -DIN_GCC   -g  enquire.o -o enquire
ld.so: Undefined symbol: _yywrap
collect2: ld returned 127 exit status
*** Error code 1
make: Fatal error: Command failed for target `enquire'

Installing bison worked well.
Installing flex worked well.
Installing gnu ld from binutils-2.3 failed due to the same error.
After previously execute the configure command, and then the
make, I receive the following message:
...
cc -I. -I. -I../bfd -I./../bfd -I./../include    -g  -o ld.new ldgram.o ldlex.o
 lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldindr.o  ldwarn.o ldwrite.o ldexp.o
  ldemul.o ldver.o ldmisc.o ldsym.o  ldfile.o relax.o  lderror.o em_sun4.o ../b
fd/libbfd.a ../libiberty/libiberty.a
ld: Undefined symbol
   _yy_flex_realloc
   _yy_flex_free
   _yy_flex_alloc
   _yywrap
*** Error code 2
make: Fatal error: Command failed for target `ld.new'
Current working directory /snm/pro/binutils-2.3/ld
*** Error code 1
make: Fatal error: Command failed for target `all-ld'


I started the installation of gcc with
> configure
...
> make  LANGUAGES="c c++"
...
*** Error...

Could it be that the previous failed ld installation corupted
something ?

I tried installing gcc from scratch. nothing helps.
Installing gcc-2.3.3 worked fine in june.

Anyone has an idea ? Please help.

-- 

Bien cordialement,

Ch. Meessen
Technical Details
Message-ID: <2gbv3h$h7d@ccpnws.in2p3.fr>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!xlink.net!scsing.switch.ch!swidir.switch.ch!univ-lyon1.fr!in2p3.fr!marina!meessen

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,2162fd5f511b9b93,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1994-01-04 06:46:07 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!xlink.net!scsing.switch.ch!swidir.switch.ch!univ-lyon1.fr!in2p3.fr!marina!meessen
From: meessen@marina.in2p3.fr (Christophe Meessen)
Newsgroups: gnu.gcc.help
Subject: HELP compiling gcc on sun-sparc-4: _yywrap ?
Date: 4 Jan 1994 14:39:45 GMT
Organization: Centre de Physique des Particules de Marseille
Lines: 56
Sender: meessen@marina (Christophe Meessen)
Distribution: world
Message-ID: <2gbv3h$h7d@ccpnws.in2p3.fr>
NNTP-Posting-Host: marina.in2p3.fr