Hi 

When I try to make the above I get a stop in reference to poll. My
configure was 

>./configure --with-socks=/usr/local/lib > configure.log

>grep poll configure.log
checking for Rpoll... no
checking for sys/poll.h... yes
checking for working poll... (cached) no
config.status: linking ./lib/poll.h to include/poll.h

Without the with-socks it compiles ok, so I presume it's a problem with
socks, but am a rookie on this stuff. Any thoughts much appreciated.
Even a solaris binary with compatability would be accepted!

>gmake
Making all in include
gmake[1]: Entering directory
`/usr/local/src/applications/lftp-3.2.0/include'
gmake  all-am
gmake[2]: Entering directory
`/usr/local/src/applications/lftp-3.2.0/include'
gmake[2]: Leaving directory
`/usr/local/src/applications/lftp-3.2.0/include'
gmake[1]: Leaving directory
`/usr/local/src/applications/lftp-3.2.0/include'
Making all in readline-4.3
gmake[1]: Entering directory
`/usr/local/src/applications/lftp-3.2.0/readline-4.3'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/usr/local/src/applications/lftp-3.2.0/readline-4.3'
Making all in lib
gmake[1]: Entering directory
`/usr/local/src/applications/lftp-3.2.0/lib'
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-I/usr/local/include -L/usr/local/lib/include  -O2 -Wall -MT filemode.o
-MD -MP -MF ".deps/filemode.Tpo" -c -o filemode.o filemode.c; \
then mv -f ".deps/filemode.Tpo" ".deps/filemode.Po"; else rm -f
".deps/filemode.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-I/usr/local/include -L/usr/local/lib/include  -O2 -Wall -MT mbswidth.o
-MD -MP -MF ".deps/mbswidth.Tpo" -c -o mbswidth.o mbswidth.c; \
then mv -f ".deps/mbswidth.Tpo" ".deps/mbswidth.Po"; else rm -f
".deps/mbswidth.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-I/usr/local/include -L/usr/local/lib/include  -O2 -Wall -MT human.o -MD
-MP -MF ".deps/human.Tpo" -c -o human.o human.c; \
then mv -f ".deps/human.Tpo" ".deps/human.Po"; else rm -f
".deps/human.Tpo"; exit 1; fi
human.c:57:1: warning: "_" redefined
In file included from ../include/config.h:612,
                 from human.c:23:
../include/post-config.h:35:1: warning: this is the location of the
previous definition
human.c: In function `human_readable_inexact':
human.c:137: warning: `power' might be used uninitialized in this
function
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-I/usr/local/include -L/usr/local/lib/include  -O2 -Wall -MT xstrtol.o
-MD -MP -MF ".deps/xstrtol.Tpo" -c -o xstrtol.o xstrtol.c; \
then mv -f ".deps/xstrtol.Tpo" ".deps/xstrtol.Po"; else rm -f
".deps/xstrtol.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-I/usr/local/include -L/usr/local/lib/include  -O2 -Wall -MT xstrtoul.o
-MD -MP -MF ".deps/xstrtoul.Tpo" -c -o xstrtoul.o xstrtoul.c; \
then mv -f ".deps/xstrtoul.Tpo" ".deps/xstrtoul.Po"; else rm -f
".deps/xstrtoul.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-I/usr/local/include -L/usr/local/lib/include  -O2 -Wall -MT
modechange.o -MD -MP -MF ".deps/modechange.Tpo" -c -o modechange.o
modechange.c; \
then mv -f ".deps/modechange.Tpo" ".deps/modechange.Po"; else rm -f
".deps/modechange.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-I/usr/local/include -L/usr/local/lib/include  -O2 -Wall -MT fnmatch.o
-MD -MP -MF ".deps/fnmatch.Tpo" -c -o fnmatch.o fnmatch.c; \
then mv -f ".deps/fnmatch.Tpo" ".deps/fnmatch.Po"; else rm -f
".deps/fnmatch.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-I/usr/local/include -L/usr/local/lib/include  -O2 -Wall -MT getopt.o
-MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; \
then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f
".deps/getopt.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-I/usr/local/include -L/usr/local/lib/include  -O2 -Wall -MT getopt1.o
-MD -MP -MF ".deps/getopt1.Tpo" -c -o getopt1.o getopt1.c; \
then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; else rm -f
".deps/getopt1.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-I/usr/local/include -L/usr/local/lib/include  -O2 -Wall -MT poll.o -MD
-MP -MF ".deps/poll.Tpo" -c -o poll.o poll.c; \
then mv -f ".deps/poll.Tpo" ".deps/poll.Po"; else rm -f
".deps/poll.Tpo"; exit 1; fi
In file included from poll.c:26:
poll.h:17:1: warning: "POLLWRNORM" redefined
In file included from /usr/include/sys/stream.h:23,
                 from /usr/include/netinet/in.h:41,
                 from /usr/include/sys/socket.h:203,
                 from ../include/post-config.h:89,
                 from ../include/config.h:612,
                 from poll.c:23:
/usr/include/sys/poll.h:41:1: warning: this is the location of the
previous definition
In file included from poll.c:26:
poll.h:18:1: warning: "POLLWRBAND" redefined
In file included from /usr/include/sys/stream.h:23,
                 from /usr/include/netinet/in.h:41,
                 from /usr/include/sys/socket.h:203,
                 from ../include/post-config.h:89,
                 from ../include/config.h:612,
                 from poll.c:23:
/usr/include/sys/poll.h:43:1: warning: this is the location of the
previous definition
In file included from poll.c:26:
poll.h:25: error: redefinition of `struct pollfd'
poll.h:31: error: conflicting types for `poll'
/usr/include/sys/poll.h:124: error: previous declaration of `poll'
gmake[1]: *** [poll.o] Error 1
gmake[1]: Leaving directory `/usr/local/src/applications/lftp-3.2.0/lib'
gmake: *** [all-recursive] Error 1





gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.3.2





Matt King                                    
School Research Fellow                         
School of Civil Engineering and Geosciences  Email: [EMAIL PROTECTED]
Cassie Building            Ph:    0191 222 7833 Int: + 44 191 222 7833

University of Newcastle    Fax:   0191 222 6502 Int: + 44 191 222 6502

Newcastle upon Tyne        Web:   http://www.staff.ncl.ac.uk/m.a.king/
United Kingdom, NE1 7RU           http://www.ceg.ncl.ac.uk/profiles/mak1
 

Reply via email to