need help in compiling inet6-apps0.35

John El-Rassi jelrassi@home.com
Thu, 11 Feb 1999 17:06:51 -0500


Hi there

I am trying to compile the inet6-apps-0.35 with no success (as we
earlier versions i've tried 0.30  and 0.34 no luck)

however net-tools -1.50  with ipv6 support compiled almost seamlessly.

I'm using a Linux box  Stampede Distro. with kernel 2.2.1  and glibc-2.1
(not a pre release but the recently released one)

i've tried all the patches with different setups, as described in the
howto at  www.bieringer.de to no avail. sorry to include
all the output of make but i thought it might be a clue into what i'm
doing wrong or not doing ..

the GNUmakefile.config has the following:
OS=Linux
LIBCAPI=1
LIBRESOLV=
RESOLVINC=
LIBCRYPT=

(there's more but i thought this is all that is of importance? !)

let me know. thanks and sorry for all the garbage. :) don't read beyond
this point as it's only how i envoked make clean then make
and it's output which i thought might clue someone to my erros

then i do a make clean.



then a make which prints out the following:



bash-2.02# make
make[1]: Entering directory `/usr/src/inet6-apps-0.35/lib'
cc  -I../include  -I. -DINET6=1  -DFASTCTO=10 -c addrcmp.c
cc  -I../include  -I. -DINET6=1  -DFASTCTO=10 -c misc.c
cc  -I../include  -I. -DINET6=1  -DFASTCTO=10 -c connect.c
a - addrcmp.o
a - misc.o
a - connect.o
make[1]: Leaving directory `/usr/src/inet6-apps-0.35/lib'
make[1]: Entering directory `/usr/src/inet6-apps-0.35/etc'
make[1]: Leaving directory `/usr/src/inet6-apps-0.35/etc'
make[1]: Entering directory `/usr/src/inet6-apps-0.35/finger'
cc -I../include  -DINET6=1    -c finger.c -o finger.o
finger.c: In function `loginlist':
finger.c:197: `R_FIRST' undeclared (first use in this function)
finger.c:197: (Each undeclared identifier is reported only once
finger.c:197: for each function it appears in.)
finger.c:197: `R_NEXT' undeclared (first use in this function)
finger.c:200: structure has no member named `seq'
finger.c: In function `userlist':
finger.c:284: `R_FIRST' undeclared (first use in this function)
finger.c:284: `R_NEXT' undeclared (first use in this function)
finger.c:287: structure has no member named `seq'
make[1]: *** [finger.o] Error 1
make[1]: Leaving directory `/usr/src/inet6-apps-0.35/finger'
make[1]: Entering directory `/usr/src/inet6-apps-0.35/fingerd'
cc -I../include  -DINET6=1 -D_PATH_FINGER=\"/usr/inet6/bin/finger\"   -c
fingerd.c -o fingerd.o
fingerd.c: In function `main':
fingerd.c:83: storage size of `su' isn't known
fingerd.c:146: warning: assignment makes pointer from integer without a
cast
fingerd.c:169: warning: assignment makes pointer from integer without a
cast
make[1]: *** [fingerd.o] Error 1
make[1]: Leaving directory `/usr/src/inet6-apps-0.35/fingerd'
make[1]: Entering directory `/usr/src/inet6-apps-0.35/ftp'
cc -I../include  -DINET6=1  -DINNER=1   -c ftp.c -o ftp.o
ftp.c: In function `hookup':
ftp.c:218: sizeof applied to an incomplete type
ftp.c:226: invalid use of undefined type `union sockaddr_union'
ftp.c: In function `initconn':
ftp.c:1095: invalid use of undefined type `union sockaddr_union'
ftp.c:1158: invalid use of undefined type `union sockaddr_union'
ftp.c:1158: invalid use of undefined type `union sockaddr_union'
ftp.c:1228: invalid use of undefined type `union sockaddr_union'
ftp.c:1245: invalid use of undefined type `union sockaddr_union'
ftp.c:1247: invalid use of undefined type `union sockaddr_union'
ftp.c:1250: invalid use of undefined type `union sockaddr_union'
ftp.c:1253: invalid use of undefined type `union sockaddr_union'
ftp.c:1258: invalid use of undefined type `union sockaddr_union'
ftp.c:1320: sizeof applied to an incomplete type
ftp.c:1351: invalid use of undefined type `union sockaddr_union'
ftp.c:1351: invalid use of undefined type `union sockaddr_union'
ftp.c:1427: invalid use of undefined type `union sockaddr_union'
ftp.c: In function `dataconn':
ftp.c:1449: storage size of `from' isn't known
ftp.c: In function `pswitch':
ftp.c:1540: field `mctl' has incomplete type
ftp.c:1541: field `hctl' has incomplete type
ftp.c: At top level:
ftp.c:87: storage size of `hisctladdr' isn't known
ftp.c:88: storage size of `data_addr' isn't known
ftp.c:89: storage size of `myctladdr' isn't known
make[1]: *** [ftp.o] Error 1
make[1]: Leaving directory `/usr/src/inet6-apps-0.35/ftp'
make[1]: Entering directory `/usr/src/inet6-apps-0.35/ftpd'
cc -I../include  -DINET6=1  -DINNER=1 -DSETPROCTITLE   -c ftpd.c -o
ftpd.o
ftpd.c: In function `main':
ftpd.c:259: sizeof applied to an incomplete type
ftpd.c:264: sizeof applied to an incomplete type
ftpd.c:271: invalid use of undefined type `union sockaddr_union'
ftpd.c:282: invalid use of undefined type `union sockaddr_union'
ftpd.c:284: invalid use of undefined type `union sockaddr_union'
ftpd.c:284: invalid use of undefined type `union sockaddr_union'
ftpd.c:287: invalid use of undefined type `union sockaddr_union'
ftpd.c:287: invalid use of undefined type `union sockaddr_union'
ftpd.c:290: invalid use of undefined type `union sockaddr_union'
ftpd.c:293: invalid use of undefined type `union sockaddr_union'
ftpd.c:298: invalid use of undefined type `union sockaddr_union'
ftpd.c: In function `pass':
ftpd.c:649: warning: assignment makes pointer from integer without a
cast
ftpd.c: In function `getdatasock':
ftpd.c:920: invalid use of undefined type `union sockaddr_union'
ftpd.c:988: invalid use of undefined type `union sockaddr_union'
ftpd.c: In function `dataconn':
ftpd.c:1026: storage size of `from' isn't known
ftpd.c: In function `passive':
ftpd.c:1724: sizeof applied to an incomplete type
ftpd.c: At top level:
ftpd.c:113: storage size of `ctrl_addr' isn't known
ftpd.c:114: storage size of `data_source' isn't known
ftpd.c:115: storage size of `data_dest' isn't known
ftpd.c:116: storage size of `his_addr' isn't known
ftpd.c:117: storage size of `pasv_addr' isn't known
make[1]: *** [ftpd.o] Error 1
make[1]: Leaving directory `/usr/src/inet6-apps-0.35/ftpd'
make[1]: Entering directory `/usr/src/inet6-apps-0.35/include'
make[1]: Leaving directory `/usr/src/inet6-apps-0.35/include'
make[1]: Entering directory `/usr/src/inet6-apps-0.35/inetd'
cc -I../include  -DINET6=1  -I/usr/include -DOFFSETPORT=9000   -c
inetd.c -o inetd.o
In file included from inetd.c:197:
/usr/include/bsd/signal.h:15: warning: `sv_onstack' redefined
/usr/include/signal.h:275: warning: this is the location of the previous
definition
inetd.c:248: field `se_ctrladdr' has incomplete type
inetd.c: In function `main':
inetd.c:387: incompatible types in assignment
inetd.c: In function `inetd_setproctitle':
inetd.c:1146: storage size of `sa' isn't known
make[1]: *** [inetd.o] Error 1
make[1]: Leaving directory `/usr/src/inet6-apps-0.35/inetd'
make[1]: Entering directory `/usr/src/inet6-apps-0.35/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/inet6-apps-0.35/man'
make[1]: Entering directory `/usr/src/inet6-apps-0.35/misc'
cc -I../include  -DINET6=1  -DFASTCTO=10   -c gendata.c -o gendata.o
cc   gendata.o -L../lib -linet6   -o gendata
cc -I../include  -DINET6=1  -DFASTCTO=10   -c socktest.c -o socktest.o
cc   socktest.o -L../lib -linet6   -o socktest
make[1]: Leaving directory `/usr/src/inet6-apps-0.35/misc'
make[1]: Entering directory `/usr/src/inet6-apps-0.35/ping'
cc -I../include  -DINET6=1    -c ping.c -o ping.o
ping.c:171: netinet/ipv6.h: No such file or directory
ping.c:172: netinet/icmpv6.h: No such file or directory
make[1]: *** [ping.o] Error 1
make[1]: Leaving directory `/usr/src/inet6-apps-0.35/ping'
make[1]: Entering directory `/usr/src/inet6-apps-0.35/tftp'
cc -I../include  -DINET6=1   -c tftp.c -o tftp.o
cc -I../include  -DINET6=1   -c main.c -o main.o
cc -I../include  -DINET6=1   -c tftpsubs.c -o tftpsubs.o
cc   tftp.o main.o tftpsubs.o -L../lib -linet6   -o tftp
make[1]: Leaving directory `/usr/src/inet6-apps-0.35/tftp'