[squeeze]Found error in standard header?! (bits/errno.h)
While building Allegro 4.4, it complained about a superfluous #endif on line 49 of a system header. What a cryptic error! Internet had no answer. Me delves into all the source and cmake scripts of the library. No progress.
Me resumes staring at alleged point of error. /usr/include/bits/errno.h (start@20) Code:
#ifdef _ERRNO_H Remove binary code, add comment ending, remove #endif. IT WORKED @~~~~0 I can only imagine that this is a deprecated header, or this weird beginning of /usr/include/errorno.h (which is includer of other header) does some voodoo: (the comment shouldn't matter, should it?) Code:
#ifndef __need_Emath |
? A buggy version of allegro-4.4 ?
cd allgro-4.4.2/ && mkdir build && cd build/ && cmake ../ && make http://garr.dl.sourceforge.net/proje...o-4.4.2.tar.gz I got no errors on any OS, including Debian Squeeze 32bits and 64bits. The headers /usr/include/bits/errno.h, /usr/include/linux/errno.h are provided by package 'libc6-dev'. . |
Thanks for trying that. Would you indulge me and have a look at your /usr/include/bits/errno.h, specifically around line 38? I have heard of another user on Ubuntu having the same problem as I did.
I don't know how high the chances are there actually is a mirror that provides faulty files. (But then again the number of files stored over the years is very big.) ----- GAH. How stupid of me! "Binary codes"? Corrupted file is more like it. |
Nailed it
It was memory corruption leading to disk errors. Very small chance such files are distributed defective.
|
All times are GMT -5. The time now is 02:12 PM. |