[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev dev.19 configure problem
From: |
Doug Kaufman |
Subject: |
Re: lynx-dev dev.19 configure problem |
Date: |
Sat, 6 Mar 1999 12:07:08 -0800 (PST) |
On Fri, 5 Mar 1999, I wrote:
> I just built lynx2.8.2dev.19 on SunOS 4.1.3_U1. It builds and seems
> to run well except for a configure glitch that had to be corrected
> manually. The declaration for sys_errlist and sys_nerr needs to be
> present, but configure thinks not. I hope the following shows what
> happened. Defining DECL_SYS_ERRLIST to 1 in lynx_cfg.h fixes the
> problem with compiling. This is the first unix build I've done since
> dev.12. I don't know when the problem appeared in the interim.
I don't know what happened yesterday, but today the configure script
works fine, both under sh and under tcsh. There must have been a local
problem on my machine.
Doug
From lynx_cfg.h
#define DECL_SYS_ERRLIST 1
From config.log
configure:9888: checking declaration of sys_nerr
configure:9907: gcc -c -O2 -DSUN -DSUN4 -I/wb/home/dkaufman/nobak/include
conftest.c 1>&5
configure: In function `main':
configure:9904: `sys_nerr' undeclared (first use this function)
configure:9904: (Each undeclared identifier is reported only once
configure:9904: for each function it appears in.)
configure: failed program was:
#line 9894 "configure"
#include "confdefs.h"
#if HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include <stdio.h>
#include <sys/types.h>
#include <errno.h>
int main() {
long x = (long) sys_nerr
; return 0; }
configure:9937: checking existence of sys_nerr
configure:9949: gcc -o conftest -O2 -DSUN -DSUN4
-I/wb/home/dkaufman/nobak/include conftest.c -lslang -lm
-L/wb/home/dkaufman/nobak/lib 1>&5
configure:9888: checking declaration of sys_errlist
configure:9907: gcc -c -O2 -DSUN -DSUN4 -I/wb/home/dkaufman/nobak/include
conftest.c 1>&5
configure: In function `main':
configure:9904: `sys_errlist' undeclared (first use this function)
configure:9904: (Each undeclared identifier is reported only once
configure:9904: for each function it appears in.)
configure: failed program was:
#line 9894 "configure"
#include "confdefs.h"
#if HAVE_STDLIB_H
#include <stdlib.h>
#endif
#include <stdio.h>
#include <sys/types.h>
#include <errno.h>
int main() {
long x = (long) sys_errlist
; return 0; }
configure:9937: checking existence of sys_errlist
configure:9949: gcc -o conftest -O2 -DSUN -DSUN4
-I/wb/home/dkaufman/nobak/include conftest.c -lslang -lm
-L/wb/home/dkaufman/nobak/lib 1>&5
From config.cache
cf_cv_dcl_sys_errlist=${cf_cv_dcl_sys_errlist='no'}
cf_cv_dcl_sys_nerr=${cf_cv_dcl_sys_nerr='no'}
__
Doug Kaufman
Internet: address@hidden (preferred)
address@hidden