Found part of the issue, I tried disabling the -ansi option and that got me further, will investigate that issue later but for now I can at least compile the dll. -- View this message in context: http://gcc.1065356.n5.nabble.com/Confusing-undefined-function-which-I-know-is-defined-tp983603p984448.html Sent from the gcc - Help mailing list archive at Nabble.com.