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  

|
September 21, 2005 10:11PM
It has something to do with dynamic linking. It's very odd, and position dependent. I boiled it down to a small test case, involving only one X call (XtAppInitialize). When linked a certain way, it will fail upon execution, but sometimes if you run it right away again, it'll work. The only difference is the order in which the dynamic libs get loaded. I'm running this on an SMP kernel (on a hyperthreaded machine with one CPU) so that may make a difference as well.

So far, I haven't gotten it to fail if I specify these libraries, in this order, on the command line:

gcc -O2 -I/usr/X11R6/include -L/usr/X11R6/lib SUMA_paperplane.c -o SUMA_paperplane -lXt -lGLw -lXm -lGL -lX11 -lXext -lXp -lXmu -lpthread

Note that you can remove some of these libs, and the dynamic loader will sort things out, but it may do it in the wrong order. So a workaround may be to change the Makefile to use this ordering. But can we get some feedback from others with FC4 on different hardware?

P.S. This was with a very stripped down paper airplane program (one line main) so you may have to add a few libraries back. smiling smiley
Subject Author Posted

Problems with Fedora Core 4

Ziad S. Saad June 29, 2005 06:07PM

Re: Problems with Fedora Core 4

Robert Cox July 05, 2005 10:58AM

Re: Problems with Fedora Core 4 - solution

rick reynolds July 06, 2005 01:13PM

Re: Problems with Fedora Core 4 - solution

Ziad S. Saad September 21, 2005 01:43PM

Re: Problems with Fedora Core 4 - solution

rick reynolds September 21, 2005 03:39PM

Re: Problems with Fedora Core 4

tomh September 21, 2005 10:11PM

Re: Problems with Fedora Core 4 - solved?

tomh September 21, 2005 10:26PM

Re: Problems with Fedora Core 4 - solved?

tomh September 21, 2005 10:42PM

Re: Problems with Fedora Core 4 - please try this workaround

tomh September 22, 2005 01:02PM

Re: Problems with Fedora Core 4 - please try this workaround

Morgan Hough September 22, 2005 01:30PM

Re: Problems with Fedora Core 4 - please try this workaround

rick reynolds September 22, 2005 01:36PM

Re: Problems with Fedora Core 4 - please try this workaround

Tom Holroyd September 22, 2005 02:11PM

Re: Problems with Fedora Core 4 - please try this workaround

Ziad S. Saad September 22, 2005 03:17PM