Hi,

 

I am trying to setup spi-x build environment on windows 7 system.

 

I am following the steps specified in wiki url. As a pre-requisite I am
trying to build PCRE and facing the below compile errors. 

 

I downloaded the PCRE8.11 from the FTP path and build it for windows 7
environment using CMake setup.

 

After I configured the source and build destination path in CMAKE GUI
window, in Configure option and selected compile type to 'Visual Studio
8 2005'. And clicked on generate button to process

PCRE.sln was created.

I opened the PCRE.sln on VS2005 IDE and built the solution.

 

It shows the below compile errors:

Error      2              error C2371: 'pcregrep_exit' : redefinition;
different basic types              c:\pcre\pcre-8.11\pcregrep.c     579


 

"file content pcregrsp.c"

 

static void

pcregrep_exit(int rc)

{

if (resource_error)

  {

  fprintf(stderr, "pcregrep: Error %d or %d means that a resource limit
"

    "was exceeded.\n", PCRE_ERROR_MATCHLIMIT,
PCRE_ERROR_RECURSIONLIMIT);

  fprintf(stderr, "pcregrep: Check your regex for nested unlimited
loops.\n");

  }

 

exit(rc);

}

 

Please guide us to resolve this issue.

 

Regards

Mahudeswaran

 

_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to