Mailing List Archives
Public Access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Problem compiling 7.0.0 on openSUSE
- Date: Fri, 22 Feb 2008 09:27:57 +0100
- From: Uwe Kahlert <Kahlert@xxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: [Condor-users] Problem compiling 7.0.0 on openSUSE
Sorry, I reply so late.
Yes HZ is defined but within an if-clause
#ifdef __KERNEL__
# define HZ CONFIG_HZ /* Internal kernel timer
frequency */
# define USER_HZ 100 /* .. some user interfaces are
in "ticks" */
# define CLOCKS_PER_SEC (USER_HZ) /* like times() */
#endif
As far as I understand this is just active, wenn __KERNEL__ is set which
may be the case, when compiling the Kernel-Sources?
The code compiled fine when defining HZ in the Condor config.h manually.
(Since then I did not have any time to go further in installing condor :-( )
Thanks
Uwe
Matthew Farrellee wrote:
> Uwe Kahlert wrote:
>> Hi.
>>
>> With Version 7.0.0 You started shipping the Condor source code.
>>
>> So I thought I try to compile it on our openSUSE 10.2 systems, but it
>> stops with an error message
>>
>> procapi.C:58: error: ‘HZ’ was not declared in this scope
>> procapi.C: In static member function ‘static int
>> ProcAPI::getProcInfo(pid_t, procInfo*&, int&)’:
>> procapi.C:590: error: ‘HZ’ was not declared in this scope
>> make[1]: *** [procapi.o] Error 1
>> make[1]: Leaving directory
>> `/lxtx/ma12/software/Condor/7.0.0/condor_src-7.0.0/src/condor_procapi'
>> make: *** [condor_procapi/libprocapi.a] Error 2
>>
>> This seems as if just HZ was not defined correctly?
>>
>> Before I start tracing this, I would like to ask wether this is known or
>> wether I may encounter problems with this system in principle?
>>
>> Kernel 2.6.18.8, gcc 4.1.2, glibc 2.5.34
>>
>> Thanks
>>
>> Uwe Kahlert
>
> I did some quick digging, and it seems that your system headers might
> not be defining HZ. Do you see it defined when you run "grep -rn HZ
> /usr/include"? I have it defined in /usr/include/asm/param.h.
>
> It isn't that there are problems in principle, but you are on a platform
> that Condor is not commonly built on. Some changes to the code might
> need to be done to get Condor to compile on your system. If you make the
> changes let us know about them over on condor-devel.
>
> Best,
>
>
> matt
>
>
> https://lists.cs.wisc.edu/mailman/listinfo/condor-devel
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/
>
--
======================================================================
Dr. Uwe Kahlert | Tel. : +49 241 80 27042
Inst. f. Theor. Physik A | UMS : +49 241 80 627042
Sommerfeldstr. | Fax. : +49 241 80 22188
52074 Aachen | e-mail : Kahlert@xxxxxxxxxxxxxxxxxxxxx
======================================================================