[FLASH-USERS] error in compiling Sedov example

Parsons, Justin T justin-parsons at uiowa.edu
Tue Aug 19 17:19:00 EDT 2008


Greetings!

I'm in the process of testing my FLASH install and familiarizing myself with the code.  I've been trying to compile the Sedov problem but keep running in to this error:

--ERROR--
/home/jussn/mpich2-install/lib/libmpich.a(simple_pmi.o): In function `PMI_Init':
simple_pmi.c:(.text+0x1fcd): warning: Using 'gethostbyname' in statically linked applicatio
ns requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/librt.a(aio_misc.o): In function `__aio_e
nqueue_request':
(.text+0x1c3): undefined reference to `pthread_getschedparam'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/librt.a(aio_misc.o): In function `__aio_e
nqueue_request':
(.text+0x2dd): undefined reference to `pthread_cond_signal'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/librt.a(aio_misc.o): In function `__aio_e
nqueue_request':
(.text+0x3f7): undefined reference to `pthread_attr_init'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/librt.a(aio_misc.o): In function `__aio_e
nqueue_request':
(.text+0x407): undefined reference to `pthread_attr_setdetachstate'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/librt.a(aio_misc.o): In function `__aio_e
nqueue_request':
(.text+0x41c): undefined reference to `pthread_attr_setstacksize'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/librt.a(aio_misc.o): In function `__aio_e
nqueue_request':
(.text+0x489): undefined reference to `pthread_attr_destroy'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/librt.a(aio_misc.o): In function `handle_
fildes_io':
(.text+0x676): undefined reference to `pthread_getschedparam'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/librt.a(aio_misc.o): In function `handle_
fildes_io':
(.text+0x6bd): undefined reference to `pthread_setschedparam'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/librt.a(aio_misc.o): In function `handle_
fildes_io':
(.text+0x790): undefined reference to `pthread_cond_signal'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/librt.a(aio_misc.o): In function `handle_
fildes_io':
(.text+0x9d1): undefined reference to `pthread_attr_init'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/librt.a(aio_misc.o): In function `handle_
fildes_io':
(.text+0x9e1): undefined reference to `pthread_attr_setdetachstate'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/librt.a(aio_misc.o): In function `handle_
fildes_io':
(.text+0xa7c): undefined reference to `pthread_cond_timedwait'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/librt.a(aio_notify.o): In function `__aio
_notify_only':
(.text+0xa9): undefined reference to `pthread_attr_init'
/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/librt.a(aio_notify.o): In function `__aio
_notify_only':
(.text+0xb9): undefined reference to `pthread_attr_setdetachstate'
collect2: ld returned 1 exit status
make: *** [flash3] Error 1
--ERROR--

I'm not quite sure where to go from here.  Makefile.h in my "object" dir has the correct paths and, I believe, I've installed all necessary libraries and deps.  Any tips?

System is Ubuntu 8.04 with AMD 32bit.


Cheers
Justin Parsons
http://jussn.beevomit.org



More information about the flash-users mailing list