Please replace on line 42 of include/defines.h

typedef unsigned int socklen_t;

to

typedef int socklen_t;

And don't forget to report your success/failure, so in case of
success I will fix it in upcoming 1.0.3

Thanx!

Benjamin Benson wrote:
> 
> Kir,
> 
> Using the newest release 1.0.2, I get a similar error:
> 
> aemon.cpp: In function `void daemon()':
> daemon.cpp:770: passing `socklen_t *' as argument 3 of `accept(int,
> sockaddr *, int *)' changes signedness
> *** Error code 1
> make: Fatal error: Command failed for target `daemon.o'
> Current working directory /opt/src/aspseek-1.0.2/src
> *** Error code 1
> 
> At 04:35 PM 2/5/01 +0300, you wrote:
> >I have fixed this in 1.0.2 sources (available from CVS, we are planning to
> >make a release tomorrow).
> >
> >Well, I doubt this will work on Solaris, even after compiling, but if you can
> >help with that, please do.
> >
> >Benjamin Benson wrote:
> > >
> > > I've had success with the first 10-15 minutes of compiling ASPSeek, but now
> > > it is abruptly breaking on deamon.cpp:
> > > I'm compiling on Sun/Solaris 2.6.
> > >
> > > [109 tcsh] root@bensun /opt/src/aspseek-1.0.1 -> make
> > > Making all in src
> > > c++ -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/local/include
> > > -I/opt/mysql/include    -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> > > -DUSE_SOLARIS -c daemon.cpp
> > > daemon.cpp: In function `void daemon()':
> > > daemon.cpp:769: `socklen_t' undeclared (first use this function)
> > > daemon.cpp:769: (Each undeclared identifier is reported only once
> > > daemon.cpp:769: for each function it appears in.)
> > > daemon.cpp:769: parse error before `='
> > > daemon.cpp:770: `cadlen' undeclared (first use this function)
> > > *** Error code 1
> > > make: Fatal error: Command failed for target `daemon.o'
> > > Current working directory /opt/src/aspseek-1.0.1/src
> > > *** Error code 1
> > > make: Fatal error: Command failed for target `all-recursive'
> > >
> > > : Benjamin Graham Benson
> > > : http://www.spiderline.com/ben/
> > >
> > > --------------------------------------------------------------------
> > > To unsubscribe send the word "unsubscribe" to [EMAIL PROTECTED]
> > > To get usage guidelines send the word "help" to [EMAIL PROTECTED]
> >
> >-- |< [] [] |_  [EMAIL PROTECTED]  http://kir.sever.net  ICQ 7551596 --
> >"Maybe somebody should tell gcc maintainers about programmers
> >  that know more than the compiler again."  -- Linus Torvalds.
> 
> : Benjamin Graham Benson
> : http://www.spiderline.com/ben/

-- |< [] [] |_  [EMAIL PROTECTED]  http://kir.sever.net  ICQ 7551596 --
"Maybe somebody should tell gcc maintainers about programmers
 that know more than the compiler again."  -- Linus Torvalds.


Reply via email to