Bug 11959 - Compilation error from ddd-3.1.5 port
Summary: Compilation error from ddd-3.1.5 port
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: David E. O'Brien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-05-31 13:00 UTC by 傑的心 妳的心
Modified: 2008-01-12 19:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 傑的心 妳的心 1999-05-31 13:00:02 UTC
When compiling ddd-3.1.5 port, it got an error.

Fix: 

N/A
How-To-Repeat: # pwd
/usr/ports/devel/ddd
# make
[deleted]
===>  Building for ddd-3.1.5
==> Making all in ./libiberty...
gmake[1]: Entering directory `/home2/ports/devel/ddd/work/ddd-3.1.5/libiberty'
gmake[2]: Entering directory `/home2/ports/devel/ddd/work/ddd-3.1.5/libiberty'
gmake[2]: Leaving directory `/home2/ports/devel/ddd/work/ddd-3.1.5/libiberty'
gmake[1]: Leaving directory `/home2/ports/devel/ddd/work/ddd-3.1.5/libiberty'
==> Making all in ./ddd...
gmake[1]: Entering directory `/home2/ports/devel/ddd/work/ddd-3.1.5/ddd'
Building ddd-3.1.5-i386-portbld-freebsd3.2...
c++  -DHAVE_CONFIG_H -DNDEBUG -O2  -W -Wall -Wno-uninitialized -pipe -m486 -fext
ernal-templates -felide-constructors -fconserve-space -trigraphs -c -I. -I. -I./
.. -I/usr/X11R6/include -o VSLRead.o VSLRead.C
In file included from VSLRead.C:112:
/usr/share/misc/bison.simple:302: unterminated `#else' conditional
VSLRead.C: In function `int VSLLib_parse()':
VSLRead.C:120: parse error before `{'
VSLRead.C:123: `s' undeclared (first use this function)
VSLRead.C:123: (Each undeclared identifier is reported only once
VSLRead.C:123: for each function it appears in.)
VSLRead.C:124: `_lib_name' undeclared (first use this function)
VSLRead.C:129: warning: implicit declaration of function `int parse(...)'
VSLRead.C:138: warning: implicit declaration of function `int process(...)'
VSLRead.C:138: `optimizeMode' undeclared (first use this function)
VSLRead.C:143: invalid use of `this' in non-member function
/usr/share/misc/bison.simple:293: warning: unused variable `struct _YYSTYPE * vs
lvs1'
VSLRead.C:149: parse error before `{'
/usr/share/misc/bison.simple:259: warning: unused variable `int vsllen'
/usr/share/misc/bison.simple:255: warning: unused variable `struct _YYSTYPE vslv
al'
/usr/share/misc/bison.simple:225: warning: unused variable `int vslchar1'
/usr/share/misc/bison.simple:221: warning: unused variable `int vsln'
/usr/share/misc/bison.simple:285: warning: label `vslnewstate' defined but not u
sed
VSLRead.C:158: warning: control reaches end of non-void function `VSLLib_parse()
'
VSLRead.C: At top level:
VSLRead.C:160: warning: ANSI C++ forbids declaration `vslfilename' with no type
or storage class
VSLRead.C:160: conflicting types for `int vslfilename'
VSLRead.C:74: previous declaration as `class string vslfilename'
VSLRead.C:160: `lib_name' was not declared in this scope
VSLRead.C:162: new declaration `int switchreset()'
./vsl-lex.L:306: ambiguates old declaration `void switchreset()'
VSLRead.C:163: parse error before `if'
VSLRead.C:167: warning: ANSI C++ forbids declaration `topstack' with no type or
storage class
VSLRead.C:167: redefinition of `int topstack'
./vsl-lex.L:46: `int topstack' previously defined here
VSLRead.C:168: `optimizeMode' was not declared in this scope
VSLRead.C:168: warning: ANSI C++ forbids declaration `read' with no type or stor
age class
VSLRead.C:168: `int read' redeclared as different kind of symbol
/usr/include/unistd.h:94: previous declaration of `int read(int, void *, unsigne
d int)'
VSLRead.C:168: warning: initializer list being treated as compound expression
VSLRead.C:169: parse error before `}'
VSLRead.C:72: warning: `class VSLLib * vsllib' defined but not used
VSLRead.C:162: warning: `int switchreset()' defined but not used
gmake[1]: *** [VSLRead.o] Error 1
gmake[1]: Leaving directory `/home2/ports/devel/ddd/work/ddd-3.1.5/ddd'
gmake: *** [all] Error 1
*** Error code 2

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
Comment 1 Steve Price freebsd_committer freebsd_triage 1999-06-08 23:24:54 UTC
Responsible Changed
From-To: freebsd-ports->obrien

Over to port's maintainer. 
Comment 2 David E. O'Brien freebsd_committer freebsd_triage 1999-06-16 08:57:34 UTC
State Changed
From-To: open->closed

Fixed by using byacc rather than bison. 

Comment 3 dfilter service freebsd_committer freebsd_triage 2008-01-12 19:37:24 UTC
maxim       2008-01-12 19:37:18 UTC

  FreeBSD src repository

  Modified files:
    share/man/man9       mbuf_tags.9 
  Log:
  o Do not claim vlan(4) uses mbuf_tags(9).
  
  PR:             docs/11959
  Submitted by:   Alexander Chernikov
  MFC after:      1 week
  
  Revision  Changes    Path
  1.8       +3 -4      src/share/man/man9/mbuf_tags.9
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"