------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=1204 Summary: Undefined reference to `_imp__pcre_compile' when using DEV-C++ Product: PCRE Version: 8.12 Platform: Other OS/Version: Windows Status: NEW Severity: bug Priority: medium Component: Documentation AssignedTo: [email protected] ReportedBy: [email protected] CC: [email protected] Hi I am using DEV-C++ to create a small C application where I need to use Perl compatible regular expressions. I have downloaded the PCRE 8.21 source files and have created a DEV-C++ C project to build the PCRE code as a library. This is successful, however when I link this library with my application I get the following link error: [Linker error] utils.o:utils.c:(.text+0x34e): undefined reference to `_imp__pcre_compile' collect2: ld returned 1 exit status C:\Users\pch\Documents\Projects\PV0205\OAM\Makefile.win [Build Error] [MDN-OAM.exe] Error 1 (if this is the only error: please check your library includes) As far as I can tell my application and the PCRE library are DEV-C++ C projects so there should be no name mangling, and my project specifically includes the PCRE library file I have created. Thus have you any ideas why the undefined reference linkage error is occurring? Many Thanks Paul Paul Harnden Principal Consultant T: +44 1373 852283 [email protected] -- Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email -- ## List details at https://lists.exim.org/mailman/listinfo/pcre-dev
