problem compiling on AIX (64-bit)

David McWilliams davem at ncsa.uiuc.edu
Thu Jul 1 18:28:52 CEST 2004


I am trying to compile 64-bit Python 2.3.4 for AIX 5.2.

Here are my commands:

  setenv OBJECT_MODE 64
  ./configure --disable-ipv6 --without-gcc --with-thread
  make CC=xlC_r OPT="-O2 -qmaxmem=4000"

Below is the error in the makefile. Does anyone have any suggestions?

Dave McWilliams
----------------------------

building 'readline' extension
./Modules/ld_so_aix xlC_r -bI:Modules/python.exp
build/temp.aix-5.1-2.3/readline.o -L/usr/lib/termcap -L/usr/local/lib
-lreadline -lcurses -o build/lib.aix-5.1-2.3/readline.so
ld: 0711-317 ERROR: Undefined symbol: rl_instream
ld: 0711-317 ERROR: Undefined symbol: rl_event_hook
ld: 0711-317 ERROR: Undefined symbol: rl_outstream
ld: 0711-317 ERROR: Undefined symbol: .rl_prep_terminal
ld: 0711-317 ERROR: Undefined symbol: .readline
ld: 0711-317 ERROR: Undefined symbol: .history_get_history_state
ld: 0711-317 ERROR: Undefined symbol: .history_get
ld: 0711-317 ERROR: Undefined symbol: .add_history
ld: 0711-317 ERROR: Undefined symbol: .using_history
ld: 0711-317 ERROR: Undefined symbol: rl_readline_name
ld: 0711-317 ERROR: Undefined symbol: rl_insert
ld: 0711-317 ERROR: Undefined symbol: .rl_bind_key
ld: 0711-317 ERROR: Undefined symbol: rl_complete
ld: 0711-317 ERROR: Undefined symbol: emacs_meta_keymap
ld: 0711-317 ERROR: Undefined symbol: .rl_bind_key_in_map
ld: 0711-317 ERROR: Undefined symbol: rl_startup_hook
ld: 0711-317 ERROR: Undefined symbol: rl_attempted_completion_function
ld: 0711-317 ERROR: Undefined symbol:
rl_completer_word_break_characters
ld: 0711-317 ERROR: Undefined symbol: rl_completion_append_character
ld: 0711-317 ERROR: Undefined symbol: .rl_initialize
ld: 0711-317 ERROR: Undefined symbol: .completion_matches
ld: 0711-317 ERROR: Undefined symbol: rl_attempted_completion_over
ld: 0711-317 ERROR: Undefined symbol: .rl_redisplay
ld: 0711-317 ERROR: Undefined symbol: .rl_insert_text
ld: 0711-317 ERROR: Undefined symbol: rl_line_buffer
ld: 0711-317 ERROR: Undefined symbol: .write_history
ld: 0711-317 ERROR: Undefined symbol: .history_truncate_file
ld: 0711-317 ERROR: Undefined symbol: .read_history
ld: 0711-317 ERROR: Undefined symbol: .rl_read_init_file
ld: 0711-317 ERROR: Undefined symbol: .rl_parse_and_bind
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
*** WARNING: renaming "readline" since importing it failed: No such
file or directory
error: No such file or directory
make: 1254-004 The error code from the last command is 1.



More information about the Python-list mailing list