From: John Stone (johns_at_ks.uiuc.edu)
Date: Wed Jan 23 2013 - 14:13:57 CST

Hi,
  The errors are actually pretty obvious to me:
> LibTachyonDisplayDevice.C:(.text+0x13b): undefined reference to
> `rt_tex_transmode'

What version of Tachyon did you compile? Which version of the VMD source?
I think that you have mismatched versions of the two and that is why
you're getting undefined references.

Cheers,
  John

On Wed, Jan 23, 2013 at 08:00:41PM +0100, Albert wrote:
> Hello:
>
> I am compiling VMD from source code with configuration command:
>
> ./configure LINUXAMD64 OPENGL FLTK TK CUDA IMD LIBSBALL XINERAMA XINPUT
> LIBTACHYON VRPN NETCDF TCL PYTHON PTHREADS NUMPY SILENT
>
>
> but it failed without any obvious errors:
>
> ptxas info : Used 21 registers, 32+16 bytes smem, 4 bytes cmem[1]
> ptxas info : Compiling entry function
> '_ZN6thrust6detail7backend4cuda6detail11b40c_thrust17ScanScatterDigitsIjjLi3ELi4ELi12ENS4_10NopFunctorIjEES7_EEvPbPiPT_SB_PT0_SD_NS4_16CtaDecompositionE'
> for 'sm_10'
> ptxas info : Used 28 registers, 6432+16 bytes smem, 68 bytes cmem[1]
> Linking vmd_LINUXAMD64 ...
> /soft/python2.7/lib/python2.7/config/libpython2.7.a(posixmodule.o): In
> function `posix_tmpnam':
> Python-2.7.3/./Modules/posixmodule.c:7432: warning: the use of
> `tmpnam_r' is dangerous, better use `mkstemp'
> Stride.o: In function `ss_from_stride(DrawMolecule*)':
> Stride.C:(.text+0x41): warning: the use of `tempnam' is dangerous,
> better use `mkstemp'
> LibTachyonDisplayDevice.o: In function
> `LibTachyonDisplayDevice::tex_colormaterial(float*, int)':
> LibTachyonDisplayDevice.C:(.text+0x13b): undefined reference to
> `rt_tex_transmode'
> LibTachyonDisplayDevice.o: In function
> `LibTachyonDisplayDevice::write_materials()':
> LibTachyonDisplayDevice.C:(.text+0x825): undefined reference to
> `rt_background_gradient'
> LibTachyonDisplayDevice.o: In function
> `LibTachyonDisplayDevice::define_volume_texture(int, int, int, int,
> float const*, float const*, float const*, unsigned char*)':
> LibTachyonDisplayDevice.C:(.text+0x1851): undefined reference to
> `rt_define_teximage_rgb24'
> collect2: ld returned 1 exit status
> make: *** [vmd_LINUXAMD64] Error 1
>
>
> thank you very much
> best
> Albert

-- 
NIH Center for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
http://www.ks.uiuc.edu/~johns/           Phone: 217-244-3349
http://www.ks.uiuc.edu/Research/vmd/       Fax: 217-244-6078