bug-gnu-utils
[Top][All Lists]
Advanced

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

Flex 2.5.4: Linker error


From: Potthoff, Kay
Subject: Flex 2.5.4: Linker error
Date: Wed, 11 Sep 2002 13:33:01 +0200

Hi,
 
I observed the following linker error when compiling my lex-file. I'm using the option
 
        %option prefix="xml_"
 
in my lex-file. When compiling the whole stuff the linker complains about:
 
    libLexer.a: undefined reference to `xml_wrap'
 
I have looked into the generated C-code and have seen that it uses a define:
 
    #define yywrap xml_wrap
 
which seems to be ok, but the library libfl.a contains only the function yywrap.
 
The version of flex I'm using is 2.5.4.
 
Regards, Kay

######################################################
# Kay Potthoff              Senior Software Engineer
#
# FORCE Computers GmbH        Tel.: +49-89-60814-356
# Lilienthalstrasse 15                    FAX : +49-89-6097793
# 85579 Neubiberg/München
# Deutschland/Germany
#
# mailto:address@hidden
######################################################

 

Attachment: Potthoff, Kay.vcf
Description: Binary data


reply via email to

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