Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2003 03:33:50 +0100 (CET)
From:      "=?iso-8859-1?q?Pedro=20F.=20Giffuni?=" <giffunip@yahoo.com>
To:        ports@FreeBSD.org
Subject:   lex oddities in XSpice?
Message-ID:  <20030116023350.3796.qmail@web13401.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi,

After a long recess I managed to find some old freeBSD
CDs and I attempted to build XSpice. Excuse my lex
ignorance, but perhaps someone can suggest what to do
here?
(FWIW, I tried adding -l to lex with no luck)
______
true
cd cmt; make
true
cd cmpp; make
lex -t -v ifs_lex.l > ifs_lex.c
lex version 2.5.4 usage statistics:
  scanner options: -tvI8 -Cem
  750/2000 NFA states
  328/1000 DFA states (2306 words)
  57 rules
  Compressed tables always back-up
  5/40 start conditions
  378 epsilon states, 272 double epsilon states
  8/100 character classes needed 82/500 words of
storage, 34 reused
  6768 state/nextstate pairs created
  1095/5673 unique/duplicate transitions
  331/1000 base-def entries created
  752/2000 (peak 783) nxt-chk entries created
  6/2500 (peak 123) template nxt-chk entries created
  0 empty table entries
  3 protos created
  3 templates created, 248 uses
  41/256 equivalence classes created
  2/256 meta-equivalence classes created
  0 (13 saved) hash collisions, 778 DFAs equal
  0 sets of reallocations needed
  2463 total table entries needed
cc -g -c ifs_lex.c
ifs_lex.l: In function `yylex':
ifs_lex.l:101: `yytchar' undeclared (first use this
function)
ifs_lex.l:101: (Each undeclared identifier is reported
only once
ifs_lex.l:101: for each function it appears in.)
ifs_lex.l:101: `yysptr' undeclared (first use this
function)
ifs_lex.l:101: `yysbuf' undeclared (first use this
function)
ifs_lex.l:101: `yylineno' undeclared (first use this
function)
ifs_lex.l: At top level:
ifs_lex.l:566: parse error before `='
ifs_lex.l:571: conflicting types for `yy_c_buf_p'
ifs_lex.c:219: previous declaration of `yy_c_buf_p'
ifs_lex.l:571: warning: initialization makes pointer
from integer without a cast
ifs_lex.l:571: initializer element is not constant
ifs_lex.l:571: warning: data definition has no type or
storage class
ifs_lex.l:573: parse error before `if'
ifs_lex.l:627: initializer element is not constant
ifs_lex.l:627: warning: data definition has no type or
storage class
ifs_lex.l:628: redefinition of `yy_c_buf_p'
ifs_lex.l:571: `yy_c_buf_p' previously defined here
ifs_lex.l:628: warning: data definition has no type or
storage class
ifs_lex.l:629: conflicting types for `yy_hold_char'
ifs_lex.c:211: previous declaration of `yy_hold_char'
ifs_lex.l:629: initializer element is not constant
ifs_lex.l:629: warning: data definition has no type or
storage class
ifs_lex.l:632: parse error before `return'
ifs_lex.l: In function `yy_switch_to_buffer':
ifs_lex.l:665: warning: assignment from incompatible
pointer type
ifs_lex.l: In function `yy_load_buffer_state':
ifs_lex.l:688: warning: assignment from incompatible
pointer type
ifs_lex.l:688: warning: assignment from incompatible
pointer type
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.


______________________________________________________________________
Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
http://it.yahoo.com/mail_it/foot/?http://it.mobile.yahoo.com/index2002.html

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030116023350.3796.qmail>