Subject: Re: make src problems
To: Theo Deraadt <deraadt@fsa.ca>
From: John Brezak <brezak@ch.hp.com>
List: current-users
Date: 12/27/1993 12:15:55
> >nm: sdbout.o: no name list.
> >nm: xcoffout.o: no name list.
> >nm: insn-attrtab.o: no name list.
> >Segmentation fault - core dumped
> >ar: no archive members specified.
> >usage:  ar -d [-Tv] archive file ...
> >	ar -m [-Tv] archive file ...
> 
> I didn't encounter this problem at all -- my tree is very new.
> I would suggest that you install new versions of ar, nm, ranlib,
> tsort, and lorder.

I ran into this problem also. It is join dumping core when being called from
lorder. I sent this to netbsd-bugs. Here is the "fix" I used, but I don't
think it is exactly right.

*** join.c~	Wed Dec 22 06:23:56 1993
--- join.c	Fri Dec 24 09:22:00 1993
***************
*** 451,457 ****
  	if (needsep++)
  		(void)printf("%c", *tabchar);
  	if (!ferror(stdout))
! 		if (lp->fieldcnt < fieldno) {
  			if (empty != NULL)
  				(void)printf("%s", empty);
  		} else {
--- 451,457 ----
  	if (needsep++)
  		(void)printf("%c", *tabchar);
  	if (!ferror(stdout))
! 		if (lp->fieldcnt < fieldno || lp->fields == NULL) {
  			if (empty != NULL)
  				(void)printf("%s", empty);
  		} else {

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 John Brezak                    UUCP:     uunet!apollo.hp!brezak
 Hewlett Packard/Apollo         Internet: brezak@ch.hp.com
 300 Apollo Drive               Phone:    (508) 436-4915
 Chelmsford, Massachusetts      Fax:      (508) 436-5103

------------------------------------------------------------------------------