help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help installation REAP


From: Paul Smith
Subject: Re: Help installation REAP
Date: Mon, 08 Jul 2013 11:16:08 -0400

On Mon, 2013-07-08 at 13:02 +0000, M.C. Medina Gomez wrote:
> Dear Paul thanks a lot for your help... 
> Unfortunatly my installation is not complete yet. Now wehn I try to
> create the executable I get the following errors
> 
> REAP_SOURCE.c: In function âgetkinshipâ:
> REAP_SOURCE.c:242:6: warning: ignoring return value of âfgetsâ, declared with 
> attribute warn_unused_result [-Wunused-result]
> REAP_SOURCE.c:250:13: warning: ignoring return value of âfgetsâ, declared 
> with attribute warn_unused_result [-Wunused-result]
> REAP_SOURCE.c:317:6: warning: ignoring return value of âfgetsâ, declared with 
> attribute warn_unused_result [-Wunused-result]
> REAP_SOURCE.c:398:8: warning: ignoring return value of âfscanfâ, declared 
> with attribute warn_unused_result [-Wunused-result]
> REAP_SOURCE.c:416:6: warning: ignoring return value of âfgetsâ, declared with 
> attribute warn_unused_result [-Wunused-result]
> REAP_SOURCE.c:465:6: warning: ignoring return value of âfgetsâ, declared with 
> attribute warn_unused_result [-Wunused-result]
> REAP_SOURCE.c:765:11: warning: ignoring return value of âfscanfâ, declared 
> with attribute warn_unused_result [-Wunused-result]
> REAP_SOURCE.c:766:10: warning: ignoring return value of âfgetsâ, declared 
> with attribute warn_unused_result [-Wunused-result]
> REAP_SOURCE.c:838:9: warning: ignoring return value of âfscanfâ, declared 
> with attribute warn_unused_result [-Wunused-result]
> REAP_SOURCE.c:891:6: warning: ignoring return value of âfgetsâ, declared with 
> attribute warn_unused_result [-Wunused-result]

Those are, as you can see from the messages, warnings, not errors.  They
won't cause the compilation to fail, by themselves.

> As a consequence when I try to use the program the command is not found.

As Mason suggests, this is because by default (and for good security
reasons) your current directory is not on the list of places the system
will look for programs to run.

So if you want to run a program in your working directory you should
prefix it with the path (either absolute or relative) to your current
directory.  Typically that means, as the documentation that Mason quotes
suggests, you would run "./REAP", not "REAP".


Also as Mason suggests, none of this has anything to do with make. You'd
be better served locating mailing lists or forums discussing the REAP
package and asking these questions there.

Cheers!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]