SCIRun User Mailing List

Text archives Help

Re: [SCIRUN-USERS] Problems compiling SCIRun on RedHat Enterprise 4 update 5

Chronological Thread 
  • From: Richard Coffey <>
  • To:
  • Cc: Martin Cole <>
  • Subject: Re: [SCIRUN-USERS] Problems compiling SCIRun on RedHat Enterprise 4 update 5
  • Date: Sat, 23 Jun 2007 23:44:51 -0700

Hi Marty,

Yes, yes, once a staff member, now a user!

I did what you requested however, it still was having problems compiling scirun and scirunremote. Then I added the flag to these variables:

CMAKE_EXE_LINKER_FLAGS           -lXxf86vm

...and now SCIRun compiles and works.

Thanks for your help!

On Jun 22, 2007, at 10:10 AM, Martin Cole wrote:

Who is this Richard Coffey person??!?! :)

If you cd to your bin directory, and run ccmake ../src you will get the
interactive configuration for cmake. hit t to get toggle advanced mode
on, and scroll down to CMAKE_X_CFLAGS.  It looks like you could modify
that variable and have some success.

Let me know how it goes.


On Thu, 2007-06-21 at 18:54 -0700, Richard Coffey wrote:
Hi all,

I'm sure I'm not the first to stumble on this problem, however, I
couldn't find anything on this using Google.

I'm having problems compiling SCIRun on a RedHat machine for an
Astronomer here at UW. It's failing on a undefined reference to
"XF86VidModeQueryVersion" and undefined reference to

Using the magic Google "inst-o-matic documentation feature", the
recommendation is to include the following library: -lXxf86vm to the

If I hack the individual build.make file created by cmake it will

However, there are many instances that require this. I've been trying
to figure out how to pass to cmake this additional X11 library flag.
By using the -i feature in cmake, I was able to include the library
at this point:

Variable Name: CMAKE_X_LIBS
Description: Libraries and options used in X11 programs.
Current Value: -lXxf86vm;-lSM;-lICE;/usr/X11R6/lib/;/usr/

However, it's still failing to compile:

Linking CXX executable ../scirun
Linking CXX executable ../scirunremote
/local/tmp/SCIRun/bin/lib/ undefined reference to
/local/tmp/SCIRun/bin/lib/ undefined reference to
collect2: ld returned 1 exit status
make[2]: *** [scirun] Error 1
make[1]: *** [Dataflow/CMakeFiles/scirun.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/local/tmp/SCIRun/bin/lib/ undefined reference to
/local/tmp/SCIRun/bin/lib/ undefined reference to
collect2: ld returned 1 exit status
make[2]: *** [scirunremote] Error 1
make[1]: *** [Dataflow/CMakeFiles/scirunremote.dir/all] Error 2
make: *** [all] Error 2



Richard Coffey, Director of IT
Physics and Astronomy, University of Washington
Rm. B215 - 206-543-7751
"Are you ready for the Summer of Love and Research?"

===================================================================== ======
== The SCIRun Users mailing list: send email to ==
== for more details. ==
== Please acknowledge use of SCIRun in your papers and reports: ==
== see biopse_citation.bib ==
===================================================================== ======

== The SCIRun Users mailing list: send email to   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see         ==

Archive powered by MHonArc 2.6.16.

Top of page