Bug#435136: [Mac-on-linux-devel] Bug#435136: [Mac-on-linux-users] Compiling binaries failed

2007-07-29 Thread Andreas Schwab
didier <[EMAIL PROTECTED]> writes: > I'm seeing the same on Ubuntu Gutsy for me the pb is with > #define _LARGEFILE64_SOURCE > in drivers/disk/include/blk_dmg.h Feature test macros must be defined _before_ any standard header has been included. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PRO

Bug#435136: [Mac-on-linux-devel] Bug#435136: [Mac-on-linux-users] Compiling binaries failed

2007-07-29 Thread didier
I'm seeing the same on Ubuntu Gutsy for me the pb is with #define _LARGEFILE64_SOURCE in drivers/disk/include/blk_dmg.h it compiles without it and seems to work but I don't have compressed images. Didier -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Con

Bug#435136: [Mac-on-linux-devel] Bug#435136: [Mac-on-linux-users] Compiling binaries failed

2007-07-29 Thread Elimar Riesebieter
On Sun, 29 Jul 2007 the mental interface of Mark Brown told: [...] > Note that I've no idea what version of Mac on Linux Elimar was > experiencing trouble with and have been entirely unable to reproduce the > problem he is reporting. If someone could provide reproduction > instructions or (better

Bug#435136: [Mac-on-linux-users] Compiling binaries failed

2007-07-29 Thread Joseph Jezak
Whatever is going on there is no way that including stdio.h prior to zlib.h should break anything (or be required for that matter). I've just had a brief look and as far as I can tell it works perfectly well with either _LARGEFILE64_SOURCE or _FILE_OFFSET_BITS set with both 1.2.3 and 1.2.3.3 (the

Bug#435136: [Mac-on-linux-users] Compiling binaries failed

2007-07-29 Thread Mark Brown
On Sun, Jul 29, 2007 at 12:18:15PM -0400, Joseph Jezak wrote: >> -#include >> #include "blk_dmg.h" > Well, that's wicked annoying. I added that to fix build errors on FC7. > I've reverted that change, can someone running FC7 see if it still builds > and if not, please post the whole error.

Bug#435136: [Mac-on-linux-users] Compiling binaries failed

2007-07-29 Thread Joseph Jezak
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.c2007-07-29 17:42:08.0 +0200 +++ b/src/drivers/disk/blk_dmg.c2007-07-29 17:42:33.0 +0200 @@ -26,7 +26,6 @@ * OUT OF OR IN CONNECT

Bug#435136: [Mac-on-linux-users] Compiling binaries failed

2007-07-29 Thread Elimar Riesebieter
On Sun, 29 Jul 2007 the mental interface of Joseph Jezak told: > Elimar Riesebieter wrote: > > Compilingblk_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 > > '__attribut