First example works: Create external funcion calls in a temporary file and linking