That is very strange, since the whole PI platform is being compiled and linked with GCC 4.7.2 on Linux and FreeBSD without problems.
Are you sure that...
- You have all the necessary environment variables well defined (and pointing where they should point).
- You are working with the latest PCL 2.0 available:
http://pixinsight.com/developer/pcl/download/- Just for sanity (although should not be necessary in theory), have you regenerated all makefiles for your module.
Finally, a word of caution. If you compile and link on Fedora 17, other users working with older distributions (such as Fedora 16, for example), will have problems with your module due to incompatibilities between libc versions. If you release your module as open source this is a minor problem, though, since they can always recompile it, now that PCL is open source too.