[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]Problem compiling treecc on cygwin

From: Olivier Dagenais
Subject: [DotGNU]Problem compiling treecc on cygwin
Date: Mon, 12 Aug 2002 13:12:26 -0400


I've got the bleeding edge Cygwin, having performed a full install of all
current packages just this weekend.  I grabbed the pnet files from and I tried compiling
treecc.  It dies when compiling the examples:

make[2]: Entering directory `/data/pnet/treecc-0.1.2/examples'
../treecc -s ./../etc ./
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -c expr_c.c
/bin/sh ./ylwrap "bison -y" gram_c.y gram_c.c gram_c.h -- -d
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -c gram_c.c
/bin/sh ./ylwrap "flex" scan_c.l lex.yy.c scan_c.c --
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -c scan_c.c
gcc -g -O2 -o expr_c.exe expr_c.o gram_c.o scan_c.o -lm
../treecc -s ./..etc ./
c++ -g -O2 -o expr_cpp
/cygdrive/c/WINDOWS/TEMP/ccXMlX14.o: In function `main':
/data/pnet/treecc-0.1.2/examples/./ undefined reference to
`yyparse(void *)'
collect2: ld returned 1 exit status
make[2]: *** [expr_cpp] Error 1
make[2]: Leaving directory `/data/pnet/treecc-0.1.2/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/pnet/treecc-0.1.2'
make: *** [all-recursive-am] Error 2

Notice that expr_c.c compiles fine;  I'm puzzled as to why the C++ version

Any ideas?  If you need more information (ie: my config.status, output of
configure, etc..), let me know.  In case it's important:  I'm running
Win98SE with IE6 and all the updates.


Olivier A. Dagenais - Software Architect and Developer

reply via email to

[Prev in Thread] Current Thread [Next in Thread]