[Bug 2034] New: make fails

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Aug 16 19:27:41 EST 2012


https://bugzilla.mindrot.org/show_bug.cgi?id=2034

          Priority: P5
            Bug ID: 2034
          Assignee: unassigned-bugs at mindrot.org
           Summary: make fails
          Severity: critical
    Classification: Unclassified
                OS: FreeBSD
          Reporter: kris.universe at gmail.com
          Hardware: amd64
            Status: NEW
           Version: 6.0p1
         Component: Build system
           Product: Portable OpenSSH

Pristine FreeBSD 9.0-RELEASE
Just building the stack with dependencies in proper order.
For e.g.:
Zlib 1.2.7 in place
OpenSSL 1.0.1c in place

Needed to compile OpenSSH-6.0p1 outside of FreeBSD ports since the
latest available port was 5.8p2
Downloaded the latest version afresh (opens-6.0p1.tar.gz)

./configure (no issues)

make breaks at loginrec.c compilation - displayed errors below:

gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare
-Wformat-security -Wno-pointer-sign -fno-strict-aliasing
-D_FORTIFY_SOURCE=2 -fno-builtin-memset -fstack-protector-all -I. -I. 
-DSSHDIR=\"/usr/local/etc\"  -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\"
 -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" 
-D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" 
-D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" 
-D_PATH_SSH_PKCS11_HELPER=\"/usr/local/libexec/ssh-pkcs11-helper\" 
-D_PATH_SSH_PIDDIR=\"/var/run\" 
-D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c loginrec.c
loginrec.c:633: warning: 'struct utmp' declared inside parameter list
loginrec.c:633: warning: its scope is only this definition or
declaration, which is probably not what you want
loginrec.c:645: warning: 'struct utmp' declared inside parameter list
loginrec.c: In function 'construct_utmp':
loginrec.c:651: error: dereferencing pointer to incomplete type
loginrec.c:676: warning: passing argument 2 of 'set_utmp_time' from
incompatible pointer type
loginrec.c:678: error: dereferencing pointer to incomplete type
loginrec.c:678: error: dereferencing pointer to incomplete type
loginrec.c:694: error: dereferencing pointer to incomplete type
loginrec.c:695: error: dereferencing pointer to incomplete type
loginrec.c:695: error: dereferencing pointer to incomplete type
loginrec.c: At top level:
loginrec.c:1090: warning: 'struct utmp' declared inside parameter list
loginrec.c: In function 'wtmp_write':
loginrec.c:1101: error: dereferencing pointer to incomplete type
loginrec.c:1101: error: dereferencing pointer to incomplete type
loginrec.c: In function 'wtmp_perform_login':
loginrec.c:1114: error: storage size of 'ut' isn't known
loginrec.c:1114: warning: unused variable 'ut'
loginrec.c: In function 'wtmp_perform_logout':
loginrec.c:1124: error: storage size of 'ut' isn't known
loginrec.c:1124: warning: unused variable 'ut'
loginrec.c: At top level:
loginrec.c:1165: warning: 'struct utmp' declared inside parameter list
loginrec.c: In function 'wtmp_islogin':
loginrec.c:1167: error: dereferencing pointer to incomplete type
loginrec.c:1168: error: dereferencing pointer to incomplete type
loginrec.c:1168: error: dereferencing pointer to incomplete type
loginrec.c: In function 'wtmp_get_entry':
loginrec.c:1183: error: storage size of 'ut' isn't known
loginrec.c:1202: error: invalid application of 'sizeof' to incomplete
type 'struct utmp' 
loginrec.c:1237: error: invalid application of 'sizeof' to incomplete
type 'struct utmp' 
loginrec.c:1183: warning: unused variable 'ut'
*** Error code 1

Stop in /var/new/openssh-6.0p1.


PLEASE HELP! Thanks!!

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list