[elinks-users] renderer.c:1685: error: 'struct cache_entry' has no member named 'cache_mode' when compiling eLinks v0.11.3 in Debian (PowerPC)

Kalle Olavi Niemitalo kon at iki.fi
Sat Jun 30 17:40:29 PDT 2007


Phillip Pi <ant at zimage.com> writes:

> In file included from ../../.././src/cache/cache.h:6,
>                  from renderer.c:13:
> ../../.././src/util/time.h:47: error: expected ')' before 'n'
> In file included from renderer.c:13:
> ../../.././src/cache/cache.h:47: error: expected 
> specifier-qualifier-list before 'off_t'

This looks like ELinks bug 936: off_t is not defined.
http://bugzilla.elinks.cz/show_bug.cgi?id=936

However, elinks-0.11.3/src/util/time.h contains:

#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif

And <sys/types.h> should define off_t.  So presumably something
went wrong in configure and made it not define HAVE_SYS_TYPES_H.

> The rest of the log can be found here: http://pastebin.ca/597412 ... 

   42. checking for sys/types.h... yes

I don't know what happened.  Please post your config.log and config.h,
or attach them to bug 936.  And please try compiling this test program:

#include <sys/types.h>
int main(void)
{
  return (off_t) 0;
}

Just to see whether <sys/types.h> is defining off_t as expected.



More information about the elinks-users mailing list