Having trouble compiling

Kaysee Long <[email protected]> Wed, 17 Mar 2004 17:04:25 -0500
Newsgroups gmane.network.ftp.wuftpd.user
Message-ID <OF717EFE17.48045C19-ON85256E5A.0078985F-85256E5A.0079256D@us.ibm.com>



I am using a newly build machine and I can't compile, does anyone know why?

This is where the error is, I am on an AIX 5.1 machine 32 bit,

./build CC=gcc aix LF=yes
:

/usr/include/sys/user.h:476: parse error before '}' token
getusershell.c: In function `getusershell':
getusershell.c:160: warning: comparison between pointer and integer
make: 1254-004 The error code from the last command is 1.


Stop.


Making ftpd.
        gcc  -c COPYRIGHT.c
        sh newvers.sh
        gcc  -c vers.c
        gcc  -c ftpd.c
In file included from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1
/inc
e/sys/signal.h:309,
                 from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1
/inc
e/sys/wait.h:62,
                 from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1
/inc
e/stdlib.h:235,
                 from config.h:70,
                 from ftpd.c:28:
/usr/include/sys/context.h:155: parse error before "sigset64_t"
/usr/include/sys/context.h:158: parse error before '}' token
make: 1254-004 The error code from the last command is 1.


Stop.

Making ftpcount.
        gcc  -c ftpcount.c
In file included from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1
/inc
e/sys/signal.h:309,
                 from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1
/inc
e/sys/wait.h:62,
                 from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1
/inc
e/stdlib.h:235,
                 from config.h:70,
                 from ftpcount.c:27:
/usr/include/sys/context.h:155: parse error before "sigset64_t"
/usr/include/sys/context.h:158: parse error before '}' token
make: 1254-004 The error code from the last command is 1.


Stop.

Making ftpshut.
        gcc  -c ftpshut.c
In file included from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1
/inc
e/sys/signal.h:309,
                 from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1
/inc
e/sys/wait.h:62,
                 from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1
/inc
e/stdlib.h:235,
                 from config.h:70,
                 from ftpshut.c:32:
/usr/include/sys/context.h:155: parse error before "sigset64_t"
/usr/include/sys/context.h:158: parse error before '}' token
make: 1254-004 The error code from the last command is 1.


Stop.

Making ftprestart.
        gcc  -c ftprestart.c
In file included from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1
/inc
e/sys/signal.h:309,
                 from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1
/inc
e/sys/wait.h:62,
                 from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1
/inc
e/stdlib.h:235,
                 from config.h:70,
                 from ftprestart.c:47:
/usr/include/sys/context.h:155: parse error before "sigset64_t"
/usr/include/sys/context.h:158: parse error before '}' token
make: 1254-004 The error code from the last command is 1.


Stop.

Making ckconfig.
        gcc  -c ckconfig.c
In file included from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1
/inc
e/sys/signal.h:309,
                 from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1
/inc
e/sys/wait.h:62,
                 from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1
/inc
e/stdlib.h:235,
                 from config.h:70,
                 from ckconfig.c:27:
/usr/include/sys/context.h:155: parse error before "sigset64_t"
/usr/include/sys/context.h:158: parse error before '}' token
make: 1254-004 The error code from the last command is 1.


Stop.

Making privatepw.
        gcc  -L../support -o privatepw COPYRIGHT.o vers.o
../util/privatepw/p
atepw.c -lsupport -ls
In file included from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1
/inc
e/sys/signal.h:309,
                 from ../util/privatepw/privatepw.c:40:
/usr/include/sys/context.h:155: parse error before "sigset64_t"
/usr/include/sys/context.h:158: parse error before '}' token
make: 1254-004 The error code from the last command is 1.


  Copyright (c) 1999,2000,2001 WU-FTPD Development Group.
  All rights reserved.

  Portions Copyright (c) 1980, 1985, 1988, 1989, 1990, 1991, 1993, 1994
    The Regents of the University of California.
  Portions Copyright (c) 1993, 1994 Washington University in Saint Louis.
  Portions Copyright (c) 1996, 1998 Berkeley Software Design, Inc.
  Portions Copyright (c) 1989 Massachusetts Institute of Technology.
  Portions Copyright (c) 1998 Sendmail, Inc.
  Portions Copyright (c) 1983, 1995, 1996, 1997 Eric P.  Allman.
  Portions Copyright (c) 1997 by Stan Barber.
  Portions Copyright (c) 1997 by Kent Landfield.
  Portions Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997
    Free Software Foundation, Inc.

  Use and distribution of this software and its source code are governed
  by the terms and conditions of the WU-FTPD Software License ("LICENSE").

  If you did not receive a copy of the license, it may be obtained online
  at http://www.wu-ftpd.org/license.html.

  $Id: README,v 1.7.2.1 2001/11/29 17:54:01 wuftpd Exp $

=================
= RELEASE NOTES =
=================

WU-FTP SERVER, RELEASE 2.6.2 - November, 2001

wu-ftpd is a replacement ftp server for Un*x systems.  Besides supporting
the ftp protocol defined in RFC 959, it adds the following features:

    o  logging of transfers
    o  logging of commands
    o  on the fly compression and archiving
    o  classification of users on type and location
    o  per class limits
    o  per directory upload permissions
    o  restricted guest accounts
    o  system wide and per directory messages.
    o  directory alias
    o  cdpath
    o  filename filter
    o  virtual host support

This release is maintained by the WU-FTPD Development Group as a public
service to the Internet.  Please report problems to the development group
at [email protected].  Be sure to include a specific description
of how to reproduce the bug, your hardware and software release levels and
the name and version of the compiler you used to build the server.

It is strongly recommended that you READ ALL THESE FILES before you start
attempting to to install this software:

        o INSTALL covers basic installation.
:q