I Have an old project that used the statfs call in the past, but im unable to get it to compile with purebasic 5.61 beta 1. Using the pbsoimporter as mentioned here
http://www.purebasic.fr/english/viewtop ... lit=statfs neither worked in the amd64 nor the x86 version of linux 5.61 beta 1
Code: Select all
StatFSBuffer$ = Space(200)
Res = statfs_(Path$, @StatFSBuffer$)
If (Res = 0)
Blocks.i = PeekL(@StatFSBuffer$ + 16)
endif
PB 5.61 beta 1 seems unable to resolve the api call and just aborts compilation with
[13:11:57] [COMPILER] Line 480: statfs_() is not a function, array, list, map or macro.
Is it my mistake or a 5.61 beta problem?
ps: installing a previous major version now to see if that works