It is currently Sat, 24 Oct 2020 11:14:32 GMT



 
Author Message
 df wanted / gs binaries
I'm wondering if someone has a working 'df' for Linux 0.96bp2. I was
able to get tsx-11.mit.edu's df.c to compile using gcc2.11c under
0.96a but now, with gcc2.2.2, I get garbage output. Can't figure
out why (well, I haven't put a lot of effort into it yet.)

Also, is there a compiled version of gs (GhostScript) for Linux?

--
Johannes Grosen
ISC Group System Administrator
401E Minard Hall
North Dakota State University
(701) 237-8409



 Mon, 19 Dec 1994 02:06:48 GMT   
 df wanted / gs binaries
: I'm wondering if someone has a working 'df' for Linux 0.96bp2. I was
: able to get tsx-11.mit.edu's df.c to compile using gcc2.11c under
: 0.96a but now, with gcc2.2.2, I get garbage output. Can't figure
: out why (well, I haven't put a lot of effort into it yet.)

The problem is probably being caused by the new stat structure or the
VFS changes.  It doesn't matter anyway.  gcc2.2.2 has everything needed
to compile the df from the GNU fileutils.  It should also work with the
new file-systems (extfs and dosfs) that are in the works.  I recommend
you switch to the GNU df and forget about the old, minix-specific one.

David
--
David Engel                        Optical Data Systems, Inc.
da...@ods.com                      1101 E. Arapaho Road
(214) 234-6400                     Richardson, TX  75081



 Mon, 19 Dec 1994 02:42:11 GMT   
 df wanted / gs binaries

A number of disk-utilities like 'df', 'fsck', 'mkfs' and 'mkswap' were
broken by (I believe) 0.96a2. This was caused by changes necessary for VFS.
The (very crude) hack I used was to use the include files "fs.h', 'minix-fs.h'
and 'mm.h' from 0.96a1 for these programs. The correct solution of course
would be to write versions of these programs for the new file-systems.

Ben Lippolt.



 Mon, 19 Dec 1994 04:42:27 GMT   
 df wanted / gs binaries

My guess would be that the df.c is dependent upon the inode strcutures
(or superblock structures) and when you've recompiled it under gcc
2.2.2, it choked.  I had a similar problem when recompiling mkfs.

Better yet, 'df' is a part of the GNU file utilties, which compile
cleanly under Linux.  (Make sure to define ST_BLOCKS_MISSING, or
whatever it is that tells the programs not to use the st_blocks thing,
which is defined but not implemented.

Not that I'm aware of, but the source is available on prep.ai.mit.edu,
and should compile reasonably cleanly.  (I was able to compile gs 2.4
under an older compiler and it went fine, as I remember.)
--
                                    +    Jim Winstead Jr. (CSci '95)
                                    |            Harvey Mudd College
                                    | jwins...@jarthur.Claremont.EDU
                                    + This is all my words.  Honest!



 Mon, 19 Dec 1994 09:43:40 GMT   
 df wanted / gs binaries
jwins...@jarthur.claremont.edu (Jim Winstead Jr.) writes:

I was able to compile it with 2.11c, using the unix-gcc Makefile and
the "-DSYSV -D__SVR3" flags.  No other changes needed.

Please note that the "-D__SVR3" flag is necessary, because it causes
gs not to use the st_blocks thing -- which, as Jim says, is defined
but not implemented.

--
Ben Cox
th...@uiuc.edu



 Mon, 19 Dec 1994 12:48:47 GMT   
 df wanted / gs binaries

Before anybody flames me for not using 2.2.2: this was a couple of
weeks ago.  I will compile again with 2.2.2 soon.

--
Ben Cox
th...@uiuc.edu



 Mon, 19 Dec 1994 12:54:18 GMT   
 df wanted / gs binaries

It's long time since I built gs. Anyway, I suspect you can just use
"-D__SVR3" or "-D__SVR3 -D_POSIX_SOURCE". BTW, what does "-DSYSV" do in
gs? for bstrings?

H.J.



 Mon, 19 Dec 1994 14:30:07 GMT   
 df wanted / gs binaries

Compile the GNU fileutils with the new GCC 2.2.2 and it will also
build df.

Martin
--
 _____ _____
|     |___  |   Martin Junius           FIDO:      2:242/6.1
| | | |   | |   Communication Networks  Internet:  m...@dfv.rwth-aachen.de
|_|_|_|@work|   Aachen U of Technology  Phone:     ++49-241-8790220 (voice)



 Tue, 20 Dec 1994 20:17:13 GMT   
 df wanted / gs binaries

fsck.c and mkfs.c can be easily compiled with GCC 2.2.2 if you
replace `struct super_block' with `struct minix_super_block' (in
the #define Super).

Martin
--
 _____ _____
|     |___  |   Martin Junius           FIDO:      2:242/6.1
| | | |   | |   Communication Networks  Internet:  m...@dfv.rwth-aachen.de
|_|_|_|@work|   Aachen U of Technology  Phone:     ++49-241-8790220 (voice)



 Fri, 23 Dec 1994 17:17:55 GMT   
 
   [ 9 post ] 

Similar Threads

1. gs 2.6.2 reads doc, gs 4.03 does not

2. gs 2.6.2 reads doc, gs 4.03 does not

3. gs 2.6.2 reads doc , gs 4.03 does not

4. gs 2.6 reads doc , gs 4.03 does not

5. Difference between df -k and df -b

6. df -v versus df -vf

7. WANTED: DOSEMU-Binary for Slackware Linux 2.1.0 Kernel 1.1.59

8. wu-ftpd - WITH Security fixes - Binaries wanted

9. Wanted: Term binary - SunOS 4.1.4

10. Recent cdrecord and mkisofs binaries wanted


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software