Couple minor Alpha OSF nits

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

 




In version nntpcache-1.0.7.1, using the DEC native CC...

  ridge.spiritone.com% uname -a
  OSF1 ridge.spiritone.com V3.2 17 alpha

1) make clean 
  
  ridge.spiritone.com% make clean
  rm -f *.o nntpcached confused mmap_tests nntpcache.config config.h conf.c conf.h mmap_results.h extern.h version.h config.cache config.status config.log errlist '.#'* '#'* *.bak *'~' *.tmp core *.core ktrace.out configure.scan tags TAGS *.orig
  find . -name '.#*' -o -name '#*' -o -name '*.bak' -o -name '*~' -o -name '*.orig' -o -name '*.core' -o -name '*.swp' | xargs rm
  rm: too few arguments
  Try `rm --help' for more information.
  *** Exit 123
  Stop.

Purhaps a "rm -f" is called for here.

It was also be nice if it didn't destory the autconf and local 
configurations.  These would be better placed in a "really-clean" target.

2) /usr/lib/cmplrs/cc/cfe: Error: vsnprintf.c: 305: An if directive is not terminated properly

It's some kind of macro incompatibility with...

Xadd (#ifdef HAVE_STDARG_H)
Xadd (# include <stdarg.h>)
Xadd (#endif)

In vsnprintf.c.  Commenting these out fortunatly worked.

3) mmalloc_getkey pointer type

/usr/lib/cmplrs/cc/cfe: Warning: nntpcache.c, line 585: Incompatible pointer type assignment                
	        Ni=mmalloc_getkey (Mbase, 0);
                --^

Looks like mmalloc_getkey is a * char, and Ni a pointer to a structure.  I
didn't bother fixing it.


4) Make install bombs in mmalloc

Change these lines...
install:        all
                #$(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB).n
                #$(RANLIB) $(libdir)/$(TARGETLIB).n
                #mv -f $(libdir)/$(TARGETLIB).n $(libdir)/$(TARGETLIB)

to this...

install:        all
#               $(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB).n
#               $(RANLIB) $(libdir)/$(TARGETLIB).n
#               mv -f $(libdir)/$(TARGETLIB).n $(libdir)/$(TARGETLIB)

5) Make install ends with...

Remember you can subscribe to the nntpache-users mailing lists by
sending a message with the subject "subscribe" to
nntpcache-users-request@nntpcache.org

There is not "nntpcache.org".




-- 
Aaron Nabil
nabil@teleport.com


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux