[IRCServices Coding] gmake: *** [actions.o] Error 1

Andrew Church achurch at achurch.org
Thu Nov 21 10:35:43 PST 2002


     This was reported as a FreeBSD-specific issue.  5.0.5 will correct it;
the workaround is to (after running configure) add "HAVE_SOCKLEN_T=1" to
config.cache and rerun the configure script:

% ./configure
[ordinary configure output]
% echo 'HAVE_SOCKLEN_T=1' >>config.cache
% ./configure
% gmake

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/

>Hi, I've reported this previously, to no avail. I was trying to compile
>5.0.3, it gave me an identical error to what 5.0.4 is now giving me when i
>try gmake, after /configure. What could this possibly be, and would there be
>a way to fix it / will 5.0.5 have the fix?
>The OS is FreeBSD 4.7-PRERELEASE (SHELL).
>Here's what happened:
>
>All done!  Now edit defs.h as needed, and run "make" (or possibly "gmake")
>to compile Services.  See the README and FAQ if you have any problems.
>
>USERNAME at shell:/usr/home/USERNAME/ircservices-5.0.4$ make
>make: Permission denied
>USERNAME at shell:/usr/home/USERNAME/ircservices-5.0.4$ gmake
>gmake: getcwd: : Permission denied
>sh version.sh
>gcc  -O2 -fno-strict-aliasing -g -Wall -Wmissing-prototypes -c version.c -o
>version.o
>gcc  -O2 -fno-strict-aliasing -g -Wall -Wmissing-prototypes -c actions.c -o
>actions.o
>In file included from sockets.h:13,
>                 from services.h:97,
>                 from actions.c:10:
>/usr/include/sys/socket.h:54: conflicting types for `socklen_t'
>defs.h:169: previous declaration of `socklen_t'
>gmake: *** [actions.o] Error 1
>USERNAME at shell:/usr/home/USERNAME/ircservices-5.0.4$
>
>Thanks again,
>CyberDems
>irc.wwirc.za.org
>
>------------------------------------------------------------------
>To unsubscribe or change your subscription options, visit:
>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding