Menu

#49 Cygwin compile

v2.x
closed
nobody
None
5
2016-05-25
2015-08-10
Tommy B
No

Tryign to compile on cygwin with latest verion of pFUNIT off of git:
git clone git://git.code.sf.net/p/pfunit/code pFUnit

F90_VENDOR=GNU
F90=gfortran
gfortran --version
GNU Fortran (GCC) 4.9.3
python --version
Python 2.7.10
doxygen --version
1.8.10

$ make tests
make -C /home/Thomasb/pFUnit/source all
make[1]: Entering directory '/home/Thomasb/pFUnit/source'
lib /out:libpfunit.lib SurrogateTestCase.obj AssertArraysInternalassertRelativelyEqual.obj Expectation.obj DebugListener.obj AssertComplex2.obj TestListener.obj AssertInteger4.obj pFUnitPackage.obj ResultPrinter.obj MpiTestParameter.obj TestRunner.obj AssertComplex5.obj ParameterizedTestCase.obj AssertInteger5.obj AssertReal4.obj pFUnit.obj AssertArraysInternalassertLessThanOrEqual.obj MockCall.obj AssertBasic.obj XmlPrinter.obj AssertReal1.obj Exception.obj TestSuite.obj Params.obj AssertArraysInternalassertNotEqual.obj BaseTestRunner.obj AssertInteger0.obj AssertReal2.obj AssertArraysInternalassertEqual.obj MockRepository.obj AssertInteger3.obj AbstractTestResult.obj SubsetRunner.obj AssertArraysInternalassertGreaterThan.obj ParallelException.obj AssertArraysInternalassertLessThan.obj Assert.obj TestMethod.obj AssertComplex0.obj AssertArraysInternalassertGreaterThanOrEqual.obj AssertComplex4.obj Mock.obj Test.obj RemoteProxyTestCase.obj AbstractTestParameter.obj ParallelContext.obj AssertArraysSupport.obj AssertInteger2.obj TestCase.obj UnixPipeInterfaces.obj AssertComplex1.obj DynamicTestCase.obj AssertInteger1.obj AssertReal3.obj TestFailure.obj SourceLocation.obj StringConversionUtilities.obj TestResult.obj AssertReal0.obj AssertComplex3.obj SerialContext.obj AssertReal5.obj ThrowFundamentalTypes.obj
Microsoft (R) Library Manager Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

SurrogateTestCase.obj : fatal error LNK1136: invalid or corrupt file
GNUmakefile:72: recipe for target 'libpfunit.lib' failed
make[1]: [libpfunit.lib] Error 112
make[1]: Leaving directory '/home/Thomasb/pFUnit/source'
GNUmakefile:190: recipe for target 'all' failed
make:
[all] Error 2

I have tried doing a clean and just removing SurrogateTestCase.obj and rebuilding with no difference.
I had to edit the make file as the continuation character () was for some reason screwing up the clean rule,

Discussion

  • Tom Clune

    Tom Clune - 2015-08-17

    Sorry for the delay in responding - was on travel and am just now catching up on pfunit issues.

    Unfortunately, I do not have access to a cygwin environment for the purposes of replicating this problem. I will try to ask around among my colleagues to see if they can help me out.

    Also, could you elaborate on what you meant by "the continuation character ()". Makefiles don't have continuation characters, and I don't see anything unusual in the clean rule.

    - Tom

     
  • Tom Clune

    Tom Clune - 2016-05-25
    • status: open --> closed
     

Log in to post a comment.