Latest version does not compile under FreeBSD.
Changed the source, compiles fine in Linux.
But not FBSD :(, this is why it would be nice if you allowed any number of connections, because recompiling on many different boxen is a pain.

source='NetAccess.cc' object='NetAccess.lo' libtool=yes depfile='.deps/NetAcces
s.Plo' tmpdepfile='.deps/NetAccess.TPlo' depmode=gcc /usr/local/bin/bash ../dep
comp /usr/local/bin/bash ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../include -I../include -O2 -Wall -Wwrite-strings -Woverloaded-
virtual -fno-exceptions -fno-rtti -fno-implement-inlines -Winline -c -o NetAcces
s.lo `test -f 'NetAccess.cc' || echo './'`NetAccess.cc
In file included from FileAccess.h:27,
from NetAccess.h:26,
from NetAccess.cc:30:
../include/trio.h:191: warning: `vfscanf' redefined
/usr/include/stdio.h:330: warning: this is the location of the previous definiti
on
In file included from NetAccess.cc:28:
/usr/include/netinet/in.h:233: syntax error before `;'
/usr/include/netinet/in.h:285: syntax error before `;'
In file included from /usr/include/netinet/in.h:467,
from NetAccess.cc:28:
/usr/include/netinet6/in6.h:122: syntax error before `['
/usr/include/netinet6/in6.h:144: syntax error before `;'
/usr/include/netinet6/in6.h:149: syntax error before `;'
/usr/include/netinet6/in6.h:612: syntax error before `*'
/usr/include/netinet6/in6.h:614: syntax error before `*'
/usr/include/netinet6/in6.h:615: syntax error before `*'
/usr/include/netinet6/in6.h:616: syntax error before `*'
/usr/include/netinet6/in6.h:631: type specifier omitted for parameter
/usr/include/netinet6/in6.h:632: type specifier omitted for parameter
/usr/include/netinet6/in6.h:636: syntax error before `*'
/usr/include/netinet6/in6.h:638: type specifier omitted for parameter
NetAccess.cc: In function `static int NetAccess::SocketPort(const sockaddr_u *)'
:
NetAccess.cc:178: `struct sockaddr_in' has no member named `sin_port'
NetAccess.cc:181: `struct sockaddr_in6' has no member named `sin6_port'
NetAccess.cc: In method `int NetAccess::SocketCreate(int, int, int)':
NetAccess.cc:205: `struct sockaddr_in' has no member named `sin_family'
*** Error code 1

Stop in /usr/home/war/lftp-2.6.4/src.
*** Error code 1


Alexander V. Lukyanov wrote:

On Thu, Feb 13, 2003 at 08:46:38AM -0500, jpiszcz wrote:

Will this limit be fixed?
ie: to what we actually choose instead of it limiting us to 16?

You can fix it in sources if you really need more.

Why would one want more than that? I don't say that number is really
important, I just wanted to put a sane upper limit on what one user
can do with network accidently or without knowing what he does.





Reply via email to