[elinks-users] Can't compile eLinks Debian (PowerMac; Kernel 2.4.22)

Phillip Pi ant at zimage.com
Mon Jan 30 21:54:21 PST 2006


> > > > Hello, I just downloaded and tried to compile eLinks v0.11.1 but make failed:
> > > 
> > > Hello, thanks for reporting this.

> > > > $ uname -a
> > > > Linux dustball 2.4.22-pmac-benh-dm-evms_sorta-1 #4 Mon Oct 20 21:58:29 PDT 2003 ppc 
> > > > GNU/Linux
> > > 
> > > Is this really Debian? I am using (the Debian-based) Ubuntu and do not
> > > have this problem.
> > 
> > Yes, but on a PowerMac. That's the KEY thing. Not the latest or common platform as you can see.
> 
> But it looks like you have off_t the same place I do.
>  
> > > Could you dig out in what file the off_t type it is found on your
> > > system running something like this:
> > > 
> > > 	find /usr/include/sys -name '*.h' | xargs grep off_t | grep typedef
> > 
> > $  find /usr/include/sys -name '*.h' | xargs grep off_t grep typedef
> > /usr/include/sys/types.h:typedef __loff_t loff_t;
> > /usr/include/sys/types.h:typedef __off_t off_t;
> > /usr/include/sys/types.h:typedef __off64_t off_t;
> > /usr/include/sys/stat.h:typedef __off_t off_t;
> > /usr/include/sys/stat.h:typedef __off64_t off_t;
> > /usr/include/sys/mman.h:typedef __off_t off_t;
> > /usr/include/sys/mman.h:typedef __off64_t off_t;
> 
> I must say, I do not have any idea what is wrong, but if you have time
> to debug here are a few things to try out:
> 
>  - Try to run: ./configure --disable-largefile; make

I extracted the source to start clean to compile...

$ ./configure --disable-largefile; make
checking for aclocal... aclocal
checking for autoconf... autoconf
checking for autoheader... autoheader
checking for gnumake... no
checking for gmake... no
checking for make... /usr/bin/make
checking for previous build to clean... done
checking for "./features.conf"... yes
checking for "/home/ant/download/elinks-0.11.1/features.conf"... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for gawk... gawk
checking for gawk... /usr/bin/gawk
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for cg-commit-id... no
checking for sparse... no
checking for asciidoc... no
checking for xmlto... no
checking for jw... no
checking for pod2html... /usr/bin/pod2html
checking for BEOS... no
checking for RISCOS... no
checking for WIN32... no
checking for EMX... no
checking for UNIX... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking sigaction.h usability... no
checking sigaction.h presence... no
checking for sigaction.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking netinet/in_system.h usability... no
checking netinet/in_system.h presence... no
checking for netinet/in_system.h... no
checking netinet/ip.h usability... yes
checking netinet/ip.h presence... yes
checking for netinet/ip.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/in6_var.h usability... no
checking netinet/in6_var.h presence... no
checking for netinet/in6_var.h... no
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking sys/cygwin.h usability... no
checking sys/cygwin.h presence... no
checking for sys/cygwin.h... no
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking sys/fmutex.h usability... no
checking sys/fmutex.h presence... no
checking for sys/fmutex.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for typeof... yes
checking for size_t... yes
checking for off_t... yes
checking for ssize_t... yes
checking for long long... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for uint16_t... yes
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for variadic macros... yes
checking for -rdynamic... yes
checking for regex_t... yes
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for strftime... yes
checking for cfmakeraw... yes
checking for gethostbyaddr... yes
checking for herror... yes
checking for strerror... yes
checking for popen... yes
checking for uname... yes
checking for access... yes
checking for chmod... yes
checking for alarm... yes
checking for timegm... yes
checking for mremap... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strcasestr... yes
checking for strstr... yes
checking for strchr... yes
checking for strrchr... yes
checking for memmove... yes
checking for bcopy... yes
checking for stpcpy... yes
checking for strdup... yes
checking for index... yes
checking for isdigit... yes
checking for mempcpy... yes
checking for memrchr... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for asprintf... yes
checking for vasprintf... yes
checking for getifaddrs... yes
checking for getpwnam... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking for fflush... yes
checking for fsync... yes
checking for fseeko... yes
checking for ftello... yes
checking for sigaction... yes
checking for gettimeofday... yes
checking for clock_gettime... no
checking for cygwin_conv_to_full_win32_path... no
checking for setenv... yes
checking for putenv... yes
checking for getuid... yes
checking for geteuid... yes
checking for getpid... yes
checking for setpgid... yes
checking for getpgid... yes
checking for setpgrp... yes
checking for getpgrp... yes
checking for raise... yes
checking for kill... yes
checking for __va_copy... yes
checking for sysconf(_SC_PAGE_SIZE)... yes
checking for C99 vsnprintf... yes
checking for dlopen in -ldl... yes
checking for socket... yes
checking for setsockopt... yes
checking for gethostbyname... yes
checking for gpm support... yes
checking gpm.h usability... no
checking gpm.h presence... no
checking for gpm.h... no
checking for zlib support... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzdopen in -lz... yes
checking for bzlib support... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for BZ2_bzReadOpen in -lbz2... yes
checking for idn support... yes
checking idna.h usability... yes
checking idna.h presence... yes
checking for idna.h... yes
checking for stringprep_check_version in -lidn... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking sys/consio.h usability... no
checking sys/consio.h presence... no
checking for sys/consio.h... no
checking machine/console.h usability... no
checking machine/console.h presence... no
checking for machine/console.h... no
checking for SpiderMonkey... no
checking for Guile... no
checking for Perl... no
checking for Python... no
checking for Lua... no
checking for Ruby... no
checking for OpenSSL... yes
checking for GNU TLS (1.2 or later)... not used
checking whether to be or not to be... needs to be determined experimentally
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in6... yes
checking for struct addrinfo... yes
checking for getaddrinfo... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for smbclient... no
checking whether /usr/bin/make sets $(MAKE)... yes
checking build system type... powerpc-unknown-linux-gnu
checking host system type... powerpc-unknown-linux-gnu
checking for strerror in -lcposix... no
checking for working alloca.h... yes
checking for alloca... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... (cached) yes
checking for getgid... yes
checking for getuid... (cached) yes
checking for mempcpy... (cached) yes
checking for munmap... yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... yes
checking for stpcpy... (cached) yes
checking for strchr... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * 
*outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for bison... bison
checking version of bison... 2.1, ok
checking for catalogs to be installed...  be bg ca cs da de el es et fi fr gl hr hu id 
is it lt nl nb pl pt pt_BR ro ru sk sr sv tr uk
checking fsplib.h usability... no
checking fsplib.h presence... no
checking for fsplib.h... no
configure: creating ./config.status
config.status: creating Makefile.config
config.status: creating contrib/elinks.spec
config.status: creating contrib/lua/hooks.lua
config.status: creating contrib/conv/w3m2links.awk
config.status: creating doc/man/man1/elinks.1
config.status: creating src/intl/gettext/ref-add.sed
config.status: creating src/intl/gettext/ref-del.sed
config.status: creating config.h
The following feature summary has been saved to features.log
Feature summary:
Documentation ................... Pod2HTML
gpm ............................. no
zlib ............................ yes
bzlib ........................... yes
idn ............................. yes
Bookmarks ....................... yes
XBEL bookmarks .................. yes
ECMAScript (JavaScript) ......... no
Browser scripting ............... no
SSL ............................. OpenSSL
Native Language Support ......... yes
Cookies ......................... yes
Form history .................... yes
Global history .................. yes
Mailcap ......................... yes
Mimetypes files ................. yes
IPv6 ............................ yes
BitTorrent protocol ............. no
Data protocol ................... yes
URI rewriting ................... yes
Local CGI ....................... no
Finger protocol ................. no
FSP protocol .................... no
FTP protocol .................... yes
Gopher protocol ................. no
NNTP protocol ................... no
SMB protocol .................... no
Mouse handling .................. yes
BSD sysmouse .................... no
88 colors ....................... no
256 colors ...................... no
Exmode interface ................ no
LEDs ............................ yes
Marks ........................... yes
Cascading Style Sheets .......... yes
HTML highlighting ............... no
DOM engine ...................... no
Backtrace ....................... yes
No root exec .................... no
Debug mode ...................... no
Fast mode ....................... no
Own libc stubs .................. no
Small binary .................... no
System configuration directory .. /usr/local/etc/elinks
Locale catalogs directory ....... /usr/local/share/locale
Compiler options (CFLAGS) ....... -g -O2 -Wall -fno-strict-aliasing -Wno-pointer-sign  
-I/usr/X11R6/include
Linker options (LIBS) ........... -lX11 -lssl -lcrypto -ldl  -lz -lbz2 -lidn -lexpat
cd ./. && autoheader
configure.in:41: warning: Cannot check for file existence when cross compiling
configure.in:42: warning: Cannot check for file existence when cross compiling
cd . \
          && CONFIG_FILES= CONFIG_HEADERS=config.h \
             /bin/sh ./config.status
config.status: creating config.h
[MAKE all]   /u00doc
make[1]: Entering directory `/u00/home/ant/download/elinks-0.11.1/doc'
[MAKE all]   doc/man
make[2]: Entering directory `/u00/home/ant/download/elinks-0.11.1/doc/man'
[MAKE all]   doc/man/man1
make[3]: Entering directory `/u00/home/ant/download/elinks-0.11.1/doc/man/man1'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/u00/home/ant/download/elinks-0.11.1/doc/man/man1'
[MAKE all]   doc/man/man5
make[3]: Entering directory `/u00/home/ant/download/elinks-0.11.1/doc/man/man5'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/u00/home/ant/download/elinks-0.11.1/doc/man/man5'
make[2]: Leaving directory `/u00/home/ant/download/elinks-0.11.1/doc/man'
make[1]: Leaving directory `/u00/home/ant/download/elinks-0.11.1/doc'
[MAKE all]   /u00po
make[1]: Entering directory `/u00/home/ant/download/elinks-0.11.1/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/u00/home/ant/download/elinks-0.11.1/po'
[MAKE all]   /u00src
make[1]: Entering directory `/u00/home/ant/download/elinks-0.11.1/src'
[MAKE all]   src/bfu
make[2]: Entering directory `/u00/home/ant/download/elinks-0.11.1/src/bfu'
      [CC]   src/bfu/button.o
      [CC]   src/bfu/checkbox.o
      [CC]   src/bfu/dialog.o
      [CC]   src/bfu/group.o
      [CC]   src/bfu/hierbox.o
      [CC]   src/bfu/hotkey.o
      [CC]   src/bfu/inpfield.o
      [CC]   src/bfu/inphist.o
      [CC]   src/bfu/leds.o
      [CC]   src/bfu/listbox.o
      [CC]   src/bfu/listmenu.o
      [CC]   src/bfu/menu.o
      [CC]   src/bfu/msgbox.o
      [CC]   src/bfu/style.o
      [CC]   src/bfu/text.o
      [CC]   src/bfu/widget.o
      [LD]   src/bfu/lib.o
make[2]: Leaving directory `/u00/home/ant/download/elinks-0.11.1/src/bfu'
[MAKE all]   src/bookmarks
make[2]: Entering directory `/u00/home/ant/download/elinks-0.11.1/src/bookmarks'
[MAKE all]   src/bookmarks/backend
make[3]: Entering directory `/u00/home/ant/download/elinks-0.11.1/src/bookmarks/backend'
      [CC]   src/bookmarks/backend/common.o
      [CC]   src/bookmarks/backend/default.o
      [CC]   src/bookmarks/backend/xbel.o
      [LD]   src/bookmarks/backend/lib.o
make[3]: Leaving directory `/u00/home/ant/download/elinks-0.11.1/src/bookmarks/backend'
      [CC]   src/bookmarks/bookmarks.o
      [CC]   src/bookmarks/dialogs.o
      [LD]   src/bookmarks/lib.o
make[2]: Leaving directory `/u00/home/ant/download/elinks-0.11.1/src/bookmarks'
[MAKE all]   src/cache
make[2]: Entering directory `/u00/home/ant/download/elinks-0.11.1/src/cache'
      [CC]   src/cache/cache.o
      [CC]   src/cache/dialogs.o
      [LD]   src/cache/lib.o
make[2]: Leaving directory `/u00/home/ant/download/elinks-0.11.1/src/cache'
[MAKE all]   src/config
make[2]: Entering directory `/u00/home/ant/download/elinks-0.11.1/src/config'
      [CC]   src/config/cmdline.o
      [CC]   src/config/conf.o
      [CC]   src/config/dialogs.o
      [CC]   src/config/home.o
      [CC]   src/config/kbdbind.o
      [CC]   src/config/options.o
      [CC]   src/config/opttypes.o
      [CC]   src/config/timer.o
      [CC]   src/config/urlhist.o
      [LD]   src/config/lib.o
make[2]: Leaving directory `/u00/home/ant/download/elinks-0.11.1/src/config'
[MAKE all]   src/cookies
make[2]: Entering directory `/u00/home/ant/download/elinks-0.11.1/src/cookies'
      [CC]   src/cookies/cookies.o
      [CC]   src/cookies/dialogs.o
      [CC]   src/cookies/parser.o
      [LD]   src/cookies/lib.o
make[2]: Leaving directory `/u00/home/ant/download/elinks-0.11.1/src/cookies'
[MAKE all]   src/dialogs
make[2]: Entering directory `/u00/home/ant/download/elinks-0.11.1/src/dialogs'
      [CC]   src/dialogs/document.o
      [CC]   src/dialogs/download.o
      [CC]   src/dialogs/edit.o
      [CC]   src/dialogs/info.o
      [CC]   src/dialogs/menu.o
      [CC]   src/dialogs/options.o
      [CC]   src/dialogs/progress.o
      [CC]   src/dialogs/status.o
      [LD]   src/dialogs/lib.o
make[2]: Leaving directory `/u00/home/ant/download/elinks-0.11.1/src/dialogs'
[MAKE all]   src/document
make[2]: Entering directory `/u00/home/ant/download/elinks-0.11.1/src/document'
[MAKE all]   src/document/css
make[3]: Entering directory `/u00/home/ant/download/elinks-0.11.1/src/document/css'
      [CC]   src/document/css/apply.o
      [CC]   src/document/css/css.o
      [CC]   src/document/css/parser.o
      [CC]   src/document/css/property.o
      [CC]   src/document/css/scanner.o
      [CC]   src/document/css/stylesheet.o
      [CC]   src/document/css/value.o
      [LD]   src/document/css/lib.o
make[3]: Leaving directory `/u00/home/ant/download/elinks-0.11.1/src/document/css'
[MAKE all]   src/document/html
make[3]: Entering directory `/u00/home/ant/download/elinks-0.11.1/src/document/html'
[MAKE all]   src/document/html/parser
make[4]: Entering directory 
`/u00/home/ant/download/elinks-0.11.1/src/document/html/parser'
      [CC]   src/document/html/parser/forms.o
      [CC]   src/document/html/parser/general.o
      [CC]   src/document/html/parser/link.o
      [CC]   src/document/html/parser/parse.o
      [CC]   src/document/html/parser/stack.o
      [CC]   src/document/html/parser/table.o
      [LD]   src/document/html/parser/lib.o
make[4]: Leaving directory 
`/u00/home/ant/download/elinks-0.11.1/src/document/html/parser'
      [CC]   src/document/html/frames.o
      [CC]   src/document/html/parser.o
      [CC]   src/document/html/renderer.o
In file included from ../../.././src/cache/cache.h:6,
                 from renderer.c:13:
../../.././src/util/time.h:44: error: syntax error before 'n'
In file included from renderer.c:13:
../../.././src/cache/cache.h:47: error: syntax error before 'off_t'
../../.././src/cache/cache.h:47: warning: no semicolon at end of struct or union
../../.././src/cache/cache.h:48: warning: type defaults to 'int' in declaration of 
'data_size'
../../.././src/cache/cache.h:48: warning: data definition has no type or storage class
../../.././src/cache/cache.h:54: error: syntax error before ':' token
../../.././src/cache/cache.h:55: error: syntax error before ':' token
../../.././src/cache/cache.h:56: error: syntax error before ':' token
../../.././src/cache/cache.h:57: error: syntax error before ':' token
../../.././src/cache/cache.h:58: error: syntax error before ':' token
../../.././src/cache/cache.h:63: error: syntax error before ':' token
../../.././src/cache/cache.h:66: error: syntax error before '}' token
../../.././src/cache/cache.h:71: error: syntax error before 'off_t'
../../.././src/cache/cache.h:71: warning: no semicolon at end of struct or union
../../.././src/cache/cache.h:72: warning: type defaults to 'int' in declaration of 
'length'
../../.././src/cache/cache.h:72: warning: data definition has no type or storage class
../../.././src/cache/cache.h:73: error: syntax error before 'real_length'
../../.././src/cache/cache.h:73: warning: type defaults to 'int' in declaration of 
'real_length'
../../.././src/cache/cache.h:73: warning: data definition has no type or storage class
../../.././src/cache/cache.h:75: error: syntax error before '}' token
../../.././src/cache/cache.h:106: error: syntax error before 'off_t'
../../.././src/cache/cache.h:116: error: syntax error before 'off_t'
../../.././src/cache/cache.h:118: error: syntax error before 'off_t'
renderer.c: In function 'html_special':
renderer.c:1679: error: dereferencing pointer to incomplete type
renderer.c:1680: error: dereferencing pointer to incomplete type
renderer.c:1688: error: dereferencing pointer to incomplete type
renderer.c:1691: error: dereferencing pointer to incomplete type
renderer.c:1692: error: dereferencing pointer to incomplete type
renderer.c: In function 'render_html_document':
renderer.c:1940: error: dereferencing pointer to incomplete type
renderer.c:1940: error: dereferencing pointer to incomplete type
renderer.c:1945: error: dereferencing pointer to incomplete type
make[3]: *** [renderer.o] Error 1
make[3]: Leaving directory `/u00/home/ant/download/elinks-0.11.1/src/document/html'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/u00/home/ant/download/elinks-0.11.1/src/document'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/u00/home/ant/download/elinks-0.11.1/src'
make: *** [all-recursive] Error 1


>  - Try to move the line 
> 
> #include "elinks.h"
> 
>    above the line
> 
> #include <ctype.h>
> 
>    So the system headers cannot control what is included by elinks.h.
> 
>  - Along the same line as the above, try to add the lines:
> 
> #include <errno.h>
> #include <stdio.h>
> #include <stdlib.h>
> 
>    between '#include "config.h"' and '#include <ctype.h>' in
>    src/document/html/renderer.c.
>  
>    src/document/html/frames.c includes cache/cache.h as it's first
>    ELinks header file and compiles ok. Could it be that one of the
>    system header files it includes does some magic?

Which file(s) are this/these in? And is this right after I extract the contents from the 
source?
-- 
"It is not enough to be industrious; so are the ants. What are you industrious about?" --Henry David Thoreau
  /\___/\
 / /\ /\ \     Phillip (Ant) @ http://antfarm.ma.cx (Personal Web Site)
| |o   o| |         Ant's Quality Foraged Links (AQFL): http://aqfl.net
   \ _ /                 E-mail: philpi at earthlink.net or ant at zimage.com
    ( )



More information about the elinks-users mailing list