CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CD-adapco (http://www.cfd-online.com/Forums/cd-adapco/)
-   -   complier error help (http://www.cfd-online.com/Forums/cd-adapco/54343-complier-error-help.html)

Rick January 27, 2005 00:57

complier error help
 
Hi all: I install "staCD" and "absoft fortran 7.5" on "Fedora core2" system. But when I initial start analysis, the computer will show this:

Linking single precision sequential executable "star"...

FORTRAN 77 Compiler 7.5, Copyright (c) 1987-2001, Absoft Corp. /opt/starcd/solve/libstar.a(newgrc.o)(.text+0x10e): In function `pstrt_':
: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead /opt/starcd/solve/libstar.a(newgrc.o)(.text+0x105): In function `pstrt_':
: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead /opt/starcd/license/license.o(.text+0x3b01): In function `istry_':
: undefined reference to `__ctype_b' /opt/starcd/license/license.o(.text+0x4de9): In function `unlinchr':
: undefined reference to `__ctype_toupper' /opt/starcd/solve/libstar.a(star_client.o)(.text+0x419): In function `snddat_':
: undefined reference to `__ctype_b' /opt/starcd/license/liblmgr.a(l_date.o)(.text+0x82f): In function `l_int_month':
: undefined reference to `__ctype_b' /opt/starcd/license/liblmgr.a(l_date.o)(.text+0x920): In function `l_good_bin_da te':
: undefined reference to `__ctype_b' /opt/starcd/license/liblmgr.a(l_getenv.o)(.text+0x537): In function `l_get_regis try':
: undefined reference to `__ctype_b' /opt/starcd/license/liblmgr.a(l_uppercase.o)(.text+0x2f): In function `l_upperca se':
: undefined reference to `__ctype_b' /opt/starcd/license/liblmgr.a(l_uppercase.o)(.text+0x8f): more undefined referen ces to `__ctype_b' follow /opt/absoft/lib/libfio.a(open.o)(.text+0xc79): In function `_f_open3':
: undefined reference to `errno' /opt/absoft/lib/libfio.a(lowlevel.o)(.text+0xe7): In function `_getfile':
: undefined reference to `errno' /opt/absoft/lib/libfio.a(lowlevel.o)(.text+0x120): In function `_releasefile':
: undefined reference to `errno' /opt/absoft/lib/libfio.a(lowlevel.o)(.text+0x143): In function `_releasefile':
: undefined reference to `errno' /opt/absoft/lib/libfio.a(lowlevel.o)(.text+0x1a8): In function `_f_seek':
: undefined reference to `errno' /opt/absoft/lib/libfio.a(lowlevel.o)(.text+0x1e9): more undefined references to `errno' follow collect2: ld returned 1 exit status

######################################

WARNING: Command execution error. Please check screen output for details

######################################

There were errors during linking. Please check screen output for details

Can help me to solve the problem?

Thank all.

Rick January 27, 2005 00:59

Re: complier error help
 
my starCD verson is starCD V3.15

Eric February 11, 2005 09:58

Re: complier error help
 
I ran into the same problem with the "undefined reference to 'errno'" and found the following site useful: https://bugzilla.redhat.com/bugzilla...g.cgi?id=80016

Eric


All times are GMT -4. The time now is 19:39.