Subject: Re: help with recovering deleted file
To: Jeremy C. Reed <reed@reedmedia.net>
From: Erik Huizing <huizing@cpsc.ucalgary.ca>
List: netbsd-users
Date: 07/28/2001 21:15:31
I've been trying to get tct to compile too. The errors come from there not
being a NetBSD entry in the makedefs file. This is rather odd, since Free
and Open BSD are listed:
  FreeBSD.4*)   DEFS="-DFREEBSD4"
                ;;
  OpenBSD.2*)   DEFS="-DOPENBSD2"
                ;;

I added my own NetBSD.1* entry, and this seemed to fix most the compile
problems:
  NetBSD.1*)   DEFS="-DNETBSD1"
                ;;

A few exceptions: 
 - src/lastcom/sys_defs.h    I had to add || defined(NETBSD1) to the list
 - src/pcat/pcat.c: I'm not sure which OS NetBSD's /proc system is closest
to. The exact error is:
gcc -Wunused -I../aux -DNETBSD1 -O -g  -c pcat.c
pcat.c:206: #error "This operating system is not supported"
*** Error code 1

Stop.
*** Error code 1

Stop.


 - src/fstools   most OS dependent stuff, can probably borrow the
Open/Free BSD defines. The exact error is

gcc -Wunused -DNETBSD1 -I../aux -O -g  -c fs_buf.c
In file included from fs_buf.c:30:
fs_tools.h:210: #error "This operating system is not supported"
*** Error code 1

Stop.
*** Error code 1

Stop.


In all, I was able to build these files:
grave-robber*   mactime*        md5*            timeout*
lastcomm*       major_minor*    strip_tct_home*



On Sat, 28 Jul 2001, Jeremy C. Reed wrote:

> Please tell us any error messages that are reported, so we can try to get
> lazarus (is that the name of the tool?) working.
> 
>    Jeremy C. Reed
>    http://www.reedmedia.net/
> 
> 
>