PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

undefined reference to `__ctype_b'

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
periea



Joined: 30 Sep 2004
Posts: 3

PostPosted: Thu Oct 07, 2004 12:20 pm    Post subject: undefined reference to `__ctype_b' Reply with quote

I am currently running RedHat Linux 9.0 with pgf90 4.0-2. A user had the following error while copiling:

/usr/pgi/linux86/lib/libpgftnrtl.a(fpcvt.o)(.text+0xe7d): In function `atoxi':
: undefined reference to `__ctype_b'
/usr/pgi/linux86/lib/libpgftnrtl.a(fpcvt.o)(.text+0x128a): In function `atoxufp':
: undefined reference to `__ctype_b'
/usr/pgi/linux86/lib/libpgftnrtl.a(fpcvt.o)(.text+0x12a2): In function `atoxufp':
: undefined reference to `__ctype_b'
/usr/pgi/linux86/lib/libpgftnrtl.a(fpcvt.o)(.text+0x1341): In function `atoxufp':
: undefined reference to `__ctype_b'
/usr/pgi/linux86/lib/libpgftnrtl.a(fpcvt.o)(.text+0x1358): In function `atoxufp':
: undefined reference to `__ctype_b'
/usr/pgi/linux86/lib/libpgftnrtl.a(fpcvt.o)(.text+0x1370): more undefined references to `__ctype_b' follow

Is there a work around or a fix for this problem. Any feedback would be greatly appricated.
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 5815
Location: The Portland Group Inc.

PostPosted: Thu Oct 07, 2004 12:43 pm    Post subject: Unsupported system. Reply with quote

Some systems, including Red Hat 9.0, use the variable `__ctype_b_loc' instead of `__ctype_b'. Library configuration and other system specific issues are handled during the installation of the compilers. However, since Red Hat 9.0 was released after the 4.0 compilers were released, the 4.0 compilers are not supported on this OS. Please see http://www.pgroup.com/support/install.htm#release_info for a list of supported Linux systems.

I will have our customer support department contact you via email about upgrading you to the 4.1 compilers which do support Red Hat 9.0.

Thanks,
Mat
Back to top
View user's profile
periea



Joined: 30 Sep 2004
Posts: 3

PostPosted: Thu Oct 07, 2004 8:55 pm    Post subject: Wrong Version of PGI FORTRAN Reply with quote

We just bought a licence for FORTRAN PGI 5.2. Will this upgrade fix the problem?
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 5815
Location: The Portland Group Inc.

PostPosted: Fri Oct 08, 2004 8:36 am    Post subject: Reply with quote

Yes. 5.2 supports Red Hat 9.0.

Thanks,
Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group