Date: Wed, 2 Feb 2000 10:24:10 -0600 From: "Alejandro Ramirez" <ales@megared.net.mx> To: <sean@fifthace.com>, <freebsd-questions@FreeBSD.ORG> Subject: RE: Compiling ftpd with -DFTPD_INTERNAL_LS Message-ID: <01d301bf6d99$ef4a21a0$020a0a0a@megared.net.mx> References: <949465401_PM_BeOS.sean@fifthace.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, It seems that you have the 4.0-Current sources instead of the 3.4-Stable ones, because its triyng to include the IPv6 support for in the ftp daemon. Greetings... Ales ----- Original Message ----- From: Sean Heber <sean@fifthace.com> To: <freebsd-questions@FreeBSD.ORG> Sent: Tuesday, February 01, 2000 10:23 PM Subject: Compiling ftpd with -DFTPD_INTERNAL_LS > Ok, I saw on the FreeBSD Diary that I could make ftpd so that it did not > require a bin dir and ls in each user's root. > > I have 3.3-RELEASE installed and I did not have the sources there. > > So, I used the standard-supfile and cvsup to update my source tree. > > Now I have all the sources (or so it seems). > > Then I start following the instructions for making ftpd with no external > ls requirements. > > I go to /usr/src/libexec/ftpd/ > > Then make clean. > > Then make -DFTPD_INTERNAL_LS > > This happens: > > Warning: Object directory not changed from original > /usr/src/libexec/ftpd > cc -O -pipe -DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall > -I/usr/src/libexec/ftpd/../../contrib-crypto/telnet -DINET6 -g > -DINTERNAL_LS -Dmain=ls_main -I/usr/src/libexec/ftpd/../../bin/ls -c > ftpd.c > In file included from ftpd.c:102: > extern.h:85: field `su_sin6' has incomplete type > ftpd.c:209: `INET6_ADDRSTRLEN' undeclared here (not in a function) > ftpd.c: In function `main': > ftpd.c:387: storage size of `hints' isn't known > ftpd.c:403: `AI_PASSIVE' undeclared (first use this function) > ftpd.c:403: (Each undeclared identifier is reported only once > ftpd.c:403: for each function it appears in.) > ftpd.c:404: warning: implicit declaration of function `getaddrinfo' > ftpd.c:411: dereferencing pointer to incomplete type > ftpd.c:412: dereferencing pointer to incomplete type > ftpd.c:415: warning: implicit declaration of function `gai_strerror' > ftpd.c:415: warning: passing arg 2 of `syslog' makes pointer from > integer without a cast > ftpd.c:416: `EAI_SYSTEM' undeclared (first use this function) > ftpd.c:420: dereferencing pointer to incomplete type > ftpd.c:444: dereferencing pointer to incomplete type > ftpd.c:444: dereferencing pointer to incomplete type > ftpd.c:387: warning: unused variable `hints' > ftpd.c:506: warning: implicit declaration of function `getnameinfo' > ftpd.c:508: `NI_NUMERICHOST' undeclared (first use this function) > ftpd.c: In function `inithosts': > ftpd.c:621: storage size of `hints' isn't known > ftpd.c:634: `AI_CANONNAME' undeclared (first use this function) > ftpd.c:638: dereferencing pointer to incomplete type > ftpd.c:638: dereferencing pointer to incomplete type > ftpd.c:645: warning: implicit declaration of function `freeaddrinfo' > ftpd.c:669: `AI_PASSIVE' undeclared (first use this function) > ftpd.c:673: dereferencing pointer to incomplete type > ftpd.c:674: dereferencing pointer to incomplete type > ftpd.c:679: dereferencing pointer to incomplete type > ftpd.c:680: dereferencing pointer to incomplete type > ftpd.c:696: dereferencing pointer to incomplete type > ftpd.c:697: dereferencing pointer to incomplete type > ftpd.c:710: dereferencing pointer to incomplete type > ftpd.c:711: sizeof applied to an incomplete type > ftpd.c:719: warning: implicit declaration of function `getipnodebyaddr' > ftpd.c:721: warning: assignment makes pointer from integer without a > cast > ftpd.c:736: warning: implicit declaration of function `freehostent' > ftpd.c:621: warning: unused variable `hints' > ftpd.c: In function `selecthost': > ftpd.c:782: warning: implicit declaration of function > `IN6_IS_ADDR_V4MAPPED' > ftpd.c:797: dereferencing pointer to incomplete type > ftpd.c: In function `pass': > ftpd.c:1224: `NI_NUMERICHOST' undeclared (first use this function) > ftpd.c: In function `dataconn': > ftpd.c:1636: `NI_NUMERICHOST' undeclared (first use this function) > ftpd.c:1636: `NI_NUMERICSERV' undeclared (first use this function) > ftpd.c: In function `statcmd': > ftpd.c:1896: `INET6_ADDRSTRLEN' undeclared (first use this function) > ftpd.c:1904: `NI_NUMERICHOST' undeclared (first use this function) > ftpd.c:1896: warning: unused variable `hname' > ftpd.c:1895: warning: `a' might be used uninitialized in this function > ftpd.c:1895: warning: `p' might be used uninitialized in this function > ftpd.c: In function `dolog': > ftpd.c:2219: warning: implicit declaration of function `realhostname_sa' > ftpd.c:2246: `NI_NUMERICHOST' undeclared (first use this function) > ftpd.c: In function `passive': > ftpd.c:2316: warning: `a' might be used uninitialized in this function > ftpd.c: In function `long_passive': > ftpd.c:2388: warning: `a' might be used uninitialized in this function > ftpd.c: In function `send_file_list': > ftpd.c:2551: warning: variable `dout' might be clobbered by `longjmp' or > `vfork' > ftpd.c:2552: warning: variable `dirlist' might be clobbered by `longjmp' > or `vfork' > ftpd.c:2553: warning: variable `simple' might be clobbered by `longjmp' > or `vfork' > ftpd.c:2554: warning: variable `freeglob' might be clobbered by > `longjmp' or `vfork' > *** Error code 1 > > Stop. > > > What am I doing wrong here? Does something else need to be made? > > Thanks. > > l8r > Sean > > > > ----------------------------------- > This message was sent with the demo version of Postmaster, a BeOS mail client. > For more information, please visit http://kennyc.com/postmaster > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01d301bf6d99$ef4a21a0$020a0a0a>