From owner-freebsd-ports Wed Jan 15 18:33:56 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D313237B443 for ; Wed, 15 Jan 2003 18:33:50 -0800 (PST) Received: from web13401.mail.yahoo.com (web13401.mail.yahoo.com [216.136.175.59]) by mx1.FreeBSD.org (Postfix) with SMTP id 8E85643F18 for ; Wed, 15 Jan 2003 18:33:50 -0800 (PST) (envelope-from giffunip@yahoo.com) Message-ID: <20030116023350.3796.qmail@web13401.mail.yahoo.com> Received: from [200.24.79.48] by web13401.mail.yahoo.com via HTTP; Thu, 16 Jan 2003 03:33:50 CET Date: Thu, 16 Jan 2003 03:33:50 +0100 (CET) From: "=?iso-8859-1?q?Pedro=20F.=20Giffuni?=" Subject: lex oddities in XSpice? To: ports@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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