With this code: http://www.rpi.edu/~doriad/Daniweb/maxflow/ If I run g++ Example.cpp graph.cpp with g++ 3.3, everything works fine. However if I run the same command with g++ 4.4, I get this error: Example.cpp:(.text+0x38): undefined reference to `Graph<int, int, int>::Graph(int, int, void (*)(char*))' Does anyone know how I can get this to work with g++ 4.4? Thanks! David -- View this message in context: http://www.nabble.com/Code-compiles-with-g%2B%2B-3.3-but-not-g%2B%2B-4.4-tp25929745p25929745.html Sent from the gcc - Help mailing list archive at Nabble.com.