Search the web
Sign In
New User? Sign Up
webalizer · Support newsgroup for webalizer
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Building webalizer 2.20 with 64bit OS   Message List  
Reply | Forward Message #3723 of 3751 |
Re: [webalizer] Building webalizer 2.20 with 64bit OS

Assuming you are compiling with gcc (which is standard on OpenSuSE),
no need to worry. on your platform C99-like u_int64_t has the same
size as 'long long' for which the '%llu' is meant to be.

As long as each of the warnings is about uint64_t versus %llu (or %lld
) you're perfectly fine.

(Haven't compiled webalaizer for this platform myself, so I don't know
if other warnings pop up.)


Ger



On Wed, Oct 15, 2008 at 8:49 AM, hansmeiserweb <hansmeiserweb@...> wrote:
> Hi,
>
> try to compile the new webalizer on OpenSuse 11 64bit. I think all db-
> utils are correct installed and the binaries are created but there
> are some suspicious messages. some examples:
>
> webalizer.c: In function 'main':
> webalizer.c:741: warning: format '%llu' expects type 'long long
> unsigned int', but argument 5 has type 'u_int64_t
>
> preserve.c: In function 'get_history':
> preserve.c:134: warning: format '%llu' expects type 'long long
> unsigned int *', but argument 5 has type 'u_int64_t *'
>
> preserve.c: In function 'put_history':
> preserve.c:197: warning: format '%llu' expects type 'long long
> unsigned int', but argument 5 has type 'u_int64_t'
>
> preserve.c: In function 'save_state':
> preserve.c:366: warning: format '%llu' expects type 'long long
> unsigned int', but argument 3 has type 'u_int64_t'
>
> preserve.c: In function 'restore_state':
> preserve.c:594: warning: format '%llu' expects type 'long long
> unsigned int *', but argument 3 has type 'u_int64_t *'
>
> output.c: In function 'month_total_table':
> output.c:529: warning: format '%llu' expects type 'long long unsigned
> int', but argument 4 has type 'u_int64_t'
>
> output.c: In function 'daily_total_table':
> output.c:706: warning: format '%llu' expects type 'long long unsigned
> int', but argument 3 has type 'u_int64_t'
>
> output.c: In function 'hourly_total_table':
> output.c:798: warning: format '%llu' expects type 'long long unsigned
> int', but argument 3 has type 'u_int64_t'
>
> and some others....
>
> It seems that binaries are working at the moment but is this a reason
> to worry?
>
> Thank You
>
> Hans
>
>



--
Met vriendelijke groeten / Best regards,

Ger Hobbelt

--------------------------------------------------
web: http://www.hobbelt.com/
http://www.hebbut.net/
mail: ger@...
mobile: +31-6-11 120 978
--------------------------------------------------



Wed Oct 15, 2008 9:17 am

i_a42
Offline Offline
Send Email Send Email

Forward
Message #3723 of 3751 |
Expand Messages Author Sort by Date

Hi, try to compile the new webalizer on OpenSuse 11 64bit. I think all db- utils are correct installed and the binaries are created but there are some...
hansmeiserweb
Offline Send Email
Oct 15, 2008
6:49 am

Can I get webalizer to give me a throughput figure for each hour of the day? Thanks To: webalizer@yahoogroups.com From: hansmeiserweb@... Date: Wed, 15...
Mark Ireland
akaidr4vr
Offline Send Email
Oct 15, 2008
7:05 am

Can I get webalizer to give me a throughput figure for each hour of the day? Thanks _________________________________________________________________...
Mark Ireland
akaidr4vr
Offline Send Email
Oct 15, 2008
11:06 pm

Assuming you are compiling with gcc (which is standard on OpenSuSE), no need to worry. on your platform C99-like u_int64_t has the same size as 'long long' for...
Ger Hobbelt
i_a42
Offline Send Email
Oct 15, 2008
9:17 am

Hi, ... ok, thanks. i did some tests and the binaries work for now. bigger tests will follow later. Thank you Andre...
hansmeiserweb
Offline Send Email
Oct 15, 2008
12:45 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help