everything looks fine to me, but it doesn’t work with error messages “undefined reference” to those cutil functions. While I’ve already compiled them with the links to the libraries.
I couldn’t understand why can’t the compiler find the cutil functions. Does any see any problems with the way i compile? I’m using Fedora Core 8.
Does this mean the cutil functions cannot be compiled with gcc?
The order you list libraries can also be important if one library makes calls to another. A useful linker option to know about is --start-group -lthis -lthat --end-group. Check your ld man page for more info.