Article View: gnu.gcc.help
Article #41435problem compiling flex
From: Dave Carter
Date: Fri, 05 Apr 1996 00:00
Date: Fri, 05 Apr 1996 00:00
43 lines
1812 bytes
1812 bytes
i posted this problem a while ago, but was never able to resolve it.
i am trying to compile flex-2.5.2 on an alpha running dec unix 3.2,
and get the following unresolved error (malloc, realloc, and free).
(i know about the warning message, that's not the problem.) can
anyone help?
- dave
% make
cp ./initscan.c scan.c
touch .bootstrap
gcc -c -I. -I. -g -O ccl.c
gcc -c -I. -I. -g -O dfa.c
gcc -c -I. -I. -g -O ecs.c
gcc -c -I. -I. -g -O gen.c
gcc -c -I. -I. -g -O main.c
gcc -c -I. -I. -g -O misc.c
gcc -c -I. -I. -g -O nfa.c
bison -y -d ./parse.y
gcc -c -I. -I. -g -O parse.c
gcc -c -I. -I. -g -O scan.c
gcc -c -I. -I. -g -O skel.c
gcc -c -I. -I. -g -O sym.c
gcc -c -I. -I. -g -O tblcmp.c
gcc -c -I. -I. -g -O yylex.c
gcc -c -I. -I. -g -O libmain.c
gcc -c -I. -I. -g -O libyywrap.c
ar cru libfl.a libmain.o libyywrap.o
ranlib libfl.a
s - creating symbol hash table. Wait...
gcc -g -O -o flex ccl.o dfa.o ecs.o gen.o main.o misc.o nfa.o parse.o scan.o skel.o sym.o tblcmp.o yylex.o libfl.a
collect2: ld returned 1 exit status
/usr/ucb/ld:
Warning: Linking some objects which contain exception information sections
and some which do not. This may cause fatal runtime exception handling
problems (last obj encountered without exceptions was skel.o).
Unresolved:
__malloc
__realloc
__free
make: *** [flex] Error 1
%
Technical Details
Message-ID:
<x7bul69pao.fsf@shelby.mst6.lanl.gov>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,985e33c90697ea17,start X-Google-Attributes: gid11318c,public From: carter@shelby.mst6.lanl.gov (Dave Carter) Subject: problem compiling flex Date: 1996/04/05 Message-ID: <x7bul69pao.fsf@shelby.mst6.lanl.gov> X-Deja-AN: 146184394 sender: carter@shelby.mst6.lanl.gov organization: LANL reply-to: Dave Carter <carter@lanl.gov> newsgroups: gnu.gcc.help