Amiga.org
Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Michele31415 on April 11, 2024, 04:46:10 PM
-
I'm trying to cross-compile Interlisp-D for my Amiga 2000 with OS 3.9 using Bebbo's cross-compiler m68k-amigaos-gcc-6.5.0b. It's here if anyone wants to take a look: git pull https://github.com/Interlisp-maiko.git.
Compilation is stopping because it can't find a file called sys/statvfs.h. I can't find it either Does AmigaOS even have statvfs.h? If not, is there a work-around? Thanks.
-
I'm trying to cross-compile Interlisp-D for my Amiga 2000 with OS 3.9 using Bebbo's cross-compiler m68k-amigaos-gcc-6.5.0b. It's here if anyone wants to take a look: git pull https://github.com/Interlisp-maiko.git.
Compilation is stopping because it can't find a file called sys/statvfs.h. I can't find it either Does AmigaOS even have statvfs.h? If not, is there a work-around? Thanks.
If its not used, cant you just remove the include?
-
Unfortunately, it is used. I've searched the web for this file and come up empty.
-
It most likely isn't specific to AmigaOS. A quick search brought up these two results very quickly.
https://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/statvfs.h.html
https://pubs.opengroup.org/onlinepubs/7908799/xsh/sysstatvfs.h.html
-
Yes, I've done a web search. There's no way that is actually going to work - you have to have an actual statvfs implementation that matches what the header says, and AmigaOS isn't likely to have one that matches those, nor is a Unix compatabillity library implementation likely to exactly match the header(s). I'm looking for an AmigaOS specific version of statvfs.
-
Perhaps you should ask salass00 - a search in the SDK shows that it is included in filesysbox.h, so he must have a way of building filesysbox with it.
Maybe asking over at amigans.net will help?
Best regards,
Niels
-
Ah ha! That was it. That is just what I was looking for. Thanks so much. For the record, and for anyone else who might need statvfs.h, it's here: https://github.com/salass00/filesysbox/tree/master/include/sys (https://github.com/salass00/filesysbox/tree/master/include/sys)