On Tue, Jan 31, 2006 at 03:02:52AM +0100, Jonas Fonseca wrote: > Phillip Pi <[EMAIL PROTECTED]> wrote Sun, Jan 29, 2006: > > Hello, I just downloaded and tried to compile eLinks v0.11.1 but make > > failed: > > Hello, thanks for reporting this. > > First a little general note that someone else will hopefully see. You > _don't_ have to subscribe to post. I know this is a showstopper for some > (not for you Phillip but for other). If you just send a message to the > list it will go through our human filter and hopefully show up after a > day or so depending on when messages from non-subscribers are checked.
Ahh, I didn't know that. I always thought mailing lists required a subscription and valdiation. > I've added a note about this on the community page. Good! I did not even recall seeing one. So, does the replies go back to my e-mail address? > > $ 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. > > $ ./configure ; make > [...] > > checking for special C compiler options needed for large files... no > > checking for _FILE_OFFSET_BITS value needed for large files... 64 > > checking for _LARGE_FILES value needed for large files... no > > checking for size_t... yes > > checking for off_t... yes > > So off_t is found. Good. > > [...] > > 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' > > But off_t is not defined before used here and in cache.h below. > > > 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 > > > I did not have problems with the previous versions (before v0.11.0). > > What's wrong? Thank you in advance. :) > > During 0.11 development we began to use off_t to better support large > files. By the looks of the output of configure the off_t type is > available but the correct system header files are not included. > src/elinks.h (which is always included before any other ELinks header > file) includes various files in src/osdep/ that should define off_t. > > 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; > maybe removing '/sys' and '| grep typedef' if no results are found. Did not try unless you want me to do so. :) -- "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: [EMAIL PROTECTED] or [EMAIL PROTECTED] ( ) _______________________________________________ elinks-users mailing list elinks-users@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-users