public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* building wu-ftpd-2.6.0
@ 2004-07-12 19:47 johnny
  2004-07-14 15:14 ` Claudio Bley
  0 siblings, 1 reply; 2+ messages in thread
From: johnny @ 2004-07-12 19:47 UTC (permalink / raw)
  To: gcc-help

Hi list,

I'd like to build wu-ftpd-2.6.0 from tarball.

This package is somewhat out of date, (5 years old), but I do have a
specific reason for building this specific version.

I've attached make output to the end of this message.  Configure doesn't
show any errors. Make however, throws a bison error:

            make[1]: Entering directory /usr/local/src/wu-ftpd-2.6.0/src'
bison -y ftpcmd.y
ftpcmd.y:197.9: syntax error, unexpected "="
ftpcmd.y:205.9: syntax error, unexpected "="
ftpcmd.y:228.17-18: $2 of cmd' has no declared type

The output from make is much lengthier than this, but this should give the
general idea.

Can anyone tell me if it's possible to get this package built on my system?
(Description of my system configuration is at the end of this message).

I'm not sure from the output of make if I'll be able to get the thing made
properly at all, since this package is out of date, and I'm not familiar
with bison, or .y file syntax.  

Many thanks in advance for any consideration you can give this problem,

johnny@skydiveflorida.net 
"I've got a plan so cunning, you could pin a tail on it and call it a
weasel" - Black Adder

My system is a Intel P4 2.4GHz architecture running the GNU/Linux operating
system testing distribution 
Specifically:

jamiroquai:/usr/local/src/wu-ftpd-2.6.0# uname -a

Linux jamiroquai.skydive.net 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002
i686 unknown

The gcc versions and bison versions installed on my system are as follows:
            
            jamiroquai:/usr/local/src/wu-ftpd-2.6.0# dpkg -l | grep gcc

ii  gcc            3.3.3-2        The GNU C compiler
ii  gcc-2.95       2.95.4-22      The GNU C compiler
ii  gcc-3.0        3.0.4-7        The GNU C compiler.
ii  gcc-3.0-base   3.0.4-16       The GNU Compiler Collection (base package)
ii  gcc-3.3        3.3.4-1        The GNU C compiler
ii  gcc-3.3-base   3.3.4-1        The GNU Compiler Collection (base package)
ii  libgcc1        3.3.4-1        GCC support library

(default compiler is gcc 3.3.3-2)

            jamiroquai:/usr/local/src/wu-ftpd-2.6.0# dpkg -l | grep bison

ii  bison          1.875a-1.1     A parser generator that is compatible with
Y


make[1]: Entering directory /usr/local/src/wu-ftpd-2.6.0/support'
rm -f libsupport.a
ar cq libsupport.a authuser.o             
ranlib libsupport.a
make[1]: Leaving directory /usr/local/src/wu-ftpd-2.6.0/support'
(cd util/privatepw ; make all)
make[1]: Entering directory /usr/local/src/wu-ftpd-2.6.0/util/privatepw'
make[1]: Nothing to be done for all'.
make[1]: Leaving directory /usr/local/src/wu-ftpd-2.6.0/util/privatepw'
(cd src ; make all)
make[1]: Entering directory /usr/local/src/wu-ftpd-2.6.0/src'
bison -y ftpcmd.y
ftpcmd.y:197.9: syntax error, unexpected "="
ftpcmd.y:205.9: syntax error, unexpected "="
ftpcmd.y:228.17-18: $2 of cmd' has no declared type
ftpcmd.y:260.17-18: $2 of cmd' has no declared type
ftpcmd.y:271.17-18: $2 of cmd' has no declared type
ftpcmd.y:310.55-56: $4 of cmd' has no declared type
ftpcmd.y:311.17-18: $2 of cmd' has no declared type
ftpcmd.y:312.25-26: $4 of cmd' has no declared type
ftpcmd.y:325.55-56: $4 of cmd' has no declared type
ftpcmd.y:326.17-18: $2 of cmd' has no declared type
ftpcmd.y:327.25-26: $4 of cmd' has no declared type
ftpcmd.y:340.45-46: $4 of cmd' has no declared type
ftpcmd.y:341.17-18: $2 of cmd' has no declared type
ftpcmd.y:347.50-51: $4 of cmd' has no declared type
ftpcmd.y:347.54-55: invalid $ value
ftpcmd.y:347.54-55: $8 of cmd' has no declared type
ftpcmd.y:348.17-18: $2 of cmd' has no declared type
ftpcmd.y:354.55-56: $4 of cmd' has no declared type
ftpcmd.y:355.17-18: $2 of cmd' has no declared type
ftpcmd.y:355.23-24: $4 of cmd' has no declared type
ftpcmd.y:355.53-54: $4 of cmd' has no declared type
ftpcmd.y:357.41-42: $4 of cmd' has no declared type
ftpcmd.y:359.17-18: $4 of cmd' has no declared type
ftpcmd.y:360.22-23: $4 of cmd' has no declared type
ftpcmd.y:365.55-56: $4 of cmd' has no declared type
ftpcmd.y:366.17-18: $2 of cmd' has no declared type
ftpcmd.y:366.23-24: $4 of cmd' has no declared type
ftpcmd.y:366.53-54: $4 of cmd' has no declared type
ftpcmd.y:367.23-24: $4 of cmd' has no declared type
ftpcmd.y:368.17-18: $4 of cmd' has no declared type
ftpcmd.y:369.22-23: $4 of cmd' has no declared type
ftpcmd.y:374.55-56: $4 of cmd' has no declared type
ftpcmd.y:375.17-18: $2 of cmd' has no declared type
ftpcmd.y:375.23-24: $4 of cmd' has no declared type
ftpcmd.y:375.53-54: $4 of cmd' has no declared type
ftpcmd.y:376.23-24: $4 of cmd' has no declared type
ftpcmd.y:377.17-18: $4 of cmd' has no declared type
ftpcmd.y:378.22-23: $4 of cmd' has no declared type
ftpcmd.y:384.17-18: $2 of cmd' has no declared type
ftpcmd.y:390.45-46: $4 of cmd' has no declared type
ftpcmd.y:391.17-18: $2 of cmd' has no declared type
ftpcmd.y:391.23-24: $4 of cmd' has no declared type
ftpcmd.y:391.45-46: $4 of cmd' has no declared type
ftpcmd.y:392.32-33: $4 of cmd' has no declared type
ftpcmd.y:393.17-18: $4 of cmd' has no declared type
ftpcmd.y:394.22-23: $4 of cmd' has no declared type
ftpcmd.y:400.17-18: $2 of cmd' has no declared type
ftpcmd.y:415.55-56: $4 of cmd' has no declared type
ftpcmd.y:416.17-18: $2 of cmd' has no declared type
ftpcmd.y:416.23-24: $4 of cmd' has no declared type
ftpcmd.y:416.58-59: $4 of cmd' has no declared type
ftpcmd.y:420.39-40: $4 of cmd' has no declared type
ftpcmd.y:422.40-41: $4 of cmd' has no declared type
ftpcmd.y:424.20-21: $4 of cmd' has no declared type
ftpcmd.y:427.17-18: $4 of cmd' has no declared type
ftpcmd.y:428.22-23: $4 of cmd' has no declared type
ftpcmd.y:433.55-56: $4 of cmd' has no declared type
ftpcmd.y:434.17-18: $2 of cmd' has no declared type
ftpcmd.y:434.23-24: $4 of cmd' has no declared type
ftpcmd.y:434.53-54: $4 of cmd' has no declared type
ftpcmd.y:435.29-30: $4 of cmd' has no declared type
ftpcmd.y:436.17-18: $4 of cmd' has no declared type
ftpcmd.y:437.22-23: $4 of cmd' has no declared type
ftpcmd.y:443.17-18: $2 of cmd' has no declared type
ftpcmd.y:449.55-56: $4 of cmd' has no declared type
ftpcmd.y:450.17-18: $2 of cmd' has no declared type
ftpcmd.y:450.23-24: $4 of cmd' has no declared type
ftpcmd.y:450.53-54: $4 of cmd' has no declared type
ftpcmd.y:451.24-25: $4 of cmd' has no declared type
ftpcmd.y:452.17-18: $4 of cmd' has no declared type
ftpcmd.y:453.22-23: $4 of cmd' has no declared type
ftpcmd.y:458.55-56: $4 of cmd' has no declared type
ftpcmd.y:459.17-18: $2 of cmd' has no declared type
ftpcmd.y:459.23-24: $4 of cmd' has no declared type
ftpcmd.y:459.45-46: $4 of cmd' has no declared type
ftpcmd.y:461.41-42: $4 of cmd' has no declared type
ftpcmd.y:469.17-18: $4 of cmd' has no declared type
ftpcmd.y:470.22-23: $4 of cmd' has no declared type
ftpcmd.y:476.17-18: $2 of cmd' has no declared type
ftpcmd.y:483.17-18: $2 of cmd' has no declared type
ftpcmd.y:489.54-55: $4 of cmd' has no declared type
ftpcmd.y:490.17-18: $2 of cmd' has no declared type
ftpcmd.y:490.23-24: $4 of cmd' has no declared type
ftpcmd.y:490.53-54: $4 of cmd' has no declared type
ftpcmd.y:491.21-22: $4 of cmd' has no declared type
ftpcmd.y:492.17-18: $4 of cmd' has no declared type
ftpcmd.y:493.22-23: $4 of cmd' has no declared type
ftpcmd.y:499.17-18: $2 of cmd' has no declared type
ftpcmd.y:504.42-43: $4 of cmd' has no declared type
ftpcmd.y:507.45-46: $4 of cmd' has no declared type
ftpcmd.y:508.17-18: $2 of cmd' has no declared type
ftpcmd.y:510.35-36: $4 of cmd' has no declared type
ftpcmd.y:519.34-35: $4 of cmd' has no declared type
ftpcmd.y:520.17-18: $4 of cmd' has no declared type
ftpcmd.y:521.22-23: $4 of cmd' has no declared type
ftpcmd.y:527.17-18: $2 of cmd' has no declared type
ftpcmd.y:533.54-55: $4 of cmd' has no declared type
ftpcmd.y:534.17-18: $2 of cmd' has no declared type
ftpcmd.y:534.23-24: $4 of cmd' has no declared type
ftpcmd.y:534.53-54: $4 of cmd' has no declared type
ftpcmd.y:535.25-26: $4 of cmd' has no declared type
ftpcmd.y:536.17-18: $4 of cmd' has no declared type
ftpcmd.y:537.22-23: $4 of cmd' has no declared type
ftpcmd.y:542.54-55: $4 of cmd' has no declared type
ftpcmd.y:543.17-18: $2 of cmd' has no declared type
ftpcmd.y:543.23-24: $4 of cmd' has no declared type
ftpcmd.y:543.53-54: $4 of cmd' has no declared type
ftpcmd.y:544.27-28: $4 of cmd' has no declared type
ftpcmd.y:545.17-18: $4 of cmd' has no declared type
ftpcmd.y:546.22-23: $4 of cmd' has no declared type
ftpcmd.y:552.17-18: $2 of cmd' has no declared type
ftpcmd.y:559.17-18: $2 of cmd' has no declared type
ftpcmd.y:570.17-18: $2 of cmd' has no declared type
ftpcmd.y:576.50-51: invalid $ value
ftpcmd.y:576.50-51: $6 of cmd' has no declared type
ftpcmd.y:577.17-18: $2 of cmd' has no declared type
ftpcmd.y:578.31-32: invalid $ value
ftpcmd.y:578.31-32: $6 of cmd' has no declared type
ftpcmd.y:579.17-18: invalid $ value
ftpcmd.y:579.17-18: $6 of cmd' has no declared type
ftpcmd.y:580.22-23: invalid $ value
ftpcmd.y:580.22-23: $6 of cmd' has no declared type
ftpcmd.y:588.17-18: $2 of cmd' has no declared type
ftpcmd.y:601.53-54: invalid $ value
ftpcmd.y:601.53-54: $6 of cmd' has no declared type
ftpcmd.y:602.17-18: $2 of cmd' has no declared type
ftpcmd.y:610.26-27: invalid $ value
ftpcmd.y:610.26-27: $6 of cmd' has no declared type
ftpcmd.y:610.38-39: invalid $ value
ftpcmd.y:610.38-39: $6 of cmd' has no declared type
ftpcmd.y:614.50-51: invalid $ value
ftpcmd.y:614.50-51: $6 of cmd' has no declared type
ftpcmd.y:615.68-69: invalid $ value
ftpcmd.y:615.68-69: $6 of cmd' has no declared type
ftpcmd.y:628.56-57: invalid $ value
ftpcmd.y:628.56-57: $6 of cmd' has no declared type
ftpcmd.y:628.70-71: invalid $ value
ftpcmd.y:628.70-71: $8 of cmd' has no declared type
ftpcmd.y:629.17-18: $2 of cmd' has no declared type
ftpcmd.y:629.23-24: invalid $ value
ftpcmd.y:629.23-24: $8 of cmd' has no declared type
ftpcmd.y:642.31-32: invalid $ value
ftpcmd.y:642.31-32: $8 of cmd' has no declared type
ftpcmd.y:642.44-45: invalid $ value
ftpcmd.y:642.44-45: $6 of cmd' has no declared type
ftpcmd.y:644.26-27: invalid $ value
ftpcmd.y:644.26-27: $6 of cmd' has no declared type
ftpcmd.y:644.38-39: invalid $ value
ftpcmd.y:644.38-39: $6 of cmd' has no declared type
ftpcmd.y:647.36-37: invalid $ value
ftpcmd.y:647.36-37: $8 of cmd' has no declared type
ftpcmd.y:647.49-50: invalid $ value
ftpcmd.y:647.49-50: $6 of cmd' has no declared type
ftpcmd.y:649.43-44: invalid $ value
ftpcmd.y:649.43-44: $8 of cmd' has no declared type
ftpcmd.y:653.37-38: invalid $ value
ftpcmd.y:653.37-38: $8 of cmd' has no declared type
ftpcmd.y:669.17-18: invalid $ value
ftpcmd.y:669.17-18: $8 of cmd' has no declared type
ftpcmd.y:670.22-23: invalid $ value
ftpcmd.y:670.22-23: $8 of cmd' has no declared type
ftpcmd.y:676.17-18: $2 of cmd' has no declared type
ftpcmd.y:684.50-51: invalid $ value
ftpcmd.y:684.50-51: $6 of cmd' has no declared type
ftpcmd.y:685.17-18: $2 of cmd' has no declared type
ftpcmd.y:686.21-22: invalid $ value
ftpcmd.y:686.21-22: $6 of cmd' has no declared type
ftpcmd.y:686.32-33: invalid $ value
ftpcmd.y:686.32-33: $6 of cmd' has no declared type
ftpcmd.y:692.36-37: invalid $ value
ftpcmd.y:692.36-37: $6 of cmd' has no declared type
ftpcmd.y:700.51-52: invalid $ value
ftpcmd.y:700.51-52: $6 of cmd' has no declared type
ftpcmd.y:701.37-38: $2 of cmd' has no declared type
ftpcmd.y:701.43-44: invalid $ value
ftpcmd.y:701.43-44: $6 of cmd' has no declared type
ftpcmd.y:702.28-29: invalid $ value
ftpcmd.y:702.28-29: $6 of cmd' has no declared type
ftpcmd.y:703.18-19: invalid $ value
ftpcmd.y:703.18-19: $6 of cmd' has no declared type
ftpcmd.y:711.37-38: $2 of cmd' has no declared type
ftpcmd.y:711.43-44: invalid $ value
ftpcmd.y:711.43-44: $6 of cmd' has no declared type
ftpcmd.y:712.28-29: invalid $ value
ftpcmd.y:712.28-29: $6 of cmd' has no declared type
ftpcmd.y:713.18-19: invalid $ value
ftpcmd.y:713.18-19: $6 of cmd' has no declared type
ftpcmd.y:721.37-38: $2 of cmd' has no declared type
ftpcmd.y:728.51-52: invalid $ value
ftpcmd.y:728.51-52: $6 of cmd' has no declared type
ftpcmd.y:730.17-18: $2 of cmd' has no declared type
ftpcmd.y:730.23-24: invalid $ value
ftpcmd.y:730.23-24: $6 of cmd' has no declared type
ftpcmd.y:731.23-24: invalid $ value
ftpcmd.y:731.23-24: $6 of cmd' has no declared type
ftpcmd.y:735.18-19: invalid $ value
ftpcmd.y:735.18-19: $6 of cmd' has no declared type
ftpcmd.y:740.54-55: invalid $ value
ftpcmd.y:740.54-55: $6 of cmd' has no declared type
ftpcmd.y:741.34-35: invalid $ value
ftpcmd.y:741.34-35: $8 of cmd' has no declared type
ftpcmd.y:743.17-18: $2 of cmd' has no declared type
ftpcmd.y:743.23-24: invalid $ value
ftpcmd.y:743.23-24: $6 of cmd' has no declared type
ftpcmd.y:743.29-30: invalid $ value
ftpcmd.y:743.29-30: $8 of cmd' has no declared type
ftpcmd.y:743.51-52: invalid $ value
ftpcmd.y:743.51-52: $8 of cmd' has no declared type
ftpcmd.y:744.23-24: invalid $ value
ftpcmd.y:744.23-24: $6 of cmd' has no declared type
ftpcmd.y:744.27-28: invalid $ value
ftpcmd.y:744.27-28: $8 of cmd' has no declared type
ftpcmd.y:748.18-19: invalid $ value
ftpcmd.y:748.18-19: $6 of cmd' has no declared type
ftpcmd.y:749.17-18: invalid $ value
ftpcmd.y:749.17-18: $8 of cmd' has no declared type
ftpcmd.y:750.22-23: invalid $ value
ftpcmd.y:750.22-23: $8 of cmd' has no declared type
ftpcmd.y:755.51-52: invalid $ value
ftpcmd.y:755.51-52: $6 of cmd' has no declared type
ftpcmd.y:756.17-18: $2 of cmd' has no declared type
ftpcmd.y:756.23-24: invalid $ value
ftpcmd.y:756.23-24: $6 of cmd' has no declared type
ftpcmd.y:757.23-24: invalid $ value
ftpcmd.y:757.23-24: $6 of cmd' has no declared type
ftpcmd.y:758.18-19: invalid $ value
ftpcmd.y:758.18-19: $6 of cmd' has no declared type
ftpcmd.y:763.54-55: invalid $ value
ftpcmd.y:763.54-55: $6 of cmd' has no declared type
ftpcmd.y:764.34-35: invalid $ value
ftpcmd.y:764.34-35: $8 of cmd' has no declared type
ftpcmd.y:765.17-18: $2 of cmd' has no declared type
ftpcmd.y:765.23-24: invalid $ value
ftpcmd.y:765.23-24: $6 of cmd' has no declared type
ftpcmd.y:765.29-30: invalid $ value
ftpcmd.y:765.29-30: $8 of cmd' has no declared type
ftpcmd.y:765.51-52: invalid $ value
ftpcmd.y:765.51-52: $8 of cmd' has no declared type
ftpcmd.y:766.23-24: invalid $ value
ftpcmd.y:766.23-24: $6 of cmd' has no declared type
ftpcmd.y:766.27-28: invalid $ value
ftpcmd.y:766.27-28: $8 of cmd' has no declared type
ftpcmd.y:767.18-19: invalid $ value
ftpcmd.y:767.18-19: $6 of cmd' has no declared type
ftpcmd.y:768.17-18: invalid $ value
ftpcmd.y:768.17-18: $8 of cmd' has no declared type
ftpcmd.y:769.22-23: invalid $ value
ftpcmd.y:769.22-23: $8 of cmd' has no declared type
ftpcmd.y:776.37-38: $2 of cmd' has no declared type
ftpcmd.y:776.48-49: invalid $ value
ftpcmd.y:776.48-49: $6 of cmd' has no declared type
ftpcmd.y:778.28-29: invalid $ value
ftpcmd.y:778.28-29: $6 of cmd' has no declared type
ftpcmd.y:779.55-56: invalid $ value
ftpcmd.y:779.55-56: $6 of cmd' has no declared type
ftpcmd.y:783.17-18: invalid $ value
ftpcmd.y:783.17-18: $6 of cmd' has no declared type
ftpcmd.y:784.22-23: invalid $ value
ftpcmd.y:784.22-23: $6 of cmd' has no declared type
ftpcmd.y:788.37-38: $2 of cmd' has no declared type
ftpcmd.y:788.48-49: invalid $ value
ftpcmd.y:788.48-49: $6 of cmd' has no declared type
ftpcmd.y:789.43-44: invalid $ value
ftpcmd.y:789.43-44: $6 of cmd' has no declared type
ftpcmd.y:791.17-18: invalid $ value
ftpcmd.y:791.17-18: $6 of cmd' has no declared type
ftpcmd.y:792.22-23: invalid $ value
ftpcmd.y:792.22-23: $6 of cmd' has no declared type
ftpcmd.y:798.55-56: $4 of cmd' has no declared type
ftpcmd.y:799.17-18: $2 of cmd' has no declared type
ftpcmd.y:799.23-24: $4 of cmd' has no declared type
ftpcmd.y:799.45-46: $4 of cmd' has no declared type
ftpcmd.y:800.23-24: $4 of cmd' has no declared type
ftpcmd.y:801.17-18: $4 of cmd' has no declared type
ftpcmd.y:802.22-23: $4 of cmd' has no declared type
ftpcmd.y:808.17-18: $2 of cmd' has no declared type
ftpcmd.y:831.55-56: $4 of cmd' has no declared type
ftpcmd.y:832.17-18: $2 of cmd' has no declared type
ftpcmd.y:832.23-24: $4 of cmd' has no declared type
ftpcmd.y:832.45-46: $4 of cmd' has no declared type
ftpcmd.y:833.25-26: $4 of cmd' has no declared type
ftpcmd.y:835.17-18: $4 of cmd' has no declared type
ftpcmd.y:836.22-23: $4 of cmd' has no declared type
ftpcmd.y:851.55-56: $4 of cmd' has no declared type
ftpcmd.y:852.17-18: $2 of cmd' has no declared type
ftpcmd.y:852.23-24: $4 of cmd' has no declared type
ftpcmd.y:852.45-46: $4 of cmd' has no declared type
ftpcmd.y:855.26-27: $4 of cmd' has no declared type
ftpcmd.y:856.39-40: $4 of cmd' has no declared type
ftpcmd.y:859.27-28: $4 of cmd' has no declared type
ftpcmd.y:870.17-18: $4 of cmd' has no declared type
ftpcmd.y:871.22-23: $4 of cmd' has no declared type
ftpcmd.y:894.9: syntax error, unexpected "="
ftpcmd.y:928.51-52: invalid $ value
ftpcmd.y:928.51-52: $6 of rcmd' has no declared type
ftpcmd.y:930.23-24: invalid $ value
ftpcmd.y:930.23-24: $6 of rcmd' has no declared type
ftpcmd.y:931.17-18: invalid $ value
ftpcmd.y:931.17-18: $6 of rcmd' has no declared type
ftpcmd.y:932.22-23: invalid $ value
ftpcmd.y:932.22-23: $6 of rcmd' has no declared type
ftpcmd.y:951.67-68: invalid $ value
ftpcmd.y:951.67-68: $6 of rcmd' has no declared type
ftpcmd.y:952.26-27: invalid $ value
ftpcmd.y:952.26-27: $6 of rcmd' has no declared type
ftpcmd.y:953.32-33: invalid $ value
ftpcmd.y:953.32-33: $6 of rcmd' has no declared type
ftpcmd.y:954.17-18: invalid $ value
ftpcmd.y:954.17-18: $6 of rcmd' has no declared type
ftpcmd.y:955.22-23: invalid $ value
ftpcmd.y:955.22-23: $6 of rcmd' has no declared type
ftpcmd.y:967.64-65: invalid $ value
ftpcmd.y:967.64-65: $6 of rcmd' has no declared type
ftpcmd.y:968.26-27: invalid $ value
ftpcmd.y:968.26-27: $6 of rcmd' has no declared type
ftpcmd.y:968.58-59: invalid $ value
ftpcmd.y:968.58-59: $6 of rcmd' has no declared type
ftpcmd.y:969.26-27: invalid $ value
ftpcmd.y:969.26-27: $6 of rcmd' has no declared type
ftpcmd.y:970.17-18: invalid $ value
ftpcmd.y:970.17-18: $6 of rcmd' has no declared type
ftpcmd.y:971.22-23: invalid $ value
ftpcmd.y:971.22-23: $6 of rcmd' has no declared type
ftpcmd.y:985.9: warning: empty rule for typed nonterminal, and no action
ftpcmd.y:986.9: syntax error, unexpected "="
ftpcmd.y:997.9: syntax error, unexpected "="
ftpcmd.y:1011.12: warning: type clash on default action: <Number> != <>
ftpcmd.y:1012.9: syntax error, unexpected "="
ftpcmd.y:1026.9: syntax error, unexpected "="
ftpcmd.y:1033.24-25: invalid $ value
ftpcmd.y:1033.24-25: $3 of type_code' has no declared type
ftpcmd.y:1043.24-25: invalid $ value
ftpcmd.y:1043.24-25: $3 of type_code' has no declared type
ftpcmd.y:1057.26-27: invalid $ value
ftpcmd.y:1057.26-27: $3 of type_code' has no declared type
ftpcmd.y:1063.26-27: invalid $ value
ftpcmd.y:1063.26-27: $2 of type_code' has no declared type
ftpcmd.y:1067.14: warning: type clash on default action: <Number> != <>
ftpcmd.y:1068.9: syntax error, unexpected "="
ftpcmd.y:1081.13: warning: type clash on default action: <Number> != <>
ftpcmd.y:1082.9: syntax error, unexpected "="
ftpcmd.y:1096.9: syntax error, unexpected "="
ftpcmd.y:1180.9: syntax error, unexpected "="
ftpcmd.y:1204.12: warning: empty rule for typed nonterminal, and no action
ftpcmd.y:1205.9: syntax error, unexpected "="
make[1]: *** [ftpcmd.c] Error 1
make[1]: Leaving directory /usr/local/src/wu-ftpd-2.6.0/src'
make: *** [all] Error 2



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: building wu-ftpd-2.6.0
  2004-07-12 19:47 building wu-ftpd-2.6.0 johnny
@ 2004-07-14 15:14 ` Claudio Bley
  0 siblings, 0 replies; 2+ messages in thread
From: Claudio Bley @ 2004-07-14 15:14 UTC (permalink / raw)
  To: gcc-help

On Mon, Jul 12, 2004 at 03:47:26PM -0400, johnny wrote:
> Hi list,
> 
> I'd like to build wu-ftpd-2.6.0 from tarball.
> 
> This package is somewhat out of date, (5 years old), but I do have a
> specific reason for building this specific version.
> 
> I've attached make output to the end of this message.  Configure doesn't
> show any errors. Make however, throws a bison error:
> 
>             make[1]: Entering directory /usr/local/src/wu-ftpd-2.6.0/src'
> bison -y ftpcmd.y
> ftpcmd.y:197.9: syntax error, unexpected "="
> ftpcmd.y:205.9: syntax error, unexpected "="
> ftpcmd.y:228.17-18: $2 of cmd' has no declared type

Your bison version is to new :) 

You need to enclose (all) the equal sign(s) in single quotes.

This should do it (in bash):

cp ftpcmd.y ftpcmd.y.orig
sed -e "s/=[ "$'\t'"][ "$'\t'"]*{/'=' {/" ftpcmd.y.orig > ftpcmd.y


Regards,
Claudio.

PS: your question was off topic on this ML.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-14 15:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-12 19:47 building wu-ftpd-2.6.0 johnny
2004-07-14 15:14 ` Claudio Bley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).