Colin Dean wrote:
> Maarten Lankhorst wrote:
>> Colin Dean schreef:
>>> I'm attempting to compile DarkFire IRCd. It seems to be about the
>>> smallest C-based IRCd I can find.
>>>
>>> However, I get this when I configure:
>>>
>>> # ./configure --prefix=${CLFS}/usr
>>> loading cache ./config.cache
>>> checking for gcc... i486-pc-linux-uclibc-gcc
>>> checking whether the C compiler (i486-pc-linux-uclibc-gcc ) works... yes
>>> checking whether the C compiler (i486-pc-linux-uclibc-gcc ) is a
>>> cross-compiler... yes
>>> checking whether we are using GNU C... yes
>>> checking whether i486-pc-linux-uclibc-gcc accepts -g... yes
>>> checking for POSIXized ISC... no
>>> checking host system type... i686-pc-linux-gnu
>>> checking target system type... i686-pc-linux-gnu
>>> checking build system type... i686-pc-linux-gnu
>>> checking how to run the C preprocessor... i486-pc-linux-uclibc-gcc -E
>>> checking for AIX... no
>>> checking whether make sets ${MAKE}... yes
>>> checking for rm... /bin/rm
>>> checking for cp... /bin/cp
>>> checking for a BSD compatible install... /usr/bin/install -c
>>> checking for gethostbyname in -lnsl... yes
>>> checking for res_mkquery... no
>>> checking for res_mkquery in -lresolv... no
>>> checking for socket in -lsocket... no
>>> checking for crypt... no
>>> checking for crypt in -ldescrypt... no
>>> checking for crypt in -lcrypt... yes
>>> checking for ANSI C header files... yes
>>> checking for sys/param.h... yes
>>> checking for unistd.h... yes
>>> checking for string.h... yes
>>> checking for strings.h... yes
>>> checking for sys/syslog.h... yes
>>> checking for stdlib.h... yes
>>> checking for stddef.h... yes
>>> checking for stropts.h... no
>>> checking for limits.h... yes
>>> checking for malloc.h... yes
>>> checking MIN and MAX definition... yes
>>> checking whether i486-pc-linux-uclibc-gcc needs -traditional... no
>>> checking for index... yes
>>> checking for strerror... yes
>>> checking for strtoken... no
>>> checking for strtok... yes
>>> checking for inet_addr... yes
>>> checking for inet_ntoa... yes
>>> checking for inet_netof... yes
>>> checking for inet_aton... yes
>>> checking for gettimeofday... yes
>>> checking for lrand48... yes
>>> checking for sigaction... yes
>>> checking for bzero... yes
>>> checking for bcmp... yes
>>> checking for bcopy... yes
>>> checking for dn_skipname... no
>>> checking for __dn_skipname... no
>>> checking for getrusage... yes
>>> checking for posix (O_NONBLOCK) nonblocking sockets... can't tell
>>> checking for bsd (O_NDELAY) nonblocking sockets... can't tell
>>> checking for sysv (FIONBIO) nonblocking sockets... unable to test
>>> configure: error: No nonblocking socket implementation found. ircd
>>> requires nonblocking sockets.
>>>
>>> I looked through the uClibc documentation and couldn't find anything to
>>> the effect of how to enable such non-blocking sockets.
>>>
>>> Ideas?
>>>
>>> I'm also open to another IRCd, if someone knows of one smaller and still
>>> C-based.
>>>
>> This looks weird to me, are you cross compiling to embedded clfs? if yes
>> you forgot to pass --host $CLFS_TARGET to ./configure
>
> Ah, forgot to mention that I tried that. No difference.
I've decided to abandon an IRC server, as I did get a DC hub working,
and it has a chat protocol built into it. I tried a few other IRCds, but
they all give that same non-blocking sockets error.
Anyone know if that's a uClibc thing or a kernel thing?
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support