Re: Problem compiling mysql-5.1.33

2009-04-08 Thread walter harms
most likely a missing include it should have at least:

#include sys/time.h
#include sys/resource.h

Dave Shariff Yadallee - System Administrator a.k.a. The Root of the Problem 
schrieb:
 make  all-am
 Making all in mysql-test
 Making all in lib/My/SafeProcess
 g++ -DHAVE_CONFIG_H -I. -I../../../../include  -O3
 -fno-implicit-templates -fno-exceptions -fno-rtti -MT safe_process.o -MD -MP 
 -MF .deps/safe_process.Tpo -c -o safe_process.o safe_process.cc
 In file included from safe_process.cc:48:
 /usr/include/sys/resource.h:63: field `ru_utime' has incomplete type
 /usr/include/sys/resource.h:64: field `ru_stime' has incomplete type 
 
 why is this taking place?
 
 Compile options
 
 ./configure --prefix=/usr/contrib --localstatedir=/usr/contrib/mysqld 
 --without-innodb --disable-debug --with-ssl=/usr/contrib 
 --enable-thread-safe-client 
 

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org



Problem compiling mysql-5.1.33

2009-04-04 Thread Dave Shariff Yadallee - System Administrator a.k.a. The Root of the Problem
make  all-am
Making all in mysql-test
Making all in lib/My/SafeProcess
g++ -DHAVE_CONFIG_H -I. -I../../../../include  -O3
-fno-implicit-templates -fno-exceptions -fno-rtti -MT safe_process.o -MD -MP 
-MF .deps/safe_process.Tpo -c -o safe_process.o safe_process.cc
In file included from safe_process.cc:48:
/usr/include/sys/resource.h:63: field `ru_utime' has incomplete type
/usr/include/sys/resource.h:64: field `ru_stime' has incomplete type 

why is this taking place?

Compile options

./configure --prefix=/usr/contrib --localstatedir=/usr/contrib/mysqld 
--without-innodb --disable-debug --with-ssl=/usr/contrib 
--enable-thread-safe-client 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=arch...@jab.org