gmake all-am
gmake[1]: Entering directory `/backup/rssh-2.2.1'
gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/usr/local/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/local/libexec/rssh_chroot_helper\" -g -O2 rsshconf.c
gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/usr/local/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/local/libexec/rssh_chroot_helper\" -g -O2 log.c
gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/usr/local/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/local/libexec/rssh_chroot_helper\" -g -O2 util.c
gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/usr/local/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/local/libexec/rssh_chroot_helper\" -g -O2 argvec.c
argvec.c: In function `build_arg_vector':
argvec.c:68: error: `WRDE_DOOFFS' undeclared (first use in this function)
argvec.c:68: error: (Each undeclared identifier is reported only once
argvec.c:68: error: for each function it appears in.)
gmake[1]: *** [argvec.o] Error 1
gmake[1]: Leaving directory `/backup/rssh-2.2.1'
gmake: *** [all] Error 2
Here is the confuigure result if needed:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for strip... strip
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking wordexp.h usability... yes
checking wordexp.h presence... yes
checking for wordexp.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for an ANSI C-conforming const... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether lstat dereferences a symlink specified with a trailing slash... no
checking whether stat accepts an empty string... no
checking for memset... yes
checking for strdup... yes
checking for strtol... yes
checking for strerror... yes
checking for wordexp... yes
checking for basename... yes
checking for OpenSSH >= v3.5... yes - v3.6
checking for scp... /usr/bin/scp
checking for sftp-server... /usr/libexec/sftp-server
checking for cvs... /usr/bin/cvs
checking for rdist... no
configure: WARNING: can't find rdist - using /usr/bin/rdist. Use --with-rdist to override
configure: WARNING: specified rdist binary does not exist
checking for rsync... no
configure: WARNING: can't find rsync - using /usr/bin/rsync. Use --with-rsync to override
configure: WARNING: specified rsync binary does not exist
checking static compilation... secure SSH found - not compiling rssh statically
configure: creating ./config.status
config.status: creating Makefile
config.status: creating main.c
config.status: creating pathnames.h
config.status: creating rssh.conf.5
config.status: creating rssh.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Any help would be greatly appreciated.
Julian
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
make simply fails with the following error:
gmake all-am
gmake[1]: Entering directory `/backup/rssh-2.2.1'
gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/usr/local/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/local/libexec/rssh_chroot_helper\" -g -O2 rsshconf.c
gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/usr/local/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/local/libexec/rssh_chroot_helper\" -g -O2 log.c
gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/usr/local/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/local/libexec/rssh_chroot_helper\" -g -O2 util.c
gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/usr/local/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/local/libexec/rssh_chroot_helper\" -g -O2 argvec.c
argvec.c: In function `build_arg_vector':
argvec.c:68: error: `WRDE_DOOFFS' undeclared (first use in this function)
argvec.c:68: error: (Each undeclared identifier is reported only once
argvec.c:68: error: for each function it appears in.)
gmake[1]: *** [argvec.o] Error 1
gmake[1]: Leaving directory `/backup/rssh-2.2.1'
gmake: *** [all] Error 2
Here is the confuigure result if needed:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for strip... strip
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking wordexp.h usability... yes
checking wordexp.h presence... yes
checking for wordexp.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for an ANSI C-conforming const... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether lstat dereferences a symlink specified with a trailing slash... no
checking whether stat accepts an empty string... no
checking for memset... yes
checking for strdup... yes
checking for strtol... yes
checking for strerror... yes
checking for wordexp... yes
checking for basename... yes
checking for OpenSSH >= v3.5... yes - v3.6
checking for scp... /usr/bin/scp
checking for sftp-server... /usr/libexec/sftp-server
checking for cvs... /usr/bin/cvs
checking for rdist... no
configure: WARNING: can't find rdist - using /usr/bin/rdist. Use --with-rdist to override
configure: WARNING: specified rdist binary does not exist
checking for rsync... no
configure: WARNING: can't find rsync - using /usr/bin/rsync. Use --with-rsync to override
configure: WARNING: specified rsync binary does not exist
checking static compilation... secure SSH found - not compiling rssh statically
configure: creating ./config.status
config.status: creating Makefile
config.status: creating main.c
config.status: creating pathnames.h
config.status: creating rssh.conf.5
config.status: creating rssh.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Any help would be greatly appreciated.
Julian
Got it working!
There is a typo in /usr/include/wordexp.h
WRDE_DOOFS -> WRDE_DOOFFS
http://cvsup.pt.freebsd.org/cgi-bin/cvsweb/cvsweb.cgi/src/include/wordexp.h?rev=1.5&content-type=text/x-cvsweb-markup
After changes, installed fine on FreeBSD 5.2
--- Julian ---