[MINC-users] compiling RMS.c for mincrealign

Ji Hyum KO kojinet at bic.mni.mcgill.ca
Tue Nov 27 18:12:25 EST 2007


Hello,

I am trying to compile RMS.c to mincrealign with option of -target_for_RMS
of MRI file.

I think I have all the necessary header files, ie., volume_io.h and etc,
but it gives me the following errors when I tried to compile it.
My gcc version is 3.3.5 (Debian).

Could anybody help me?

ursula:/usr/local/mni/data/jihyun/mincrealign/RMS/src# gcc RMS.c
-I/usr/local/mni/include/
/tmp/ccIcUkSO.o(.text+0x66): In function `main':
: undefined reference to `input_volume'
/tmp/ccIcUkSO.o(.text+0x8e): In function `main':
: undefined reference to `get_volume_sizes'
/tmp/ccIcUkSO.o(.text+0xa8): In function `main':
: undefined reference to `input_transform_file'
/tmp/ccIcUkSO.o(.text+0x141): In function `main':
: undefined reference to `get_cached_volume_voxel'
/tmp/ccIcUkSO.o(.text+0x376): In function `main':
: undefined reference to `convert_voxel_to_value'
/tmp/ccIcUkSO.o(.text+0x3c9): In function `main':
: undefined reference to `convert_3D_voxel_to_world'
/tmp/ccIcUkSO.o(.text+0x401): In function `main':
: undefined reference to `general_inverse_transform_point'
/tmp/ccIcUkSO.o(.text+0x419): In function `main':
: undefined reference to `pow'
/tmp/ccIcUkSO.o(.text+0x437): In function `main':
: undefined reference to `pow'
/tmp/ccIcUkSO.o(.text+0x45d): In function `main':
: undefined reference to `pow'
/tmp/ccIcUkSO.o(.text+0x4a1): In function `main':
: undefined reference to `sqrt'
collect2: ld returned 1 exit status

Thanks,

Ji Hyun



More information about the MINC-users mailing list