miscutils/nmeter.c:19: warning: redefinition of `ulong'
Yuwen Dai
yuwend at gmail.com
Sun Dec 3 22:43:24 PST 2006
On 12/3/06, Yuwen Dai <yuwend at gmail.com> wrote:
>
> Dear all,
>
> When I built the current svn source, the following error showed up:
>
> miscutils/nmeter.c:19: warning: redefinition of `ulong'
> /usr/include/sys/types.h:151: warning: `ulong' previously declared here
> make[1]: *** [miscutils/nmeter.o] Error 1
> make: *** [miscutils] Error 2
>
> other info:
> $ uname -a
> Linux latitude 2.6.8-2-686 #1 Tue Aug 16 13:22:48 UTC 2005 i686 GNU/Linux
> $ gcc --version
> gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
>
> It seems a bug.
On a Redhat Linux box, I compiled this applet successfully. The version of
glibc is 2.3.4, higher than that of in Debian sarge, whose glibc is 2.3.2.
Since C99 uses a new <inttype.h>, is it better to use somthing like int64_t
?
Yuwen
Best regards,
> Dai Yuwen
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/busybox/attachments/20061204/f04f6222/attachment.html
More information about the busybox
mailing list