#416 SDCC wont compile with flex-2.5.xx

closed-rejected
None
2
2003-01-29
2002-11-19
No

Basically I have tried to use flex 2.5.22 and 2.5.23 to
compile the SDCC from source. Each time I receive the
same error about a redefinition of yylineno:

SDCC.lex:45: redefinition of `yylineno'
SDCClex.c:444: `yylineno' previously defined here
SDCC.lex:50: parse error before "YY_PROTO"
{standard input}: Assembler messages:
{standard input}:5561: Error: symbol `yylineno' is
already defined
make[1]: *** [SDCClex.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/sdcc-2.3.0/work/sdcc/src'
make: *** [sdcc-cc] Error 2

I have successfully compiled SDCC with 2.5.4 on my
machine. Normally this wouldn't be a problem, but I am
trying to make a package for SDCC for use with my linux
distro (Gentoo) and I can guarantee everyone is using
flex-2.5.xx.

Discussion

  • Johan Knol

    Johan Knol - 2003-01-24
    • priority: 5 --> 2
     
  • Johan Knol

    Johan Knol - 2003-01-24

    Logged In: YES
    user_id=63512

    Up and until Redhat 8.0 everything is fine.

     
  • Bernhard Held

    Bernhard Held - 2003-01-27

    Logged In: YES
    user_id=203539

    I couldn't find a flex release later than 2.5.4!?

     
  • Bernhard Held

    Bernhard Held - 2003-01-29

    Logged In: YES
    user_id=203539

    Unreproducable because of unknown flex 2.5.xx.

     
  • Bernhard Held

    Bernhard Held - 2003-01-29
    • assigned_to: nobody --> bernhardheld
    • status: open --> closed-rejected
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks