Marco and Jonas, ld --version: GNU ld version 2.14.90.0.4 20030523 > Add the "-s" option to your command line options when compiling, and > afterwards run ./ppas.sh. Then you can see what error ld gives. Added -s to the command line, ran ppas.sh, and it linked. Strange, eh?