From: David C. <cl...@au...> - 2004-12-14 02:02:22
|
Ralf, I think you are on the right track on your build. The 64-bit build isn't finding the readline symbols because the readline library only contains 32-bit members. You can see this by comparing /usr/bin/ar -X32 -tv /usr/lib/libreadline.a with /usr/bin/ar -X64 -tv /usr/lib/libreadline.a #nothing there If you build a 64-bit readline and archive it into the libreadline.a library, that should get you past this error.... but I'm attempting right now to do that in the hopes of being able to upload it shortly. I think I've almost got it. On Mon, Dec 13, 2004 at 04:27:29PM +0100, Ralf Utermann wrote: > Ralf Utermann wrote: > >Hi, > > > >has anybody already tried to compile Python2.4 on AIX? > >In the end what I would need is a 64-bit version, but I start > >with the standard 32bit one ;-) > > The 64bit try compiles libpython (if I configure with --without-pymalloc) > but stops after 34 extensions but stops at the readline extension (log > follows). > This has been no problem for the 32bit version. The Toolkit > readline-4.3-1 is > installed.[-- and is probably 32 and 64 bit?] > > Any idea?, Thanks, Ralf > > + ./Modules/makexp_aix readline.exp build/lib.aix-5.1-2.4/readline.so > build/temp.aix-5.1-2.4/readline.o > + cc_r -Wl,-einitreadline -Wl,-bE:readline.exp > -Wl,-bI:Modules/python.exp -Wl,-bhalt:4 -Wl,-bM:SRE -Wl,-T512 -Wl,-H512 > -lm -o build/lib.aix-5.1-2.4/readline.so -q64 > build/temp.aix-5.1-2.4/readline.o -L/usr/lib/termcap -L/usr/local/lib > -lreadline -lncurses > ld: 0711-317 ERROR: Undefined symbol: rl_instream > ld: 0711-317 ERROR: Undefined symbol: rl_outstream > ld: 0711-317 ERROR: Undefined symbol: .rl_prep_terminal > 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: rl_event_hook > ld: 0711-317 ERROR: Undefined symbol: .readline > 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: .clear_history > ld: 0711-317 ERROR: Undefined symbol: rl_line_buffer > ld: 0711-317 ERROR: Undefined symbol: .replace_history_entry > ld: 0711-317 ERROR: Undefined symbol: .remove_history > 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. > + rm -f readline.exp > *** WARNING: renaming "readline" since importing it failed: No such file > or directory > error: No such file or directory > make: *** [sharedmods] Error 1 > > > -- > Ralf Utermann > _____________________________________________________________________ > Universität Augsburg, Institut für Physik -- EDV-Betreuer > Universitätsstr.1 > D-86135 Augsburg Phone: +49-821-598-3231 > SMTP: Ral...@Ph... Fax: -3411 > _______________________________________________ > aixtoolbox-list mailing list > aix...@ww... > http://www-124.ibm.com/developerworks/oss/mailman/listinfo/aixtoolbox-list -- David Clissold cl...@au... |