Build issue on Suse10 x86_64.

Hi,

I tried to build a bit of code having one statement as:
some_variable=1000000 / HZ;

then getting error:
HZ was not declared in this scope.

This code can successfully executed on other O/S like linux.

I tried out little about this error.
In /usr/include/asm-x86_64/param.h HZ is define as
#ifdef KERNEL
#define HZ CONFIG_HZ


#endif

As I provide KERNEL with compiler option then getting same error for “CONFIG_HZ”.

O/S details:
$uname -a
Linux obsuse10 2.6.18.2-34-default #1 SMP…x86_64 x86_64 x86_64 GNU/Linux

please help me to resolve this.
Is there any requirement to apply o/s related patch or this is related to other issue.

Thanks in advance.

Hey steve mark:

>please help me to resolve this.

You’d get more help if you actually posted in the help forums. This is a
“comments and suggestions” forum as we hoped the forum name would
indicate. Good luck.


Kim (2/2/2010 8:46:59 AM Mountain)