[MINC-users] [Insight-users]Trouble making MINC2.0.11

Lasse Riis Østergaard lasse at hst.aau.dk
Tue Jan 9 03:07:01 EST 2007


You have to add -lsocket to the list of libraries names when linking.

Lasse

Mark Bouts wrote:
> Sorry it should be solaris 9.2 of course
>
> Mark
>
> mark at invivonmr.uu.nl wrote:
>   
>> Hello,
>>
>> I'm currently trying to install MINC2.0.11 on my PC equipped with solaris
>> 2.9, but during the compilation of the sources I get an error message on
>> linking the ecattominc files. I have installed the NetCDF 3.6.1 package
>> and the configure runs properly.
>>
>> The message is as follows:
>>
>> /bin/bash ./libtool --tag=CC --mode=link gcc  -g -O2    -o ecattominc 
>> conversion/ecattominc/ecattominc.o  conversion/ecattominc/insertblood.o 
>> conversion/ecattominc/ecat_file.o  conversion/ecattominc/machine_indep.o
>> libvolume_io2.la libminc2.la -lnetcdf -lm
>> gcc -g -O2 -o ecattominc conversion/ecattominc/ecattominc.o
>> conversion/ecattominc/insertblood.o conversion/ecattominc/ecat_file.o
>> conversion/ecattominc/machine_indep.o  ./.libs/libvolume_io2.a
>> ./.libs/libminc2.a -lnetcdf -lm
>> Undefined                       first referenced
>>  symbol                             in file
>> ntohl                               conversion/ecattominc/machine_indep.o
>> ntohs                               conversion/ecattominc/machine_indep.o
>> ld: fatal: Symbol referencing errors. No output written to ecattominc
>>
>> Does anybody know what I'm doing wrong?
>>
>> Thnx a lot!
>>
>> Mark
>>
>> _______________________________________________
>> MINC-users at bic.mni.mcgill.ca
>> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>>
>>   
>>     
>
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>   



More information about the MINC-users mailing list