[antlr-interest] Newbie problem..
Jim Idle
jimi at temporal-wave.com
Thu Apr 12 15:03:10 PDT 2007
Are you sure that:
g++ -lantlr -L./lib/ -g obj/*.o -o build/test.exe
Should not just be:
g++ -L./lib/ -lantlr -g obj/*.o -o build/test.exe
Assuming that this is where your libantlr.a is actually living (and that
the libantl.a you mention below is just a typo). Also try the verbose
options for g++.
Jim
-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Buras, Mariusz
Sent: Thursday, April 12, 2007 1:36 AM
To: antlr-interest at antlr.org
Subject: [antlr-interest] Newbie problem..
Hi,
First of all I'd like to apologize for spamming the list but I'm facing
the wall and You are my last resort :)
Namely, I'm facing a problem with antlr 2.77 runtime library not linking
against my project. I did ./configure and make to build the library
(libantl.a) then to put it into my lib directory. Upon link I get this:
http://amnesty.scene.pl/~sqward/sq/output.txt
I compile under Cygwin. My first guess was wrong name space and later I
suspected broken binutils (well, last resort thinking...). Are there
additional dependencies I have to consider ? It looks pretty odd as I
can find all missing symbols (or at least its names) in the hex editor
all right. Can a good soul hint me on this? I know this is boring and
probably was discussed here a hundred times, but antlr-interest archive
is broken for me :/
Greetings,
M.Buras
More information about the antlr-interest
mailing list