lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev lynx2.8.2dev.14


From: Ismael Cordeiro
Subject: Re: lynx-dev lynx2.8.2dev.14
Date: Mon, 18 Jan 1999 13:01:05 -0500 (EST)

On Mon, 18 Jan 1999 address@hidden wrote:

> 1998-01-18 (2.8.2dev.14)
> * add check for inet_addr function, and (preferred) inet_aton.  The first
>   function is reported to be sometimes in -lresolv, or -lbind when it is not
>   present in the conventional network libraries (from report by
>   address@hidden and comments by HN) - TD

The check for inet_addr is breaking the configuration in FreeBSD 2.2.7. I
had to remove lines 5804 to 5918 of configure to make it work.

My configuration is:

setenv CPPFLAGS "-I$HOME/slang/include"
setenv LIBS "-L$HOME/slang/lib"
./configure --libdir=$HOME --prefix=$HOME --enable-externs --enable-warnings \
--enable-nsl-fork --enable-cgi-links --enable-exec-links --with-screen=slang \
--enable-exec-scripts --enable-persistent-cookies

My compilation log is:

../conf-lynx
creating cache ./config.cache
checking host system type... i386-unknown-freebsd2.2.7
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking whether make sets ${MAKE}... yes
checking for style of include in makefiles... include file
checking for a BSD compatible install... /usr/bin/install -c
checking for lint... lint
checking for AIX... no
checking for POSIXized ISC... no
checking if you want to see long compiling messages... yes
checking if you want to check memory-leaks... no
checking if you want to enable debug-code... no
checking if you want to turn on gcc warnings... yes
checking for gcc __attribute__ directives
checking for gcc warning options
checking for ANSI C header files... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... no
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... no
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for values.h... no
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for stpcpy... no
checking for LC_MESSAGES... yes
checking whether NLS is requested... no
checking if you want full utility pathnames... yes
checking for system mailer... /usr/sbin/sendmail
checking system mail flags... -t -oi
checking for chmod... /bin/chmod
checking for compress... /usr/bin/compress
checking for cp... /bin/cp
checking for gzip... /usr/bin/gzip
checking for mkdir... /bin/mkdir
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for tar... /usr/bin/tar
checking for touch... /usr/bin/touch
checking for gunzip... /usr/bin/gunzip
checking for unzip... /usr/local/bin/unzip
checking for bzip2... /home/ismael/bin/bzip2
checking for uudecode... /usr/bin/uudecode
checking for zcat... /usr/bin/zcat
checking for zip... /usr/local/bin/zip
checking for working const... (cached) yes
checking if you want socks library... no
checking if you want socks5 library... no
checking for network libraries... working...
checking for gethostname... yes
checking for -linet... no
checking for socket... yes
checking for gethostbyname... yes
checking for strcasecmp... (cached) yes
checking for inet_aton function... no
checking for inet_addr function... no
checking for library with inet_addr... no
configure: warning: Unable to find library for inet_addr function
checking for screen type... slang
checking for slang header file... predefined
checking for tgoto in -ltermlib... no
checking for initscr in -lcurses... no
checking for tgoto in -ltermcap... no
checking for tgoto in -ltermcap... (cached) no
checking for tgoto in -lncurses... no
configure: error: Can't find -ltermlib, -lcurses, or -ltermcap


The config.log is:

configure:610: checking host system type
configure:635: checking for gcc
configure:712: checking whether the C compiler (gcc  ) works
configure:726: gcc -o conftest  -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
configure:746: checking whether the C compiler (gcc  ) is a cross-compiler
configure:751: checking whether we are using GNU C
configure:760: gcc -E conftest.c
configure:775: checking whether gcc accepts -g
configure:803: checking how to run the C preprocessor
configure:824: gcc -E -I/home/ismael/slang/include conftest.c >/dev/null 
2>conftest.out
configure:866: checking for ranlib
configure:893: checking whether make sets ${MAKE}
configure:921: checking for style of include in makefiles
configure:982: checking for a BSD compatible install
configure:1036: checking for lint
configure:1066: checking for AIX
configure:1090: checking for POSIXized ISC
configure:1116: checking if you want to see long compiling messages
configure:1164: checking if you want to check memory-leaks
configure:1188: checking if you want to enable debug-code
configure:1233: checking if you want to turn on gcc warnings
configure:1273: checking for gcc __attribute__ directives
checking for gcc __attribute__((scanf))
configure:1313: gcc -c -O2 -I/home/ismael/slang/include conftest.c 1>&5
checking for gcc __attribute__((printf))
configure:1313: gcc -c -O2 -I/home/ismael/slang/include conftest.c 1>&5
checking for gcc __attribute__((unused))
configure:1313: gcc -c -O2 -I/home/ismael/slang/include conftest.c 1>&5
checking for gcc __attribute__((noreturn))
configure:1313: gcc -c -O2 -I/home/ismael/slang/include conftest.c 1>&5
configure:1334: checking for gcc warning options
configure:1352: gcc -c -O2 -W -Wall -Wbad-function-cast 
-I/home/ismael/slang/include conftest.c 1>&5
configure:1352: gcc -c -O2 -W -Wall -Wbad-function-cast -Wcast-align 
-I/home/ismael/slang/include conftest.c 1>&5
configure:1352: gcc -c -O2 -W -Wall -Wbad-function-cast -Wcast-align 
-Wcast-qual -I/home/ismael/slang/include conftest.c 1>&5
configure:1352: gcc -c -O2 -W -Wall -Wbad-function-cast -Wcast-align 
-Wcast-qual -DXTSTRINGDEFINES -Winline -I/home/ismael/slang/include conftest.c 
1>&5
configure:1352: gcc -c -O2 -W -Wall -Wbad-function-cast -Wcast-align 
-Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations 
-I/home/ismael/slang/include conftest.c 1>&5
configure:1352: gcc -c -O2 -W -Wall -Wbad-function-cast -Wcast-align 
-Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations 
-Wmissing-prototypes -I/home/ismael/slang/include conftest.c 1>&5
configure:1352: gcc -c -O2 -W -Wall -Wbad-function-cast -Wcast-align 
-Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations 
-Wmissing-prototypes -Wnested-externs -I/home/ismael/slang/include conftest.c 
1>&5
configure:1352: gcc -c -O2 -W -Wall -Wbad-function-cast -Wcast-align 
-Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations 
-Wmissing-prototypes -Wnested-externs -Wpointer-arith 
-I/home/ismael/slang/include conftest.c 1>&5
configure:1352: gcc -c -O2 -W -Wall -Wbad-function-cast -Wcast-align 
-Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations 
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow 
-I/home/ismael/slang/include conftest.c 1>&5
configure:1352: gcc -c -O2 -W -Wall -Wbad-function-cast -Wcast-align 
-Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations 
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow 
-Wstrict-prototypes -I/home/ismael/slang/include conftest.c 1>&5
configure:1370: checking for ANSI C header files
configure:1383: gcc -E -I/home/ismael/slang/include conftest.c >/dev/null 
2>conftest.out
configure:1450: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
configure:1474: checking for working const
configure:1528: gcc -c -O2 -I/home/ismael/slang/include conftest.c 1>&5
configure:1549: checking for inline
configure:1563: gcc -c -O2 -I/home/ismael/slang/include conftest.c 1>&5
configure:1589: checking for off_t
configure:1622: checking for size_t
configure:1657: checking for working alloca.h
configure:1669: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
configure:1663: alloca.h: No such file or directory
configure: failed program was:
#line 1662 "configure"
#include "confdefs.h"
#include <alloca.h>
int main() {
char *p = alloca(2 * sizeof(int));
; return 0; }
configure:1690: checking for alloca
configure:1718: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
configure:1887: checking for unistd.h
configure:1897: gcc -E -I/home/ismael/slang/include conftest.c >/dev/null 
2>conftest.out
configure:1926: checking for getpagesize
configure:1954: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
configure:1979: checking for working mmap
configure:2127: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
configure:2155: checking for argz.h
configure:2165: gcc -E -I/home/ismael/slang/include conftest.c >/dev/null 
2>conftest.out
configure:2161: argz.h: No such file or directory
configure: failed program was:
#line 2160 "configure"
#include "confdefs.h"
#include <argz.h>
configure:2155: checking for limits.h
configure:2165: gcc -E -I/home/ismael/slang/include conftest.c >/dev/null 
2>conftest.out
configure:2155: checking for locale.h
configure:2165: gcc -E -I/home/ismael/slang/include conftest.c >/dev/null 
2>conftest.out
configure:2155: checking for nl_types.h
configure:2165: gcc -E -I/home/ismael/slang/include conftest.c >/dev/null 
2>conftest.out
configure:2155: checking for malloc.h
configure:2165: gcc -E -I/home/ismael/slang/include conftest.c >/dev/null 
2>conftest.out
In file included from configure:2161:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h> which 
is deprecated, use <stdlib.h> instead"
configure: failed program was:
#line 2160 "configure"
#include "confdefs.h"
#include <malloc.h>
configure:2155: checking for string.h
configure:2165: gcc -E -I/home/ismael/slang/include conftest.c >/dev/null 
2>conftest.out
configure:2155: checking for unistd.h
configure:2155: checking for values.h
configure:2165: gcc -E -I/home/ismael/slang/include conftest.c >/dev/null 
2>conftest.out
In file included from configure:2161:
/usr/include/values.h:2: warning: #warning "this file includes <values.h> which 
is obsoleted, use <limits.h> or <float.h> instead"
configure: failed program was:
#line 2160 "configure"
#include "confdefs.h"
#include <values.h>
configure:2155: checking for sys/param.h
configure:2165: gcc -E -I/home/ismael/slang/include conftest.c >/dev/null 
2>conftest.out
configure:2195: checking for getcwd
configure:2223: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
configure:2195: checking for munmap
configure:2223: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
configure:2195: checking for putenv
configure:2223: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
configure:2195: checking for setenv
configure:2223: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
configure:2195: checking for setlocale
configure:2223: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
configure:2195: checking for strchr
configure:2223: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
configure:2195: checking for strcasecmp
configure:2223: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
configure:2195: checking for __argz_count
configure:2223: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
/var/tmp/ccRg20461.o: Undefined symbol `___argz_count' referenced from text 
segment
configure: failed program was:
#line 2200 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_count(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __argz_count();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_count) || defined (__stub_____argz_count)
choke me
#else
__argz_count();
#endif

; return 0; }
configure:2195: checking for __argz_stringify
configure:2223: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
/var/tmp/ccvJ20601.o: Undefined symbol `___argz_stringify' referenced from text 
segment
configure: failed program was:
#line 2200 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_stringify(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __argz_stringify();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_stringify) || defined (__stub_____argz_stringify)
choke me
#else
__argz_stringify();
#endif

; return 0; }
configure:2195: checking for __argz_next
configure:2223: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
/var/tmp/ccDg20741.o: Undefined symbol `___argz_next' referenced from text 
segment
configure: failed program was:
#line 2200 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char __argz_next(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char __argz_next();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub___argz_next) || defined (__stub_____argz_next)
choke me
#else
__argz_next();
#endif

; return 0; }
configure:2252: checking for stpcpy
configure:2280: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
/var/tmp/ccpP20891.o: Undefined symbol `_stpcpy' referenced from text segment
configure: failed program was:
#line 2257 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char stpcpy(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char stpcpy();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_stpcpy) || defined (__stub___stpcpy)
choke me
#else
stpcpy();
#endif

; return 0; }
configure:2314: checking for LC_MESSAGES
configure:2326: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
configure:2347: checking whether NLS is requested
configure:3339: checking if you want full utility pathnames
configure:3360: checking for system mailer
configure:3387: checking system mail flags
configure:3415: checking for chmod
configure:3488: checking for compress
configure:3561: checking for cp
configure:3634: checking for gzip
configure:3707: checking for mkdir
configure:3780: checking for mv
configure:3853: checking for rm
configure:3926: checking for tar
configure:3999: checking for touch
configure:4072: checking for gunzip
configure:4145: checking for unzip
configure:4218: checking for bzip2
configure:4291: checking for uudecode
configure:4364: checking for zcat
configure:4437: checking for zip
configure:4597: checking for working const
configure:4974: checking if you want socks library
configure:4994: checking if you want socks5 library
configure:5198: checking for network libraries
configure:5209: checking for gethostname
configure:5237: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
configure:5375: checking for -linet
configure:5389: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-linet  -L/home/ismael/slang/lib 1>&5
ld: -linet: no match
configure: failed program was:
#line 5382 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:5412: checking for socket
configure:5440: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
configure:5579: checking for gethostbyname
configure:5607: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib 1>&5
configure:5690: checking for strcasecmp
configure:5806: checking for inet_aton function
configure:5823: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib  1>&5
In file included from configure:5814:
/usr/include/sys/socket.h:137: parse error before `u_char'
/usr/include/sys/socket.h:137: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:138: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:140: parse error before `}'
/usr/include/sys/socket.h:147: parse error before `u_short'
/usr/include/sys/socket.h:147: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:148: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:259: parse error before `caddr_t'
/usr/include/sys/socket.h:259: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:260: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:262: parse error before `msg_iovlen'
/usr/include/sys/socket.h:262: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:263: parse error before `msg_control'
/usr/include/sys/socket.h:263: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:264: parse error before `msg_controllen'
/usr/include/sys/socket.h:264: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:266: parse error before `}'
/usr/include/sys/socket.h:286: parse error before `u_int'
/usr/include/sys/socket.h:286: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:290: parse error before `}'
/usr/include/sys/socket.h:312: parse error before `u_short'
/usr/include/sys/socket.h:312: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:314: parse error before `}'
/usr/include/sys/socket.h:320: parse error before `caddr_t'
/usr/include/sys/socket.h:320: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:324: parse error before `msg_accrights'
/usr/include/sys/socket.h:324: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:326: parse error before `}'
In file included from configure:5814:
/usr/include/sys/socket.h:340: parse error before `recv'
/usr/include/sys/socket.h:340: parse error before `size_t'
/usr/include/sys/socket.h:340: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:341: parse error before `recvfrom'
/usr/include/sys/socket.h:341: parse error before `size_t'
/usr/include/sys/socket.h:341: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:342: parse error before `recvmsg'
/usr/include/sys/socket.h:342: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:343: parse error before `send'
/usr/include/sys/socket.h:343: parse error before `size_t'
/usr/include/sys/socket.h:343: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:344: parse error before `sendto'
/usr/include/sys/socket.h:345: parse error before `size_t'
/usr/include/sys/socket.h:345: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:346: parse error before `sendmsg'
/usr/include/sys/socket.h:346: warning: data definition has no type or storage 
class
In file included from configure:5815:
/usr/include/netinet/in.h:212: parse error before `u_long'
/usr/include/netinet/in.h:212: warning: no semicolon at end of struct or union
/usr/include/netinet/in.h:263: parse error before `u_char'
/usr/include/netinet/in.h:263: warning: no semicolon at end of struct or union
/usr/include/netinet/in.h:264: warning: data definition has no type or storage 
class
/usr/include/netinet/in.h:265: parse error before `sin_port'
/usr/include/netinet/in.h:265: warning: data definition has no type or storage 
class
/usr/include/netinet/in.h:268: parse error before `}'
/usr/include/netinet/in.h:278: field `ip_dst' has incomplete type
/usr/include/netinet/in.h:325: field `imr_multiaddr' has incomplete type
/usr/include/netinet/in.h:326: field `imr_interface' has incomplete type
In file included from configure:5816:
/usr/include/arpa/inet.h:71: warning: parameter has incomplete type
/usr/include/arpa/inet.h:74: warning: parameter has incomplete type
/usr/include/arpa/inet.h:78: warning: parameter has incomplete type
/usr/include/netinet/in.h:266: storage size of `sin_addr' isn't known
configure: failed program was:
#line 5812 "configure"
#include "confdefs.h"

#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>

int main() {
inet_aton(0, (struct in_addr *)0)
; return 0; }
configure:5843: checking for inet_addr function
configure:5860: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib  1>&5
In file included from configure:5851:
/usr/include/sys/socket.h:137: parse error before `u_char'
/usr/include/sys/socket.h:137: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:138: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:140: parse error before `}'
/usr/include/sys/socket.h:147: parse error before `u_short'
/usr/include/sys/socket.h:147: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:148: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:259: parse error before `caddr_t'
/usr/include/sys/socket.h:259: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:260: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:262: parse error before `msg_iovlen'
/usr/include/sys/socket.h:262: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:263: parse error before `msg_control'
/usr/include/sys/socket.h:263: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:264: parse error before `msg_controllen'
/usr/include/sys/socket.h:264: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:266: parse error before `}'
/usr/include/sys/socket.h:286: parse error before `u_int'
/usr/include/sys/socket.h:286: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:290: parse error before `}'
/usr/include/sys/socket.h:312: parse error before `u_short'
/usr/include/sys/socket.h:312: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:314: parse error before `}'
/usr/include/sys/socket.h:320: parse error before `caddr_t'
/usr/include/sys/socket.h:320: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:324: parse error before `msg_accrights'
/usr/include/sys/socket.h:324: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:326: parse error before `}'
In file included from configure:5851:
/usr/include/sys/socket.h:340: parse error before `recv'
/usr/include/sys/socket.h:340: parse error before `size_t'
/usr/include/sys/socket.h:340: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:341: parse error before `recvfrom'
/usr/include/sys/socket.h:341: parse error before `size_t'
/usr/include/sys/socket.h:341: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:342: parse error before `recvmsg'
/usr/include/sys/socket.h:342: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:343: parse error before `send'
/usr/include/sys/socket.h:343: parse error before `size_t'
/usr/include/sys/socket.h:343: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:344: parse error before `sendto'
/usr/include/sys/socket.h:345: parse error before `size_t'
/usr/include/sys/socket.h:345: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:346: parse error before `sendmsg'
/usr/include/sys/socket.h:346: warning: data definition has no type or storage 
class
In file included from configure:5852:
/usr/include/netinet/in.h:212: parse error before `u_long'
/usr/include/netinet/in.h:212: warning: no semicolon at end of struct or union
/usr/include/netinet/in.h:263: parse error before `u_char'
/usr/include/netinet/in.h:263: warning: no semicolon at end of struct or union
/usr/include/netinet/in.h:264: warning: data definition has no type or storage 
class
/usr/include/netinet/in.h:265: parse error before `sin_port'
/usr/include/netinet/in.h:265: warning: data definition has no type or storage 
class
/usr/include/netinet/in.h:268: parse error before `}'
/usr/include/netinet/in.h:278: field `ip_dst' has incomplete type
/usr/include/netinet/in.h:325: field `imr_multiaddr' has incomplete type
/usr/include/netinet/in.h:326: field `imr_interface' has incomplete type
In file included from configure:5853:
/usr/include/arpa/inet.h:71: warning: parameter has incomplete type
/usr/include/arpa/inet.h:74: warning: parameter has incomplete type
/usr/include/arpa/inet.h:78: warning: parameter has incomplete type
/usr/include/netinet/in.h:266: storage size of `sin_addr' isn't known
configure: failed program was:
#line 5849 "configure"
#include "confdefs.h"

#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
    
int main() {
inet_addr(0)
; return 0; }
configure:5875: checking for library with inet_addr
configure:5896: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib  -lbind 1>&5
In file included from configure:5887:
/usr/include/sys/socket.h:137: parse error before `u_char'
/usr/include/sys/socket.h:137: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:138: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:140: parse error before `}'
/usr/include/sys/socket.h:147: parse error before `u_short'
/usr/include/sys/socket.h:147: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:148: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:259: parse error before `caddr_t'
/usr/include/sys/socket.h:259: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:260: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:262: parse error before `msg_iovlen'
/usr/include/sys/socket.h:262: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:263: parse error before `msg_control'
/usr/include/sys/socket.h:263: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:264: parse error before `msg_controllen'
/usr/include/sys/socket.h:264: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:266: parse error before `}'
/usr/include/sys/socket.h:286: parse error before `u_int'
/usr/include/sys/socket.h:286: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:290: parse error before `}'
/usr/include/sys/socket.h:312: parse error before `u_short'
/usr/include/sys/socket.h:312: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:314: parse error before `}'
/usr/include/sys/socket.h:320: parse error before `caddr_t'
/usr/include/sys/socket.h:320: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:324: parse error before `msg_accrights'
/usr/include/sys/socket.h:324: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:326: parse error before `}'
In file included from configure:5887:
/usr/include/sys/socket.h:340: parse error before `recv'
/usr/include/sys/socket.h:340: parse error before `size_t'
/usr/include/sys/socket.h:340: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:341: parse error before `recvfrom'
/usr/include/sys/socket.h:341: parse error before `size_t'
/usr/include/sys/socket.h:341: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:342: parse error before `recvmsg'
/usr/include/sys/socket.h:342: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:343: parse error before `send'
/usr/include/sys/socket.h:343: parse error before `size_t'
/usr/include/sys/socket.h:343: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:344: parse error before `sendto'
/usr/include/sys/socket.h:345: parse error before `size_t'
/usr/include/sys/socket.h:345: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:346: parse error before `sendmsg'
/usr/include/sys/socket.h:346: warning: data definition has no type or storage 
class
In file included from configure:5888:
/usr/include/netinet/in.h:212: parse error before `u_long'
/usr/include/netinet/in.h:212: warning: no semicolon at end of struct or union
/usr/include/netinet/in.h:263: parse error before `u_char'
/usr/include/netinet/in.h:263: warning: no semicolon at end of struct or union
/usr/include/netinet/in.h:264: warning: data definition has no type or storage 
class
/usr/include/netinet/in.h:265: parse error before `sin_port'
/usr/include/netinet/in.h:265: warning: data definition has no type or storage 
class
/usr/include/netinet/in.h:268: parse error before `}'
/usr/include/netinet/in.h:278: field `ip_dst' has incomplete type
/usr/include/netinet/in.h:325: field `imr_multiaddr' has incomplete type
/usr/include/netinet/in.h:326: field `imr_interface' has incomplete type
In file included from configure:5889:
/usr/include/arpa/inet.h:71: warning: parameter has incomplete type
/usr/include/arpa/inet.h:74: warning: parameter has incomplete type
/usr/include/arpa/inet.h:78: warning: parameter has incomplete type
/usr/include/netinet/in.h:266: storage size of `sin_addr' isn't known
configure: failed program was:
#line 5885 "configure"
#include "confdefs.h"

#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
                
int main() {
inet_addr(0)
; return 0; }
configure:5896: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib  -lresolv 1>&5
In file included from configure:5887:
/usr/include/sys/socket.h:137: parse error before `u_char'
/usr/include/sys/socket.h:137: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:138: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:140: parse error before `}'
/usr/include/sys/socket.h:147: parse error before `u_short'
/usr/include/sys/socket.h:147: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:148: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:259: parse error before `caddr_t'
/usr/include/sys/socket.h:259: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:260: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:262: parse error before `msg_iovlen'
/usr/include/sys/socket.h:262: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:263: parse error before `msg_control'
/usr/include/sys/socket.h:263: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:264: parse error before `msg_controllen'
/usr/include/sys/socket.h:264: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:266: parse error before `}'
/usr/include/sys/socket.h:286: parse error before `u_int'
/usr/include/sys/socket.h:286: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:290: parse error before `}'
/usr/include/sys/socket.h:312: parse error before `u_short'
/usr/include/sys/socket.h:312: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:314: parse error before `}'
/usr/include/sys/socket.h:320: parse error before `caddr_t'
/usr/include/sys/socket.h:320: warning: no semicolon at end of struct or union
/usr/include/sys/socket.h:324: parse error before `msg_accrights'
/usr/include/sys/socket.h:324: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:326: parse error before `}'
In file included from configure:5887:
/usr/include/sys/socket.h:340: parse error before `recv'
/usr/include/sys/socket.h:340: parse error before `size_t'
/usr/include/sys/socket.h:340: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:341: parse error before `recvfrom'
/usr/include/sys/socket.h:341: parse error before `size_t'
/usr/include/sys/socket.h:341: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:342: parse error before `recvmsg'
/usr/include/sys/socket.h:342: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:343: parse error before `send'
/usr/include/sys/socket.h:343: parse error before `size_t'
/usr/include/sys/socket.h:343: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:344: parse error before `sendto'
/usr/include/sys/socket.h:345: parse error before `size_t'
/usr/include/sys/socket.h:345: warning: data definition has no type or storage 
class
/usr/include/sys/socket.h:346: parse error before `sendmsg'
/usr/include/sys/socket.h:346: warning: data definition has no type or storage 
class
In file included from configure:5888:
/usr/include/netinet/in.h:212: parse error before `u_long'
/usr/include/netinet/in.h:212: warning: no semicolon at end of struct or union
/usr/include/netinet/in.h:263: parse error before `u_char'
/usr/include/netinet/in.h:263: warning: no semicolon at end of struct or union
/usr/include/netinet/in.h:264: warning: data definition has no type or storage 
class
/usr/include/netinet/in.h:265: parse error before `sin_port'
/usr/include/netinet/in.h:265: warning: data definition has no type or storage 
class
/usr/include/netinet/in.h:268: parse error before `}'
/usr/include/netinet/in.h:278: field `ip_dst' has incomplete type
/usr/include/netinet/in.h:325: field `imr_multiaddr' has incomplete type
/usr/include/netinet/in.h:326: field `imr_interface' has incomplete type
In file included from configure:5889:
/usr/include/arpa/inet.h:71: warning: parameter has incomplete type
/usr/include/arpa/inet.h:74: warning: parameter has incomplete type
/usr/include/arpa/inet.h:78: warning: parameter has incomplete type
/usr/include/netinet/in.h:266: storage size of `sin_addr' isn't known
configure: failed program was:
#line 5885 "configure"
#include "confdefs.h"

#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
                
int main() {
inet_addr(0)
; return 0; }
configure:5921: checking for screen type
configure:6920: checking for slang header file
configure:6933: gcc -c -O2 -I/home/ismael/slang/include conftest.c 1>&5
configure:7022: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-L/home/ismael/slang/lib  -lresolv 1>&5
ld: -lresolv: no match
configure: failed program was:
#line 7015 "configure"
#include "confdefs.h"

int main() {
char *x=(char*)tgoto("",0,0)
; return 0; }
configure:7096: checking for tgoto in -ltermlib
configure:7115: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-ltermlib  -L/home/ismael/slang/lib  -lresolv 1>&5
ld: -lresolv: no match
configure: failed program was:
#line 7104 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char tgoto();

int main() {
tgoto()
; return 0; }
configure:7139: checking for initscr in -lcurses
configure:7158: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-lcurses  -L/home/ismael/slang/lib  -lresolv 1>&5
ld: -lresolv: no match
configure: failed program was:
#line 7147 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char initscr();

int main() {
initscr()
; return 0; }
configure:7179: checking for tgoto in -ltermcap
configure:7198: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-ltermcap  -L/home/ismael/slang/lib  -lresolv 1>&5
ld: -lresolv: no match
configure: failed program was:
#line 7187 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char tgoto();

int main() {
tgoto()
; return 0; }
configure:7221: checking for tgoto in -ltermcap
configure:7263: checking for tgoto in -lncurses
configure:7282: gcc -o conftest -O2 -I/home/ismael/slang/include  conftest.c 
-lncurses  -L/home/ismael/slang/lib  -lresolv 1>&5
ld: -lresolv: no match
configure: failed program was:
#line 7271 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char tgoto();

int main() {
tgoto()
; return 0; }


Ismael
-- 

       +--------------------------------------------------------------+
       | ISMAEL CORDEIRO            | mailto:address@hidden      |
       | Production sound mixer     | http://www.ismael.cordeiro.com/ |
       | Montréal - Québec - Canada | ftp://ftp.cam.org/users/ismael/ |
       +--------------------------------------------------------------+



reply via email to

[Prev in Thread] Current Thread [Next in Thread]