This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Build CVS insight on x86_64
- From: Jie Zhang <jie dot zhang at analog dot com>
- To: insight at sourceware dot org
- Date: Wed, 14 Jan 2009 18:57:16 +0800
- Subject: Build CVS insight on x86_64
Does anyone succeed in building CVS insight on x86_64? I tried a native
build today on Debian unstable AMD64. But it failed. The error is:
gcc -pipe -shared -o libitk3.3.so itk_cmds.o itk_option.o
itk_archetype.o itk_util.o itkStubInit.o -lX11
-L/home/jie/sources/insight/build/tcl/unix -ltclstub8.4
-L/home/jie/sources/insight/build/tk/unix -ltkstub8.4
-L/home/jie/sources/insight/build/itcl/itcl -litclstub3.3
/usr/bin/ld: itk_cmds.o: relocation R_X86_64_32 against `a local symbol'
can not be used when making a shared object; recompile with -fPIC
itk_cmds.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
But it on i386 host is OK. But the insight 6.8 release on x86_64 is also OK.
Jie