There is a new effect in the inkscape pipeline that renders gears for you. However, in the meantime, here is a nifty tutorial that shows you how to create simple gears. (it is in French, but with basic inkscape knowledge the images whould be fairly easy to follow.)


view this tutorial