I have some questiion to you
When I compile numerical model in Meteorology I met some error with gcc version 4 the same lile it
/usr/bin/make -f Make.utils-1.1
make[1]: Entering directory `/home/mpi/rams4.4/bin'
Finished building === libutils-1.1.a
make[1]: Leaving directory `/home/mpi/rams4.4/bin'
/usr/bin/make -f Make.ncargd-1.1
make[1]: Entering directory `/home/mpi/rams4.4/bin'
Finished building === libncarg-1.1.a
make[1]: Leaving directory `/home/mpi/rams4.4/bin'
/usr/bin/make -f Make.lib-4.4
make[1]: Entering directory `/home/mpi/rams4.4/bin'
Finished building === librams-4.4.a
make[1]: Leaving directory `/home/mpi/rams4.4/bin'
/usr/bin/make -f Make.rams-4.4
make[1]: Entering directory `/home/mpi/rams4.4/bin'
/usr/bin/make -f Make.lib-4.4
make[2]: Entering directory `/home/mpi/rams4.4/bin'
Finished building === librams-4.4.a
make[2]: Leaving directory `/home/mpi/rams4.4/bin'
/usr/bin/make -f Make.utils-1.1
make[2]: Entering directory `/home/mpi/rams4.4/bin'
Finished building === libutils-1.1.a
make[2]: Leaving directory `/home/mpi/rams4.4/bin'
ar x rams-4.4.a rammain.o
pgf90 -o rams-4.4 rammain.o -v -Wl,-static rams-4.4.a \
./librams-4.4.a ./libutils-1.1.a -L./ -lncarg-1.1
/usr/bin/ld /usr/lib/crt1.o /usr/lib/crti.o /opt/pgi/linux86/7.1-5/lib/trace_init.o /usr/lib/gcc/i386-redhat-linux/4.1.2/crtbegin.o /opt/pgi/linux86/7.1-5/lib/f90main.o -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 /opt/pgi/linux86/7.1-5/lib/pgi.ld -L./ -L/opt/pgi/linux86/7.1-5/lib -L/usr/lib -L/usr/lib/gcc/i386-redhat-linux/4.1.2 rammain.o -static rams-4.4.a ./librams-4.4.a ./libutils-1.1.a -lncarg-1.1 -rpath /opt/pgi/linux86/7.1-5/lib -o rams-4.4 -lpgf90 -lpgf90_rpm1 -lpgf902 -lpgf90rtl -lpgftnrtl -lpgsse1 -lpgsse2 -lnspgc -lpgc -lrt -lpthread -lm -lgcc -lc -lgcc /usr/lib/gcc/i386-redhat-linux/4.1.2/crtend.o /usr/lib/crtn.o
/usr/lib/librt.a(aio_suspend.o): In function `aio_suspend64':
(.text+0x2d1): undefined reference to `_Unwind_Resume'
/usr/lib/librt.a(aio_suspend.o):(.eh_frame+0x12): undefined reference to `__gcc_personality_v0'
/usr/lib/libpthread.a(pthread_cond_timedwait.o): In function `__condvar_tw_cleanup':
(.text+0x336): undefined reference to `_Unwind_Resume'
/usr/lib/libpthread.a(pthread_cond_timedwait.o):(.eh_frame+0x12): undefined reference to `__gcc_personality_v0'
/usr/lib/libpthread.a(unwind.o): In function `__pthread_unwind':
(.text+0x3d): undefined reference to `_Unwind_ForcedUnwind'
/usr/lib/libpthread.a(unwind.o): In function `unwind_stop':
(.text+0xc9): undefined reference to `_Unwind_GetCFA'
/usr/lib/libpthread.a(unwind.o): In function `unwind_stop':
(.text+0x10a): undefined reference to `_Unwind_GetCFA'
/usr/lib/libpthread.a(unwind.o): In function `__pthread_unwind_next':
(.text+0x1b0): undefined reference to `_Unwind_ForcedUnwind'
/usr/lib/libc.a(iofclose.o): In function `fclose':
(.text+0x1b3): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(iofclose.o):(.eh_frame+0x166): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(iofflush.o): In function `fflush':
(.text+0xd2): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(iofflush.o):(.eh_frame+0xde): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(iofputs.o): In function `fputs':
(.text+0x102): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(iofputs.o):(.eh_frame+0xde): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(iofread.o): In function `fread':
(.text+0x107): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(iofread.o):(.eh_frame+0xde): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(ioftell.o): In function `ftell':
(.text+0x1b0): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(ioftell.o):(.eh_frame+0xde): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(iofwrite.o): In function `fwrite':
(.text+0x125): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(iofwrite.o):(.eh_frame+0xde): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(ioputs.o): In function `puts':
(.text+0x146): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(ioputs.o):(.eh_frame+0xde): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(ioseekoff.o): In function `_IO_seekoff':
(.text+0x1c5): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(ioseekoff.o):(.eh_frame+0xde): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(ioungetc.o):(.eh_frame+0x99): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(putchar.o): In function `putchar':
(.text+0xf3): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(putchar.o):(.eh_frame+0xde): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(wfileops.o): In function `_IO_wfile_underflow':
(.text+0x1224): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(wfileops.o):(.eh_frame+0xde): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(fputc.o): In function `fputc':
(.text+0xe8): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(fputc.o):(.eh_frame+0xde): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(fseek.o): In function `fseek':
(.text+0xde): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(fseek.o):(.eh_frame+0xde): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(getc.o): In function `fgetc':
(.text+0xcb): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(getc.o):(.eh_frame+0xde): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(getchar.o): In function `getchar':
(.text+0xd6): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(getchar.o):(.eh_frame+0xde): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(putc.o): In function `putc':
(.text+0xe8): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(putc.o):(.eh_frame+0xde): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(fileops.o): In function `_IO_file_underflow':
(.text+0x14ab): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(fileops.o): In function `_IO_file_fopen':
(.text+0x1d3a): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(fileops.o):(.eh_frame+0xde): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(syslog.o): In function `openlog':
(.text+0x332): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(syslog.o): In function `__vsyslog_chk':
(.text+0x87f): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(syslog.o): In function `__vsyslog_chk':
(.text+0x891): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(syslog.o): In function `closelog':
(.text+0x9b8): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(syslog.o):(.eh_frame+0x166): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(backtrace.o): In function `backtrace':
(.text+0x54): undefined reference to `_Unwind_Backtrace'
/usr/lib/libc.a(backtrace.o): In function `backtrace_helper':
(.text+0x10a): undefined reference to `_Unwind_GetIP'
/usr/lib/libc.a(backtrace.o): In function `backtrace_helper':
(.text+0x12f): undefined reference to `_Unwind_GetGR'
/usr/lib/libc.a(backtrace.o): In function `backtrace_helper':
(.text+0x13a): undefined reference to `_Unwind_GetCFA'
/usr/lib/libc.a(vfprintf_chk.o): In function `__vfprintf_chk':
(.text+0xee): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(vfprintf_chk.o):(.eh_frame+0xde): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(iogetdelim.o): In function `getdelim':
(.text+0x26c): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(iogetdelim.o):(.eh_frame+0xde): undefined reference to `__gcc_personality_v0'
/usr/lib/libc.a(ftello.o): In function `ftello':
(.text+0x1b0): undefined reference to `_Unwind_Resume'
/usr/lib/libc.a(ftello.o):(.eh_frame+0xde): undefined reference to `__gcc_personality_v0'
pgf90-Fatal-linker completed with exit code 1
make[1]: *** [rams-4.4] Error 2
make[1]: Leaving directory `/home/mpi/rams4.4/bin'
make: *** [rams] Error 2
Could you help me?
Best regards
Thanh
DucDH
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.