New GCC for compiling - Still problems

Kaysee Long <[email protected]> Thu, 18 Mar 2004 17:50:09 -0500
Newsgroups gmane.network.ftp.wuftpd.user
Message-ID <OFFA860003.6AF9C23B-ON85256E5B.007D4622-85256E5B.007D5011@us.ibm.com>



Sorry this is a resend - I didn't realize I had the first part on there -
this is clearer:


ok I have a new GCC, I am still getting and error - I am still on AIX 5.1
ML05 and the gcc is 3.3.2 and this is what I am getting, can anyone help
me?:




$ ./build CC=gcc aix LF=yes

IMPORTANT NOTICE

Beginning with version 2.6.0, the WU-FTPD Development Group is moving the
build process to use GNU Autoconf.  Until this move is completed, both
build systems will remain supported.  You are encouraged to use the new
"configure" command to select options, then "make" to compile the daemon.
For details on this, read the README.AUTOCONF file.
If problems occur, please report them to the development group via email to
[email protected]  We are soliciting feedback on the new
configuration process, and your help is greatly appreciated.

If you choose to continue to use the original build process, bear in mind
it will be phased out over the next few releases: when we are reasonably
sure the new configuration system works for most target platforms.

Sleeping for five seconds, sorry for the interruption.
make args are :
make opts are :  CC=gcc LF=yes

Copying Makefiles.

Linking src/config.h

Making support library.
        gcc  -c getusershell.c
getusershell.c: In function `getusershell':
getusershell.c:160: warning: comparison between pointer and integer
        gcc  -c strcasestr.c
        gcc  -c strsep.c
        gcc  -c authuser.c
        rm -f libsupport.a
        ar cq libsupport.a getusershell.o strcasestr.o strsep.o  authuser.o
        ranlib libsupport.a

Making ftpd.
        gcc  -c COPYRIGHT.c
        sh newvers.sh
        gcc  -c vers.c
        gcc  -c ftpd.c
        yacc  ftpcmd.y
        mv y.tab.c ftpcmd.c
        gcc  -c ftpcmd.c
        gcc  -c glob.c
        gcc  -c logwtmp.c
        gcc  -c popen.c
        gcc  -c access.c
        gcc  -c extensions.c
extensions.c: In function `newer':
extensions.c:953: error: conflicting types for `ftw'
/usr/include/ftw.h:73: error: previous declaration of `ftw'
extensions.c:953: warning: extern declaration of `ftw' doesn't match global
one
make: 1254-004 The error code from the last command is 1.


Stop.

Making ftpcount.
        gcc  -c ftpcount.c
        gcc -L../support -o ftpcount COPYRIGHT.o vers.o ftpcount.o
-lsupport -l

Making ftpshut.
        gcc  -c ftpshut.c
        gcc  -c rdservers.c
        gcc -L../support -o ftpshut COPYRIGHT.o vers.o ftpshut.o
rdservers.o -l
upport -ls

Making ftprestart.
        gcc  -c ftprestart.c
        gcc -L../support -o ftprestart COPYRIGHT.o vers.o ftprestart.o
rdserver
.o -lsupport -ls

Making ckconfig.
        gcc  -c ckconfig.c
        gcc -L../support -o ckconfig COPYRIGHT.o vers.o ckconfig.o
rdservers.o
lsupport -ls

Making privatepw.
        gcc  -L../support -o privatepw COPYRIGHT.o vers.o
../util/privatepw/pri
atepw.c -lsupport -ls

Executables are in bin directory:
size: 0654-304 Cannot open bin/ftpd.
bin/ftpcount: 36528 + 2988 + 168 + 3566 + 52036 = 95286
bin/ftpshut: 39208 + 3008 + 6316 + 3671 + 52036 = 104239
bin/ftprestart: 36368 + 2920 + 8360 + 3250 + 52036 = 102934
bin/ftpwho: 36528 + 2988 + 168 + 3566 + 52036 = 95286
bin/ckconfig: 34264 + 2932 + 4260 + 2992 + 52036 = 96484
bin/privatepw: 37184 + 3140 + 444 + 3772 + 52036 = 96576
Done
$