Just requesting a basic explaination on what this means:
sendpack error LNK2019: unresolved external symbol _ifprint referenced in function _main
Name:
Anonymous2006-04-06 4:51
The object module compiled from your .c file with the main() function uses a function that's compiled as ifprint, and the linker can't find it in the libraries you listed. You probably need to check if your compiler works correctly (i.e. it uses the appropriate default libraries) and add libraries for the functions you use with -lXXX or just /path/to/library/libXXX.a as if it were an input module.
Now you'll ask, where exactly to find XXX? Well, that's the bad thing about it. Library management is still in the dark ages and it sucks. Hard.