[Scons-users] Fwd: Help with scons: warning: No dependency generated for file: stdlib.h
Managan, Rob
managan1 at llnl.gov
Tue Apr 8 13:44:00 EDT 2014
Fritz,
Off the top of my head are you by any chance using
#include "stdio.h"
In your C files? I think scons thinks those are headers you are responsible for and wants to find them. If so you may have to change them to
#include <stdio.h>
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
Rob Managan email managan at llnl.gov
LLNL phone: 925-423-0903
P.O. Box 808, L-095 FAX: 925-422-3389
Livermore, CA 94551-0808
On 4/8/14 9:58 AM, "Jason Fritz" <jasonfritzpublic at gmail.com<mailto:jasonfritzpublic at gmail.com>> wrote:
Hi Scons folks,
I'm a new SCons user trying to convert an existing makefile-based build system to SCons. I'm having trouble with a bunch of SCons warnings about being unable to find all kinds of standard header files, e.g. stdlib.h, stdio.h, stdint.h, string.h, cassert.
For example:
scons: warning: No dependency generated for file: stdlib.h (included from: lib/common/dbglog/dbglog.h) -- file not found
File "/usr/bin/scons", line 190, in <module>
The strange thing is that the compiler (gcc) compiles the source code just fine. It is only SCons that is having trouble finding the files.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20140408/25f09eee/attachment.htm
More information about the Scons-users
mailing list