compile and link without errors