Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Mar 1998 10:23:18 +1000
From:      "James Gardiner" <james@planetx.com.au>
To:        <freebsd-stable@FreeBSD.ORG>
Subject:   New player.  Bad compile.
Message-ID:  <004401bd463a$91f80540$6b580cca@encoder.planetx.com.au>

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

Hello,
I decided to implement the freebsd-stable on my system, mainly because I has
some peoblems with hard drives and I wanted to update to the best version
available.  From reading all I can find, freebsd-stable is the best bet.
(Ie current release plus fixes.)

I was surprised when I had a compile error as follows this message.
My current system is uname -a:
FreeBSD pixel.planetx.com.au 2.2.1-RELEASE FreeBSD 2.2.1-RELEASE #0: Fri Jan
16 22:24:56 EST 1998
james@pixel.planetx.com.au:/usr/src/sys/compile/PIXEL  i386
--

And the compile error occures in
libexec/ftpd

Any help appriciated.
James


---
# make
cc -O -DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall   -c
ftpcmd.c
y.tab.c: In function `yyparse':
y.tab.c:1102: `buf' undeclared (first use this function)
y.tab.c:1102: (Each undeclared identifier is reported only once
y.tab.c:1102: for each function it appears in.)
y.tab.c:1103: `stbuf' undeclared (first use this function)
y.tab.c:1117: warning: unreachable code at beginning of switch statement
y.tab.c:1070: label `yyabort' used but not defined
y.tab.c:1016: label `yyoverflow' used but not defined
y.tab.c:1120: warning: control reaches end of non-void function
y.tab.c: At top level:
y.tab.c:1121: parse error before `break'
/usr/src/libexec/ftpd/ftpcmd.y:528: parse error before `0'
/usr/src/libexec/ftpd/ftpcmd.y:528: conflicting types for `dologout'
/usr/src/libexec/ftpd/extern.h:41: previous declaration of `dologout'
/usr/src/libexec/ftpd/ftpcmd.y:528: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:540: conflicting types for `restart_point'
/usr/src/libexec/ftpd/ftpcmd.y:93: previous declaration of `restart_point'
/usr/src/libexec/ftpd/ftpcmd.y:540: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:541: parse error before `if'
/usr/src/libexec/ftpd/ftpcmd.y:551: redefinition of `restart_point'
/usr/src/libexec/ftpd/ftpcmd.y:540: `restart_point' previously defined here
/usr/src/libexec/ftpd/ftpcmd.y:551: initializer element is not constant
/usr/src/libexec/ftpd/ftpcmd.y:551: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:552: parse error before `350'
/usr/src/libexec/ftpd/ftpcmd.y:553: conflicting types for `reply'
/usr/src/libexec/ftpd/extern.h:57: previous declaration of `reply'
/usr/src/libexec/ftpd/ftpcmd.y:553: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:581: warning: initialization makes integer
from p
ointer without a cast
/usr/src/libexec/ftpd/ftpcmd.y:581: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:582: conflicting types for `p'
/usr/src/libexec/ftpd/ftpcmd.y:581: previous declaration of `p'
/usr/src/libexec/ftpd/ftpcmd.y:582: invalid initializer
/usr/src/libexec/ftpd/ftpcmd.y:582: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:582: conflicting types for `p'
/usr/src/libexec/ftpd/ftpcmd.y:582: previous declaration of `p'
/usr/src/libexec/ftpd/ftpcmd.y:582: invalid initializer
/usr/src/libexec/ftpd/ftpcmd.y:582: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:583: warning: initialization makes integer
from p
ointer without a cast
/usr/src/libexec/ftpd/ftpcmd.y:583: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:584: conflicting types for `a'
/usr/src/libexec/ftpd/ftpcmd.y:583: previous declaration of `a'
/usr/src/libexec/ftpd/ftpcmd.y:584: invalid initializer
/usr/src/libexec/ftpd/ftpcmd.y:584: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:584: conflicting types for `a'
/usr/src/libexec/ftpd/ftpcmd.y:584: previous declaration of `a'
/usr/src/libexec/ftpd/ftpcmd.y:584: invalid initializer
/usr/src/libexec/ftpd/ftpcmd.y:584: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:584: conflicting types for `a'
/usr/src/libexec/ftpd/ftpcmd.y:584: previous declaration of `a'
/usr/src/libexec/ftpd/ftpcmd.y:584: invalid initializer
/usr/src/libexec/ftpd/ftpcmd.y:584: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:584: conflicting types for `a'
/usr/src/libexec/ftpd/ftpcmd.y:584: previous declaration of `a'
/usr/src/libexec/ftpd/ftpcmd.y:584: invalid initializer
/usr/src/libexec/ftpd/ftpcmd.y:584: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:585: parse error before `}'
/usr/src/libexec/ftpd/ftpcmd.y:607: conflicting declarations of `cmd_form'
/usr/src/libexec/ftpd/ftpcmd.y:96: `cmd_form' previously declared here
/usr/src/libexec/ftpd/ftpcmd.y:607: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:608: parse error before `}'
/usr/src/libexec/ftpd/ftpcmd.y:612: redefinition of `cmd_form'
/usr/src/libexec/ftpd/ftpcmd.y:607: `cmd_form' previously defined here
/usr/src/libexec/ftpd/ftpcmd.y:612: initializer element is not constant
/usr/src/libexec/ftpd/ftpcmd.y:612: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:613: parse error before `}'
/usr/src/libexec/ftpd/ftpcmd.y:617: redefinition of `cmd_form'
/usr/src/libexec/ftpd/ftpcmd.y:612: `cmd_form' previously defined here
/usr/src/libexec/ftpd/ftpcmd.y:617: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:618: parse error before `}'
/usr/src/libexec/ftpd/ftpcmd.y:622: redefinition of `cmd_form'
/usr/src/libexec/ftpd/ftpcmd.y:617: `cmd_form' previously defined here
/usr/src/libexec/ftpd/ftpcmd.y:622: initializer element is not constant
/usr/src/libexec/ftpd/ftpcmd.y:622: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:623: parse error before `}'
/usr/src/libexec/ftpd/ftpcmd.y:631: conflicting declarations of `cmd_bytesz'
/usr/src/libexec/ftpd/ftpcmd.y:97: `cmd_bytesz' previously declared here
/usr/src/libexec/ftpd/ftpcmd.y:631: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:632: parse error before `}'
/usr/src/libexec/ftpd/ftpcmd.y:636: redefinition of `cmd_bytesz'
/usr/src/libexec/ftpd/ftpcmd.y:631: `cmd_bytesz' previously defined here
/usr/src/libexec/ftpd/ftpcmd.y:636: initializer element is not constant
/usr/src/libexec/ftpd/ftpcmd.y:636: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:637: parse error before `}'
/usr/src/libexec/ftpd/ftpcmd.y:642: redefinition of `cmd_bytesz'
/usr/src/libexec/ftpd/ftpcmd.y:636: `cmd_bytesz' previously defined here
/usr/src/libexec/ftpd/ftpcmd.y:642: initializer element is not constant
/usr/src/libexec/ftpd/ftpcmd.y:642: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:643: parse error before `}'
/usr/src/libexec/ftpd/ftpcmd.y:689: parse error before `&'
/usr/src/libexec/ftpd/ftpcmd.y:697: parse error before `&'
/usr/src/libexec/ftpd/ftpcmd.y:697: conflicting types for `globfree'
/usr/include/glob.h:87: previous declaration of `globfree'
/usr/src/libexec/ftpd/ftpcmd.y:697: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:698: parse error before `['
/usr/src/libexec/ftpd/ftpcmd.y:698: conflicting types for `free'
/usr/include/stdlib.h:94: previous declaration of `free'
/usr/src/libexec/ftpd/ftpcmd.y:698: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:717: initializer element is not constant
/usr/src/libexec/ftpd/ftpcmd.y:717: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:718: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:719: warning: data definition has no type or
stor
age class
/usr/src/libexec/ftpd/ftpcmd.y:720: parse error before `while'
y.tab.c:1352: initializer element is not constant
y.tab.c:1352: warning: data definition has no type or storage class
y.tab.c:1353: parse error before `-='
y.tab.c:1354: `yyn' undeclared here (not in a function)
y.tab.c:1354: warning: data definition has no type or storage class
y.tab.c:1355: parse error before `if'
ftpcmd.c:18: warning: `yygrowstack' declared `static' but never defined
/usr/src/libexec/ftpd/ftpcmd.y:95: warning: `cmd_type' defined but not used
/usr/src/libexec/ftpd/ftpcmd.y:1186: warning: `help' defined but not used
/usr/src/libexec/ftpd/ftpcmd.y:1251: warning: `sizecmd' defined but not used
*** Error code 1

Stop.
#



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004401bd463a$91f80540$6b580cca>