$ patch -p0 < ~/diff patching file NetAccess.cc $ $ from configure checking for main in -lsocks5... yes
$ fails... /bin/sh ../libtool --silent --mode=link gcc -O2 -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -Winline -s -o liblftp-pty.la -avoid-version -rpath /app/lftp-3.0.0/lib/lftp/3.0.0 PtyShell.lo lftp_pty.lo -lutil -lcurses -lresolv -ldl -lm -lsupc++ if /bin/sh ../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 -MT NetAccess.lo -MD -MP -MF ".deps/NetAccess.Tpo" -c -o NetAccess.lo NetAccess.cc; \ then mv -f ".deps/NetAccess.Tpo" ".deps/NetAccess.Plo"; else rm -f ".deps/NetAccess.Tpo"; exit 1; fi NetAccess.cc: In member function `int NetAccess::SocketCreate(int, int, int)': NetAccess.cc:242: error: `SOCKSbind' undeclared (first use this function) NetAccess.cc:242: error: (Each undeclared identifier is reported only once for each function it appears in.) NetAccess.cc: In static member function `static int NetAccess::SocketConnect(int, const sockaddr_u*)': NetAccess.cc:256: error: `SOCKSconnect' undeclared (first use this function) make[1]: *** [NetAccess.lo] Error 1 make[1]: Leaving directory `/home/war/lftp-3.0.0/src' make: *** [all-recursive] Error 1 make: *** Error: Make failed. make: *** Aborting! $ On Fri, 2 Apr 2004, Alexander V. Lukyanov wrote: > On Fri, Apr 02, 2004 at 08:28:05AM -0500, Justin Piszcz wrote: > > Yes it is , attached. > > Does this patch fix the problem? > > -- > Alexander. >
