[molpro-user] ctype_b

Nick Wilson WilsonNT at Cardiff.ac.uk
Wed Jun 22 17:28:59 BST 2005


Dear Bernd,

These undefined references came about due to a change in how the c 
library dealt with locale. libc now uses __ctype_b_loc rather than 
__ctype_b. This problem has has been fixed with the patch 
2002.6.opteron_parse2 so if you do:

make -C utilities patcher.bootstrap
./patcher

then configure should start to work again.

Best wishes,
Nick Wilson

Bernd Hartke wrote:
> Dear molpro users,
>    I am currently trying to compile molpro from the sources with the
> PGI compiler (pgf90 5.2-4) on an AMD Opteron 246 system running SuSE Linux 
> 9.2. Although the configure script correctly recognizes the system (x86_64)
> and finds the PGI compiler by itself, it complains in the end:
>    Cannot link with any objects !
>    This architecture or combination of architecture and integer
>    size is proably not supported. Sorry ....
> I believe to have tracked this down to utilities/get_parse, which tries
> to link "temp.o" with "parse-x86_64-unknown-linux-gnu-i8" (which I believe
> to be the correct object?), but this results in multiple copies of the
> following error message:
>    parse-x86_64-unknown-linux-gnu-i8.o(.text+0x4c01): In function `yylex':
>    : undefined reference to `__ctype_b'
> This looks like I am missing some libraries, but I have no clue which.
> 
> ("ctype_b" may also be a truncated string:
> There is a C++ class containing things like "ctype_base" in the file
> include/CC/stl/_ctype.h within the PGI compiler tree. It looks related,
> but if this is the correct one, I have no idea why PGI is not finding it
> by itself nor how to force it to include it. -I does not work.)
> 
> Any hints are appreciated!
> 
> Bernd
> 
> ---
> Prof. Dr. Bernd Hartke             e-mail: hartke at phc.uni-kiel.de
> Theoretical Chemistry              phone : +49-431-880-2753
> Institute for Physical Chemistry   fax   : +49-431-880-1758
> University of Kiel                 http://ravel.phc.uni-kiel.de/
> Olshausenstrasse 40
> 24098 Kiel
> GERMANY
> 
> 



More information about the Molpro-user mailing list