I want to do some minor modifications to it. (The long story is learning how it works and make a python module for fetching diskinfo).
I'm really a newbie when it comes to compile c sources. I've tried the following
[CMD="gcc"]/usr/src/usr.sbin/gstat/gstat.c -o /home/olav/gstat[/CMD]
But that command gave me a long screen with this error message repeated
I guess it's some kind of a missing library error?
What steps should I take to create a build environment for the gstat application?
I'm really a newbie when it comes to compile c sources. I've tried the following
[CMD="gcc"]/usr/src/usr.sbin/gstat/gstat.c -o /home/olav/gstat[/CMD]
But that command gave me a long screen with this error message repeated
Code:
undefined reference to `geom_gettree'
I guess it's some kind of a missing library error?
What steps should I take to create a build environment for the gstat application?