Article View: gnu.gcc.help
Article #41490Installation fails on link error - Undefined symbol: _yywrap
From: News Admin
Date: Thu, 21 Mar 1996 00:00
Date: Thu, 21 Mar 1996 00:00
52 lines
2466 bytes
2466 bytes
Installing gcc 2.7.2 on SunOS 4.1.3_U1 Output from ./configure --verbose --prefix=/usr/public This appears to be a sparc-sun-sunos4.1.3_U1 system. Using `./config/sparc/sparc.c' to output insns. Using `./config/sparc/sparc.md' as machine description file. Using `./config/sparc/sunos4.h' as target machine macro file. Using `./config/sparc/xm-sparc.h' as host machine macro file. Merged sparc/t-sunos41. Merged c++ fragment(s). Created `./Makefile'. Merged sparc/t-sunos41. Created `cp/Makefile'. Links are now set up to build a native compiler for sparc-sun-sunos4.1.3_U1. The first failure comes while compiling enquire.c with ./xgcc; getting round this by compiling with cc and then restarting the Makefile leads to the second failure linking cccp.c in stage 2. ./xgcc -B./ -DIN_GCC -g -I./include -DNO_MEM -DNO_LONG_DOUBLE_IO -O0 -I. -c ./enquire.c if [ -f libgcc2.ready ] ; then \ true; \ else \ touch libgcc2.ready; \ fi for i in `./xgcc -B./ --print-multi-lib`; do \ [library creation stuff deleted] rm -rf libgcc2.a tmpcopy if [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then ranlib tmplibgcc.a; else true; fi if [ -d v8 ]; then true; else mkdir v8; fi mv tmplibgcc.a v8/libgcc.a make[1]: Leaving directory `/news/gcc-2.7.2' touch stmp-multilib ./xgcc -B./ -DIN_GCC -g -I./include enquire.o -o enquire collect2: ld returned 127 exit status ld.so: Undefined symbol: _yywrap make: *** [enquire] Error 1 I have installed the latest versions of bison (GNU Bison version 1.24) and flex (flex version 2.5.2) and remade bi-parser.c c-parse.c cexp.c and objc-parse.c to no avail. I'm sure I've seen a note about this problem but I can't find it. -- `I only know of two painters in the world,' said a newly introduced enthusiast to Whistler, `yourself and Velasquez.' `Why,' asked Whistler in dulcet tones, `why drag in Velasquez?' James Abbott McNeill Whistler
Technical Details
Message-ID:
<70ka0e8qgq.fsf@ss3.shef.ac.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,82554123da734af1,start X-Google-Attributes: gid11318c,public From: News Admin <usenet@sheffield.ac.uk> Subject: Installation fails on link error - Undefined symbol: _yywrap Date: 1996/03/21 Message-ID: <70ka0e8qgq.fsf@ss3.shef.ac.uk> X-Deja-AN: 143487006 sender: cs1cwm@ss3.shef.ac.uk organization: Academic Computing Services, Sheffield University newsgroups: gnu.gcc.help