Re: rlimit and rlimit64 problems when compiling with ICC 8.1

2004-10-29 Thread Gleb Paharenko
Hi.



What subversion of MySQL have you compiled?

From 4.0.xx and 4.1.xx branches?





MQ [EMAIL PROTECTED] wrote:

 Hello,

 

 I was able to compile mysql 4.0 and 4.1 (static) successfully with

 intel compiler 8.0 on an IA32 system running redhat enterprise linux

 3.0. However when I tried to compile with intel compiler 8.1 with the

 same options (same as ones used by mysql AB, except i link statically)

 I kept getting the following errors:

 

 mysqld.cc(1912): error: argument of type rlimit * is incompatible with parameter 
 of type const rlimit64 *

  if (setrlimit(RLIMIT_CORE, rl)  global_system_variables.log_warnings)

 

 It seems something is wrong between rlimit and rlimit64. Since I'm

 using an IA32 system, I wonder why it has something to do with

 rlimit64. I tried to post the problem in the intel forum with no

 luck. google didn't return any similar stories either.

 

 Any suggestions is greatly appreciated.

 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
   ___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



rlimit and rlimit64 problems when compiling with ICC 8.1

2004-10-28 Thread MQ
Hello,

I was able to compile mysql 4.0 and 4.1 (static) successfully with
intel compiler 8.0 on an IA32 system running redhat enterprise linux
3.0. However when I tried to compile with intel compiler 8.1 with the
same options (same as ones used by mysql AB, except i link statically)
I kept getting the following errors:

mysqld.cc(1912): error: argument of type rlimit * is incompatible with parameter of 
type const rlimit64 *
  if (setrlimit(RLIMIT_CORE, rl)  global_system_variables.log_warnings)

It seems something is wrong between rlimit and rlimit64. Since I'm
using an IA32 system, I wonder why it has something to do with
rlimit64. I tried to post the problem in the intel forum with no
luck. google didn't return any similar stories either.

Any suggestions is greatly appreciated.

-- 
Best regards,
 MQ



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



rlimit and rlimit64 problems when compiling with ICC 8.1

2004-10-28 Thread MQ
Hello,

I was able to compile mysql 4.0 and 4.1 (static) successfully with
intel compiler 8.0 on an IA32 system running redhat enterprise linux
3.0. However when I tried to compile with intel compiler 8.1 with the
same options (same as ones used by mysql AB, except i link statically)
I kept getting the following errors:

mysqld.cc(1912): error: argument of type rlimit * is incompatible with parameter of 
type const rlimit64 *
  if (setrlimit(RLIMIT_CORE, rl)  global_system_variables.log_warnings)

It seems something is wrong between rlimit and rlimit64. Since I'm
using an IA32 system, I wonder why it has something to do with
rlimit64. I tried to post the problem in the intel forum with no
luck. google didn't return any similar stories either.

Any suggestions is greatly appreciated.

-- 
Best regards,
 MQ



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]