Stig wrote:

> I'm having trouble compiling PHP on a freshly installed LM 7.0 machine.
> 
> I used the norwegian locale when I installed, but I don't know if this 
> is the problem...
> 
> The errors I get are with "functions/microtime.c" in the PHP tree. 
> Something about "usg"..
> I tried to install every package imaginable to make it work... even 
> tried to change the locale to US English to no use...
> 
> Anyone else experienced this and found a sollution to this ?
> 
> Thanks for your time.
> 
> 
> Stig-�rjan Smelror
> 
Excuse me for replying to my own mail, but here is the exact error I'm 
getting.

---------------------
functions/microtime.c: In function `php3_getrusage':
functions/microtime.c:152: storage size of `usg' isn't known
functions/microtime.c:155: `RUSAGE_SELF' undeclared (first use in this 
function)
functions/microtime.c:155: (Each undeclared identifier is reported only once
functions/microtime.c:155: for each function it appears in.)
functions/microtime.c:161: `RUSAGE_CHILDREN' undeclared (first use in 
this function)
make: *** [functions/microtime.o] Error 1
----------------------

Everything works fine on my private machine and I believe the problem 
lies with the norwegian locale I used when installing Mandrake.

Any help would be greatly appreciated!

Thanks for your time.

Best regards,
Stig-�rjan

Reply via email to