using unknown api calls with purebasic
Posted: Wed Aug 23, 2017 12:26 pm
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
PB 5.61 beta 1 seems unable to resolve the api call and just aborts compilation with
ps: installing a previous major version now to see if that works
Code: Select all
StatFSBuffer$ = Space(200)
Res = statfs_(Path$, @StatFSBuffer$)
If (Res = 0)
Blocks.i = PeekL(@StatFSBuffer$ + 16)
endif
Is it my mistake or a 5.61 beta problem?[13:11:57] [COMPILER] Line 480: statfs_() is not a function, array, list, map or macro.
ps: installing a previous major version now to see if that works