SCIRun User Mailing List

Text archives Help


Re: [SCIRUN-USERS] scirun5 with tests


Chronological Thread 
  • From: Dan White <dwhite@sci.utah.edu>
  • To: scirun-users@sci.utah.edu
  • Subject: Re: [SCIRUN-USERS] scirun5 with tests
  • Date: Mon, 30 Jun 2014 11:49:10 -0600

That's the same error that shows up on our Travis-CI builds, for example:
https://travis-ci.org/SCIInstitute/SCIRunGUIPrototype/builds/26776504

I tried the -lrt fix and I managed to get a Ubuntu + clang build working on Travis, but not gcc. Would switching to clang work for your purposes?
Dan

On 6/30/2014 9:19 AM, Petar Petrov wrote:
Hi Ayla,

$c++ --version, results in:

c++ (Ubuntu 4.8.1-2ubuntu1~12.04) 4.8.1



On Mon, Jun 30, 2014 at 4:58 PM, Ayla Khan <ayla@sci.utah.edu> wrote:
Hi Petar,

Which GCC compiler version are you building with?

Thanks,

Ayla

On Jun 29, 2014, at 12:28 PM, Petar Petrov wrote:

Hello,
I've just managed to build scirun5, however when I try building with
tests i got the following linker error:

[ 83%] Built target Testing_Utils
Linking CXX executable ../../../../Algorithms_Field_Tests
../../../../lib/libAlgorithms_DataIO.so: undefined reference to
`clock_gettime'

I found people having some really strange ordering issues with the flag: -lrt


http://stackoverflow.com/questions/17150075/undefined-reference-to-clock-gettime-although-lrt-is-given

any help?






Archive powered by MHonArc 2.6.18.

Top of page