Ethereal-dev: [Ethereal-dev] a few plugin directories (plugins/docsis) always compile

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Jeff Morriss <morriss@xxxxxxxxx>
Date: Fri, 21 Mar 2003 21:07:14 -0500 (EST)
I noticed that recently a few of the plugin directories always compile
something--even if I had just done a 'make' (and no source had changed).  
E.g.:

cd plugins/docsis
make # make everything
make # remakes some things


Doing "make -d" shows me:

[...]
      Considering target file `packet-docsis-static.o'.
       File `packet-docsis-static.o' does not exist.
        Pruning file `packet-docsis.c'.
        Pruning file `moduleinfo.h'.
       Finished prerequisites of target file `packet-docsis-static.o'.
      Must remake target `packet-docsis-static.o'.
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. 
-I../.. -I/usr/local/include  -I../.. -I../../wiretap -I/usr/local/include  
-DINET6 -D_U_="__attribute__((unused))" -Wall -W -g -O2 -I../.. 
-I../../wiretap -I/usr/local/include -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -c -o 
packet-docsis-static.o -D__ETHEREAL_STATIC__ ./packet-docsis.c
Putting child 0x08089b88 (packet-docsis-static.o) PID 31727 on the chain.
Live child 0x08089b88 (packet-docsis-static.o) PID 31727
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/local/include -I../.. 
-I../../wiretap -I/usr/local/include -DINET6 
"-D_U_=__attribute__((unused))" -Wall -W -g -O2 -I../.. -I../../wiretap 
-I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include -c -D__ETHEREAL_STATIC__ 
./packet-docsis.c  -fPIC -DPIC -o packet-docsis-static.lo


So it appears that the problem is that the Makefile thinks it wants to 
generate "packet-docsis-static.o" but it's actually generating 
"packet-docsis-static.lo".

Any thoughts on what the problem is?  I don't remember seeing this 
behavior before.