SCIRun User Mailing List

Text archives Help


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


Chronological Thread 
  • From: Richard Coffey <richardc@phys.washington.edu>
  • To: scirun-users@sci.utah.edu
  • Subject: [SCIRUN-USERS] Problems compiling SCIRun on RedHat Enterprise 4 update 5
  • Date: Thu, 21 Jun 2007 18:54:24 -0700

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 "XF86VidModeGetModeLine"

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

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

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/libX11.so;/usr/ X11R6/lib/libXext.so

However, it's still failing to compile:

Linking CXX executable ../scirun
Linking CXX executable ../scirunremote
/local/tmp/SCIRun/bin/lib/libCore_Geom.so: undefined reference to `XF86VidModeQueryVersion'
/local/tmp/SCIRun/bin/lib/libCore_Geom.so: undefined reference to `XF86VidModeGetModeLine'
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/libCore_Geom.so: undefined reference to `XF86VidModeQueryVersion'
/local/tmp/SCIRun/bin/lib/libCore_Geom.so: undefined reference to `XF86VidModeGetModeLine'
collect2: ld returned 1 exit status
make[2]: *** [scirunremote] Error 1
make[1]: *** [Dataflow/CMakeFiles/scirunremote.dir/all] Error 2
make: *** [all] Error 2

Thoughts?

Thanks!
R.C.

---
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 majordomo@sci.utah.edu   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
===========================================================================





Archive powered by MHonArc 2.6.16.

Top of page