[OpenAFS-devel] OpenBSD build

Jeffrey Hutzelman jhutz@cmu.edu
Mon, 17 Oct 2005 14:47:17 -0400


On Monday, October 17, 2005 02:03:19 PM -0400 Jim Rees <rees@umich.edu> 
wrote:

> Any idea why src/sys no longer builds on OpenBSD from cvs head?

[...]

> syscall.o: file not recognized: File truncated
> collect2: ld returned 1 exit status
> *** Error code 1
>
> Stop in /afs/citi.umich.edu/projects/openafs/i386_obsd36/src/sys (line 68
> of Makefile). % ls -l syscall.o
> -rw-r--r--  1 rees  staff  0 Oct 17 14:01 syscall.o

Well, there you go.  syscall.o is a 0-length file, which is clearly not a 
valid object.  I didn't see it being built in the output you quoted, which 
suggests that it existed before you ran make.  Have you tried removing it?