AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
June 18, 2012 07:02AM
Ziad et al,

I have made it past that only to get stuck here.
I uploaded a file - afnierror.txt

But will post it here below - thought I could attach it.

/usr/lib64/libexpat.a does not exist per se, I found info online that it wants libexpat.so.0 rather that libexpat.so.1 so I linked that. No dice.

devel packages of all libs are installed

I am using lesstif - should I be using openmotif? Is there a difference that is critical?

==================
==================
/usr/bin/gcc -O2 -m64 -fPIC -DREAD_WRITE_64 -DLINUX2 -Wcomment -Wformat -DUSE_TRACING -DHAVE_XDBE -DVERSION=1107 -DNDEBUG -DHAVE_REGEX_H -DHAVE_LIBJPEG -DMotif -I. -I../include -I../include/common -I../../include -I../../include/common -I../../../jpeg-6b -I../../include/XmHTML -I/usr/X11R6/include -I. -I/usr/X11R6/include -c format.c
In file included from ../../include/XmHTML/XmHTMLP.h:1396:0,
from format.c:126:
../../include/XmHTML/XmHTMLfuncs.h:116:0: warning: "strdup" redefined [enabled by default]
In file included from /usr/include/string.h:637:0,
from format.c:121:
/usr/include/bits/string2.h:1316:0: note: this is the location of the previous definition
format.c: In function ‘_XmHTMLformatObjects’:
format.c:3200:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
format.c:3506:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
format.c:3570:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
format.c:3644:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
format.c:3656:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
format.c:3674:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
format.c:3744:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
format.c:4012:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
format.c:4097:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
format.c:4506:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
rm -f fonts.o
/usr/bin/gcc -O2 -m64 -fPIC -DREAD_WRITE_64 -DLINUX2 -Wcomment -Wformat -DUSE_TRACING -DHAVE_XDBE -DVERSION=1107 -DNDEBUG -DHAVE_REGEX_H -DHAVE_LIBJPEG -DMotif -I. -I../include -I../include/common -I../../include -I../../include/common -I../../../jpeg-6b -I../../include/XmHTML -I/usr/X11R6/include -I. -I/usr/X11R6/include -c fonts.c
In file included from ../../include/XmHTML/XmHTMLP.h:1396:0,
from fonts.c:62:
../../include/XmHTML/XmHTMLfuncs.h:116:0: warning: "strdup" redefined [enabled by default]
In file included from /usr/include/string.h:637:0,
from fonts.c:58:
/usr/include/bits/string2.h:1316:0: note: this is the location of the previous definition
rm -f paint.o
/usr/bin/gcc -O2 -m64 -fPIC -DREAD_WRITE_64 -DLINUX2 -Wcomment -Wformat -DUSE_TRACING -DHAVE_XDBE -DVERSION=1107 -DNDEBUG -DHAVE_REGEX_H -DHAVE_LIBJPEG -DMotif -I. -I../include -I../include/common -I../../include -I../../include/common -I../../../jpeg-6b -I../../include/XmHTML -I/usr/X11R6/include -I. -I/usr/X11R6/include -c paint.c
In file included from ../../include/XmHTML/XmHTMLP.h:1396:0,
from paint.c:119:
../../include/XmHTML/XmHTMLfuncs.h:116:0: warning: "strdup" redefined [enabled by default]
In file included from /usr/include/string.h:637:0,
from /usr/include/X11/Intrinsic.h:61,
from ../../include/XmHTML/toolkit.h:74,
from paint.c:118:
/usr/include/bits/string2.h:1316:0: note: this is the location of the previous definition
rm -f readXPM.o
/usr/bin/gcc -O2 -m64 -fPIC -DREAD_WRITE_64 -DLINUX2 -Wcomment -Wformat -DUSE_TRACING -DHAVE_XDBE -DVERSION=1107 -DNDEBUG -DHAVE_REGEX_H -DHAVE_LIBJPEG -DMotif -I. -I../include -I../include/common -I../../include -I../../include/common -I../../../jpeg-6b -I../../include/XmHTML -I/usr/X11R6/include -I. -I/usr/X11R6/include -c readXPM.c
In file included from ../../include/XmHTML/XmHTMLP.h:1396:0,
from readXPM.c:89:
../../include/XmHTML/XmHTMLfuncs.h:116:0: warning: "strdup" redefined [enabled by default]
In file included from /usr/include/string.h:637:0,
from /usr/include/X11/Intrinsic.h:61,
from ../../include/XmHTML/toolkit.h:74,
from readXPM.c:88:
/usr/include/bits/string2.h:1316:0: note: this is the location of the previous definition
readXPM.c:93:21: fatal error: X11/xpm.h: No such file or directory
compilation terminated.
make[3]: *** [readXPM.o] Error 1
make[3]: Leaving directory `/home/biolpsych/Downloads/afni_src/XmHTML/lib/common'
make[2]: *** [common] Error 2
make[2]: Leaving directory `/home/biolpsych/Downloads/afni_src/XmHTML/lib'
make[1]: *** [lib] Error 2
make[1]: Leaving directory `/home/biolpsych/Downloads/afni_src/XmHTML'
/bin/mv: cannot stat `lib/libXmHTML.a': No such file or directory
make[1]: Entering directory `/home/biolpsych/Downloads/afni_src/XmHTML'
+ cd lib
+ make clean SHELL=/bin/sh VERSION=1107 CC=cc 'RM=rm -f' 'AR=ar cq ' MV=mv CP=cp 'LN=ln -sf' RANLIB=ranlib MAKEDEPEND=gccmakedep CFLAGS= LDFLAGS= 'CPPFLAGS=-DNDEBUG -DHAVE_REGEX_H -DHAVE_LIBJPEG -DMotif' 'INCLUDES=-I. -I../include -I../include/common -I../../include -I../../include/common -I../../../jpeg-6b -I../../include/XmHTML -I/usr/X11R6/include ' 'LOADLIBES=-L/usr/X11R6/lib -L../../.. -lXm -lXpm -lXmu -lXp -lXt -lXext -lX11 -lSM -lICE -ljpeg -lpng -lz -lm' DMALLOCLIB= 'ZLIBLIB=-lz -lm' PLATFORM=Motif
make[2]: Entering directory `/home/biolpsych/Downloads/afni_src/XmHTML/lib'
+ cd common
+ make clean
make[3]: Entering directory `/home/biolpsych/Downloads/afni_src/XmHTML/lib/common'
rm -f events.o hash.o stack.o format.o fonts.o paint.o readXPM.o readJPEGplc.o quantize.o colors.o private.o readBitmap.o public.o readPNG.o readGIFplc.o readGIF.o error.o callbacks.o StringUtil.o images.o readFLG.o readJPEG.o parse.o map.o layout.o LZWStream.o psoutput.o HTTP.o cookie.o debug.o
make[3]: Leaving directory `/home/biolpsych/Downloads/afni_src/XmHTML/lib/common'
+ cd Motif
+ make clean
make[3]: Entering directory `/home/biolpsych/Downloads/afni_src/XmHTML/lib/Motif'
rm -f motif.o XmHTML.o output.o XmImage.o plc.o frames.o textsel.o forms.o XCC.o Balloon.o warnings.o strings.o debug_menu.o
make[3]: Leaving directory `/home/biolpsych/Downloads/afni_src/XmHTML/lib/Motif'
rm -f libXmHTML.a
make[2]: Leaving directory `/home/biolpsych/Downloads/afni_src/XmHTML/lib'
make[1]: Leaving directory `/home/biolpsych/Downloads/afni_src/XmHTML'
/bin/rm -f afni
/usr/bin/gcc -O2 -m64 -fPIC -DREAD_WRITE_64 -DLINUX2 -Wcomment -Wformat -DUSE_TRACING -DHAVE_XDBE -o afni afni.o afni_func.o afni_widg.o afni_warp.o afni_fimmer.o afni_slice_short.o afni_slice_float.o afni_filer.o afni_slice_byte.o afni_slice_complex.o afni_pcor.o afni_pcor_float.o afni_transforms.o pbar.o afni_graph.o afni_plugin.o afni_cluster.o parser.o parser_int.o afni_plugout.o afni_fimfunc.o afni_setup.o afni_receive.o mcw_graf.o afni_splash.o afni_pplug_env.o afni_pplug_2dfunc.o afni_friends.o afni_ttren.o afni_pplug_1dfunc.o afni_driver.o afni_niml.o afni_sumafunc.o afni_slice_rgbyte.o afni_version.o afni_lock.o afni_vol2surf.o afni_pplug_instacorr.o afni_pplug_instacalc.o -rdynamic -L. -L/usr/X11R6/lib64 -lmrix -lcoxplot -lmri -lvolpack libXmHTML.a libjpeg.a -lmri -lf2c /usr/X11R6/lib64/libXm.a -lXp -lXpm -lXext -lXmu -lXt -lSM -lICE -lX11 -lz /usr/lib64/libexpat.a -lm -ldl -lc -lm -lc
gcc: error: libXmHTML.a: No such file or directory
gcc: error: /usr/X11R6/lib64/libXm.a: No such file or directory
gcc: error: /usr/lib64/libexpat.a: No such file or directory
make: *** [afni] Error 1
[root@bigfoot afni_src]#

===================
===================

JP
Subject Author Posted

Compile Error

James Patterson June 17, 2012 07:58AM

Re: Compile Error

James Patterson June 17, 2012 04:33PM

Re: Compile Error

ziad June 17, 2012 10:32PM

Re: Compile Error

James Patterson June 18, 2012 07:02AM

Re: Compile Error

rick reynolds June 18, 2012 07:59AM

Re: Compile Error

James Patterson June 18, 2012 12:40PM

Re: Compile Error

rick reynolds June 18, 2012 12:52PM

Re: Compile Error

James Patterson June 19, 2012 06:44AM

Re: Compile Error

James Patterson June 19, 2012 08:57AM

Re: Compile Error

Daniel Glen June 19, 2012 01:48PM

Re: Compile Error

James Patterson June 19, 2012 05:52PM

Re: Compile Error

rick reynolds June 19, 2012 08:53PM

Re: Compile Error

James Patterson June 20, 2012 02:31PM

Re: Compile Error

rick reynolds June 20, 2012 03:07PM

Re: Compile Error

James Patterson June 20, 2012 08:10PM