[Snort-devel] 'make clean' problem

Bob Perkins rnpnj at ...398...
Fri Jun 21 18:54:02 EDT 2002


Using today's (6/21/2002) snort-stable-snapshot.tar.gz

System Architecture: x86
Operating System and version: OpenBSD 2.9
What rules (if any) you were using: N/A
What command line switches you were using: See below

After running ./configure, running 'make clean'
displays the
following messages:

==========================
Making clean in win32
*** Error code 1

Stop in /home/work/snort/snort-stable/win32 (line 143
of Makefile).
*** Error code 1

Stop in /home/work/snort/snort-stable (line 383 of
Makefile).
==========================

This is the result of a coding problem in
snort-stable/win32/Makefile.in.
A similar problem in snort-1.8.6/Makefile.in has been
fixed since the
1.8.6 release.  Copying the changes from
snort-stable/Makefile.in to
snort-stable/win32/Makefile.in resolved the problem. 
The same changes
were also required in
snort-stable/win32/WIN32-Includes/Makefile.in.
The diff's of the changes are:

snort-stable/win32/Makefile.in:
*** Makefile.in.sav     Wed May 15 09:30:17 2002
--- Makefile.in Fri Jun 21 18:49:18 2002
***************
*** 125,135 ****
  maintainer-clean-recursive:
        @set fnord $(MAKEFLAGS); amf=$$2; \
        dot_seen=no; \
!       rev=''; list='$(SUBDIRS)'; for subdir in
$$list; do \
!         rev="$$subdir $$rev"; \
!         test "$$subdir" = "." && dot_seen=yes; \
!       done; \
!       test "$$dot_seen" = "no" && rev=". $$rev"; \
        target=`echo $@ | sed s/-recursive//`; \
        for subdir in $$rev; do \
          echo "Making $$target in $$subdir"; \
--- 125,140 ----
  maintainer-clean-recursive:
        @set fnord $(MAKEFLAGS); amf=$$2; \
        dot_seen=no; \
!         case "$@" in \
!           distclean-* | maintainer-clean-*)
list='$(DIST_SUBDIRS)' ;; \
!           *) list='$(SUBDIRS)' ;; \
!         esac; \
!         rev=''; for subdir in $$list; do \
!           if test "$$subdir" = "."; then :; else \
!             rev="$$subdir $$rev"; \
!           fi; \
!         done; \
!         rev="$$rev ."; \
        target=`echo $@ | sed s/-recursive//`; \
        for subdir in $$rev; do \
          echo "Making $$target in $$subdir"; \

==========================

snort-stable/win32/WIN32-Includes/Makefile.in:
*** Makefile.in.sav     Wed May 15 09:30:17 2002
--- Makefile.in Fri Jun 21 18:49:18 2002
***************
*** 125,135 ****
  maintainer-clean-recursive:
        @set fnord $(MAKEFLAGS); amf=$$2; \
        dot_seen=no; \
!       rev=''; list='$(SUBDIRS)'; for subdir in
$$list; do \
!         rev="$$subdir $$rev"; \
!         test "$$subdir" = "." && dot_seen=yes; \
!       done; \
!       test "$$dot_seen" = "no" && rev=". $$rev"; \
        target=`echo $@ | sed s/-recursive//`; \
        for subdir in $$rev; do \
          echo "Making $$target in $$subdir"; \
--- 125,140 ----
  maintainer-clean-recursive:
        @set fnord $(MAKEFLAGS); amf=$$2; \
        dot_seen=no; \
!         case "$@" in \
!           distclean-* | maintainer-clean-*)
list='$(DIST_SUBDIRS)' ;; \
!           *) list='$(SUBDIRS)' ;; \
!         esac; \
!         rev=''; for subdir in $$list; do \
!           if test "$$subdir" = "."; then :; else \
!             rev="$$subdir $$rev"; \
!           fi; \
!         done; \
!         rev="$$rev ."; \
        target=`echo $@ | sed s/-recursive//`; \
        for subdir in $$rev; do \
          echo "Making $$target in $$subdir"; \


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com




More information about the Snort-devel mailing list