On Tue, 1 Feb 2011, Ali Saidi wrote:

On Tue, 1 Feb 2011 06:14:24 -0600 (CST), Nilay Vaish <[email protected]> wrote:
On Sun, 30 Jan 2011, nathan binkert wrote:

We need a lot more details if we're going to help you.

But I received an error that gcc could not find file.

On Sat, January 29, 2011 9:10 pm, Ali Saidi wrote:
It's checked by scons when it decides to build with mysql support.

Ali

Sent from my ARM powered device

On Jan 29, 2011, at 11:46 AM, Nilay Vaish <[email protected]> wrote:

The file src/base/mysql.hh includes mysql_version.h. Where all is it
searched for? I think there you should be an initial check whether this
file is with in the include path or not.

--
Nilay

What is the output of: mysql_config  --include

Does mysql_version exist in the directory shown? Did you build the same source tree on a machine with MySQL? What happens if you delete your build directory and build again?

Looking at the scons script there might be a case where mysql_config is available but the header files don't exist. We probably need to detect this some how. CheckLibWithHeader() after we parse the output of mysql_config might do the trick.


Ali


The directory in the output of `mysql_config -- include` does not exist. So, we do need to detect the presence of header files them selves.

--
Nilay
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to