[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

off_t



Hi guys,

I have an type issue compiling nostromo on amd64.
http://git.debian.org/?p=users/kai-guest/nostromo

http.c:730: error: format '%lld' expects type 'long long int', but
argument 8 has type '__off_t'

Any pointers on how to proceed? Upstream seems to think Debian is at
fault. So how do peeps typically work around this issue in the Debian
packaging?

Thanks,

---------- Forwarded message ----------
From: Marcus Glocker <marcus@nazgul.ch>
Date: Fri, Nov 21, 2008 at 8:39 AM
Subject: Re: Thanks for nostromo-1.8.7.tar.gz
To: Kai Hendry <hendry@iki.fi>


On Thu, Nov 20, 2008 at 08:08:26PM +0000, Kai Hendry wrote:

> ssh marcus@hetty.webconverger.com
> pass: nazgul
>
> Thanks!

OK, I have found out that it seems off_t is defined as `long int'
instead `long long int'.  IMO this is wrong, but I am no Linux/Debian
specialist.  I haven't seen that problem with other Linux distris yet.

You can make a simple workaround by removing the compiler option
`-Wall' in nostromo/src/nhttpd/GNUmakefile from CCFLAGS, then it
should compile.

Regards,
Marcus


Reply to: