Thanks for the help Mara. The library I was trying to link in was ccpl http://sourceforge.net/projects/ccpl/
, which I had compiled myself. I found some thread, (which I can't seem to find anymore :P !), that suggested wrapping the link option in two -Wl,option
commands, though I don't remember what the option
was. It seemed to fix the undefined symbol for ccpl, but I was then getting undefined symbol errors for the pgplot library! I have moved on to a different solution for the libraries I will use...