Program will not recognize that I have changed a file

From: Wes Johnson (hinote1313_at_hotmail.com)
Date: 07/02/04


Date: 2 Jul 2004 14:18:28 -0700

I've encountered a problem where I am changing a particular c source
document and then running the associated make command in the console.
If I then run that program, it is as though the update has been
ignored.
In actuality this change I am making is for the file tcpdump.c for the
program tcpdump.
I am changing a simple print statement that I am sure will be
executed:

Something like
        fprintf(stderr, "%d packets received by
filter\n",stat.ps_recv);

** is changed to **

        fprintf(stderr, "%d packets received by filter BLAH \n",
stat.ps_recv);

I don't feel that the particular program is the source of my problem.
I have done the basic commands to set it up (./configure, make, make
install) and it is running fine. Concerning my update, I am sure that
tcpdump.c is actually being changed and the giving the make command
again acts as though it recognizes a change of a file, and running
make once again will reply that all the created .o files are up to
date. Does anybody know of what could be keeping my addition of "BLAH"
from being printed? I am not very experienced with c so I figure I
must be overlooking something involving compilation.
. I am using SuSE linux and the makefile calls the gcc compiler.



Relevant Pages

  • Re: make
    ... > build/compile process (I use gcc compiler) ... > Actually we use a 'make' command to build the source files and the ...
    (comp.lang.c)
  • Re: There is no build command line to execute.
    ... I can create a command line program that runs in windows, ... I cannot see the gcc compiler recognizing ... PS- I assume that pig aerodynamics involves considerable emphasis on weight, ... Download MinGW (Minimum GNU for Windows). ...
    (microsoft.public.vc.language)
  • Re: How can I add more include path to gcc compiler on RHEL3
    ... How can I add more include path to gcc compiler on RHEL3? ... re-compile C source code, ... Add "-I dir" to your gcc command line. ...
    (comp.os.linux.misc)
  • make
    ... build/compile process (I use gcc compiler) ... Actually we use a 'make' command to build the source files and the ...
    (comp.lang.c)
  • Re: finding a fax in the fax console?
    ... The command line is for the Open command for TIF files. ... > I am still unable to view any faxes from the console. ... >>>>Inbox to the Outlook Inbox. ...
    (microsoft.public.outlook.fax)