[Scons-users] Fwd: Help with scons: warning: No dependency generated for file: stdlib.h

Jason Fritz jasonfritzpublic at gmail.com
Tue Apr 8 13:56:45 EDT 2014


Hi Rob, thank you for your reply.

However, changing "stdio.h" to <stdio.h> does not solve the warning.

Thanks,
Jason


On Tue, Apr 8, 2014 at 11:44 AM, Managan, Rob <managan1 at llnl.gov> wrote:


> 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> 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.

>

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://four.pairlist.net/pipermail/scons-users/attachments/20140408/c4881d85/attachment.html


More information about the Scons-users mailing list