Im trying to use some of the functions that are in the /lib/libproc-3.2.6.so library in my Ubuntu Distribution.
I have downloaded and installed the header files and they are defined in my source files.
Currently this is all im trying to do, just for starters...
proc_t **read_proc = readproctab(0);
/tmp/cclqMImG.o: In function `Sysmon::initialise_sysmon()':
sysmon.cpp:(.text+0x494): undefined reference to `readproctab'
collect2: ld returned 1 exit status
g++ -o sysmon.o sysmon.cpp `pkg-config --libs --cflags gtk+-2.0`
You are not linking your executable against libproc (that is a linker error message).
-lproc to the linker command.