On Sun, 29 Jul 2007 the mental interface of
Joseph Jezak told:
> Elimar Riesebieter wrote:
> > Compiling blk_dmg.o
> > In file included from ./include/blk_dmg.h:37,
> > from blk_dmg.c:30:
> > /usr/include/zlib.h:1366: error: expected '=', ',', ';', 'asm' or
> > '__attribute__' before 'gzseek64'
> > /usr/include/zlib.h:1367: error: expected '=', ',', ';', 'asm' or
> > '__attribute__' before 'gztell64'
> > /usr/include/zlib.h:1368: error: expected declaration specifiers or '...'
> > before 'off64_t'
> > /usr/include/zlib.h:1369: error: expected declaration specifiers or '...'
> > before 'off64_t'
> > make[3]: *** [../../../obj-ppc/build/src/drivers/disk/blk_dmg.o] Error 1
> > make[2]: *** [sub-disk-all] Error 2
> > make[1]: *** [sub-drivers-all] Error 2
> > make: *** [sub-src-all] Error 2
> >
> > Any hints?
> >
> > Elimar
> >
> >
>
> It's not a MOL issue. Your zlib headers are broken when
> -D_LARGE_FILES is enabled. You can either turn off -D_LARGE_FILES
> in the MOL Makefile, or fix your headers.
The following patch did the trick!
diff -ur a/src/drivers/disk/blk_dmg.c b/src/drivers/disk/blk_dmg.c
--- a/src/drivers/disk/blk_dmg.c 2007-07-29 17:42:08.000000000 +0200
+++ b/src/drivers/disk/blk_dmg.c 2007-07-29 17:42:33.000000000 +0200
@@ -26,7 +26,6 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
-#include <stdio.h>
#include "blk_dmg.h"
/* Read 64 bit value */
--
"Talking much about oneself can also
be a means to conceal oneself."
-Friedrich Nietzsche
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]