Subject: jftpgw under NetBSD 2.0
To: None <netbsd-users@NetBSD.org>
From: Joe Lim <Joe.Lim@sit.edu.my>
List: netbsd-users
Date: 08/16/2004 13:30:55
I was trying to compile jftpgw (/usr/pkgsrc/net/jftpgw) under nbsd 2.0
and i encountered the following errors:


cd . && autoheader
WARNING: `autoheader' is missing on your system.  You should only need it if
         you modified `acconfig.h' or `configure.in'.  You might want
         to install the `Autoconf' and `GNU m4' packages.  Grab them
         from any GNU archive site.
/usr/bin/make  all-recursive
Making all in support
cd ..  && CONFIG_FILES=support/Makefile CONFIG_HEADERS= /bin/sh 
./config.status
creating support/Makefile
Making all in doc
cd ..  && CONFIG_FILES=doc/Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating doc/Makefile
true
Making all in debian
cd ..  && CONFIG_FILES=debian/Makefile CONFIG_HEADERS= /bin/sh 
./config.status
creating debian/Makefile
true
cd .  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating Makefile
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -Wall -c active.c
In file included from jftpgw.h:42,
                 from active.c:19:
log.h:39: warning: conflicting types for built-in function `log'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -Wall -c bindport.c
In file included from jftpgw.h:42,
                 from bindport.c:21:
log.h:39: warning: conflicting types for built-in function `log'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -Wall -c cmds.c
In file included from jftpgw.h:42,
                 from cmds.c:23:
log.h:39: warning: conflicting types for built-in function `log'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -Wall -c config.c
In file included from jftpgw.h:42,
                 from config.c:19:
log.h:39: warning: conflicting types for built-in function `log'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -Wall -c jftpgw.c
In file included from jftpgw.h:42,
                 from jftpgw.c:34:
log.h:39: warning: conflicting types for built-in function `log'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -Wall -c log.c
In file included from jftpgw.h:42,
                 from log.c:47:
log.h:39: warning: conflicting types for built-in function `log'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -Wall -c login.c
In file included from jftpgw.h:42,
                 from login.c:19:
log.h:39: warning: conflicting types for built-in function `log'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -O2 -Wall -c openport.c
In file included from jftpgw.h:42,
                 from openport.c:25:
log.h:39: warning: conflicting types for built-in function `log'
In file included from openport.c:30:
support/ipfilter.c: In function `get_realdst':
support/ipfilter.c:58: error: `IPL_NAT' undeclared (first use in this function)
support/ipfilter.c:58: error: (Each undeclared identifier is reported only once
support/ipfilter.c:58: error: for each function it appears in.)
openport.c: In function `openportname':
openport.c:291: warning: dereferencing type-punned pointer will break strict-aliasing 
rules
*** Error code 1
 
Stop.
make: stopped in /usr/pkgsrc/net/jftpgw/work/jftpgw-0.13.4
*** Error code 1
 
Stop.
make: stopped in /usr/pkgsrc/net/jftpgw/work/jftpgw-0.13.4
*** Error code 1
 
Stop.
make: stopped in /usr/pkgsrc/net/jftpgw/work/jftpgw-0.13.4
*** Error code 1
 
Stop.
make: stopped in /usr/pkgsrc/net/jftpgw
*** Error code 1
 
Stop.


Anyone can suggest solutions? 
Thank you..


Regards,
Joe Lim