Error compiling 20.3 on AIX 4.3!
Date: 1998/01/26
Message-ID: <6aim76$jmf$1_at_news01.iafrica.com>
Hi
We don't have any expert C programmers, and we are stumped with the following error on a new installation of AIX 4.2 on an IBM rs6000 machine. I hope someone may be able to show us were our mistake is. We have used configure to think this machine is AIX 4.2 as it looks like xemacs does not support 4.3.
Below is some of the support files I thought may be usefull:
Output of make:
Producing `src/paths.h' from `src/paths.h.in'.
src/paths.h is unchanged
cd lib-src && make CC='cc' CFLAGS='-O' LDFLAGS='' CPPFLAGS='' all
alot of successfull compiles
cc -O -Demacs -I../src -DHAVE_CONFIG_H -I/usr/dt/include
/retektemp/install/xemacs-20.3/lib-src/make-path.c -o make-path
cc -c -O -Demacs -I. -DHAVE_CONFIG_H -I/usr/dt/include -DDEFINE_TOP_LEVEL_E MACS_SHELL /retektemp/install/xemacs-20.3/src/EmacsShell-sub.c mv EmacsShell-sub.o TopLevelEmacsShell.o
cc -c -O -Demacs -I. -DHAVE_CONFIG_H -I/usr/dt/include -DDEFINE_TRANSIENT_E
MACS_SHELL /retektemp/install/xemacs-20.3/src/EmacsShell-sub.c
mv EmacsShell-sub.o TransientEmacsShell.o
cc -c -O -Demacs -I. -DHAVE_CONFIG_H -I/usr/dt/include EmacsManager.c
cc -O -Demacs -I. -DHAVE_CONFIG_H -I/usr/dt/include
/retektemp/install/xemacs-20.3/src/prefix-args.c -o prefix-args
cc -O -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:/retektemp/install/xe
macs-20.3/src/m/ibmrs6000.inp,-bI:/usr/lpp/X11/bin/smt.exp -L/usr/ccs/lib -L
/usr/dt/lib -o temacs abbrev.o alloc.o blocktype.o buffer.o bytecode.o
callint.o callproc.o casefiddle.o casetab.o chartab.o cmdloop.o cmds.o console.o console-stream.o data.o device.o dired.o doc.o doprnt.o dynarr.o editfns.o elhash.o emacs.o eval.o events.o unexaix.o xmu.o tooltalk.odgif_lib.o gif_err.o gifalloc.o menubar.o scrollbar.o dialog.o toolbar.o gui.o menubar-x.o scrollbar-x.o dialog-x.o toolbar-x.o gui-x.o realpath.o console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o terminfo.o event-unixoid.o database.o event-stream.o extents.o faces.o fileio.o filemode.o floatfns.o fns.o font-lock.o frame.o general.o getloadavg.o glyphs.o hash.o indent.o insdel.o intl.o keymap.o
lread.o lstream.o macros.o marker.o md5.o minibuf.o objects.o opaque.o print.o process.o profile.o pure.o rangetab.o redisplay.o redisplay-output.o regex.o search.o signal.o sound.o specifier.o strftime.o symbols.o syntax.osysdep.o undo.o balloon_help.o balloon-x.o console-x.o device-x.o event-Xt.o frame-x.o glyphs-x.o objects-x.o redisplay-x.o xgccache.o xselect.o widget.o window.o lastfile.o gmalloc.o vm-limit.o ralloc.o EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o ../lwlib/liblw.a -li18n -lXm -lDtSvc -ltt -lXt -lXext -lX11 -lSM -lICE -lc urses -lm -lrts -lIM -liconv
ld: 0711-224 WARNING: Duplicate symbol: .gethostbyname_r ld: 0711-224 WARNING: Duplicate symbol: .getservbyname_r ld: 0711-224 WARNING: Duplicate symbol: .getpwnam_r ld: 0711-224 WARNING: Duplicate symbol: .getpwuid_r ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain moreinformation.
ld: 0711-317 ERROR: Undefined symbol: crypt_r ld: 0711-317 ERROR: Undefined symbol: encrypted_pw_passlen ld: 0711-317 ERROR: Undefined symbol: max_history_sizemake: 1254-004 The error code from the last command is 8.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
Installation file:
uname -a: AIX neptune 3 4 004221874C00
././configure 'rs6000-ibm-aix4.2.0.0'
Configured for `rs6000-ibm-aix4.2.0.0'.
Where should the build process find the source code?
/retektemp/install/xemacs-20.3
What installation prefix should install use? /usr/local
Where should XEmacs look for packages? ~/.xemacs
What operating system and machine description files should XEmacs use?
`s/aix4-2.h' and `m/ibmrs6000.h' What compiler should XEmacs be built with? cc -O Should XEmacs use the GNU version of malloc? yes Should XEmacs use the relocating allocator for buffers? yes What window system should XEmacs use? x11 Where do we find X Windows header files? /usr/dt/include Where do we find X Windows libraries? /usr/dt/libCompiling in support for XAUTH.
No Xmu; substituting equivalent routines. Compiling in support for GIF image conversion.
WARNING: Compiling without XPM support. WARNING: You should strongly considering installing XPM. WARNING: Otherwise toolbars and other graphics will look suboptimal. --------------------------------------------------------------------Compiling in support for DBM.
Compiling in support for CDE.
Compiling in support for ToolTalk.
Compiling in support for proper session-management. Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
movemail will use "lockf" for locking mail spool files. The `Info-default-directory-list' will be initialized from:
INFOPATH="/usr/local/info:/usr/info:/usr/local/lib/texmf/doc/info:/usr/lib/t exmf/doc/info"
Output of loadmap
(ld): halt 4 (ld): setopt noautoimp (ld): setopt nodelcsect (ld): savename temacs (ld): filelist 133 4 (ld): i /lib/crt0.o (ld): i abbrev.o (ld): i alloc.o (ld): i blocktype.o (ld): i buffer.o (ld): i bytecode.o (ld): i callint.o (ld): i callproc.o (ld): i casefiddle.o (ld): i casetab.o (ld): i chartab.o (ld): i cmdloop.o (ld): i cmds.o (ld): i console.o (ld): i console-stream.o (ld): i data.o (ld): i device.o (ld): i dired.o (ld): i doc.o (ld): i doprnt.o (ld): i dynarr.o (ld): i editfns.o (ld): i elhash.o (ld): i emacs.o (ld): i eval.o (ld): i events.o (ld): i unexaix.o (ld): i xmu.o (ld): i tooltalk.o (ld): i dgif_lib.o (ld): i gif_err.o (ld): i gifalloc.o (ld): i menubar.o (ld): i scrollbar.o (ld): i dialog.o (ld): i toolbar.o (ld): i gui.o (ld): i menubar-x.o (ld): i scrollbar-x.o (ld): i dialog-x.o (ld): i toolbar-x.o (ld): i gui-x.o (ld): i realpath.o (ld): i console-tty.o (ld): i device-tty.o (ld): i event-tty.o (ld): i frame-tty.o (ld): i objects-tty.o (ld): i redisplay-tty.o (ld): i cm.o (ld): i terminfo.o (ld): i event-unixoid.o (ld): i database.o (ld): i event-stream.o (ld): i extents.o (ld): i faces.o (ld): i fileio.o (ld): i filemode.o (ld): i floatfns.o (ld): i fns.o (ld): i font-lock.o (ld): i frame.o (ld): i general.o (ld): i getloadavg.o (ld): i glyphs.o (ld): i hash.o (ld): i indent.o (ld): i insdel.o (ld): i intl.o (ld): i keymap.o (ld): i lread.o (ld): i lstream.o (ld): i macros.o (ld): i marker.o (ld): i md5.o (ld): i minibuf.o (ld): i objects.o (ld): i opaque.o (ld): i print.o (ld): i process.o (ld): i profile.o (ld): i pure.o (ld): i rangetab.o (ld): i redisplay.o (ld): i redisplay-output.o (ld): i regex.o (ld): i search.o (ld): i signal.o (ld): i sound.o (ld): i specifier.o (ld): i strftime.o (ld): i symbols.o (ld): i syntax.o (ld): i sysdep.o (ld): i undo.o (ld): i balloon_help.o (ld): i balloon-x.o (ld): i console-x.o (ld): i device-x.o (ld): i event-Xt.o (ld): i frame-x.o (ld): i glyphs-x.o (ld): i objects-x.o (ld): i redisplay-x.o (ld): i xgccache.o (ld): i xselect.o (ld): i widget.o (ld): i window.o (ld): i lastfile.o (ld): i gmalloc.o (ld): i vm-limit.o (ld): i ralloc.o (ld): i EmacsFrame.o (ld): i EmacsShell.o (ld): i TopLevelEmacsShell.o (ld): i TransientEmacsShell.o (ld): i EmacsManager.o (ld): i ../lwlib/liblw.a (ld): lib /usr/ccs/lib/libc.a (ld): lib /usr/ccs/lib/libi18n.a (ld): lib /usr/lib/libXm.a (ld): lib /usr/dt/lib/libDtSvc.a (ld): lib /usr/dt/lib/libtt.a (ld): lib /usr/lib/libXt.a (ld): lib /usr/lib/libXext.a (ld): lib /usr/lib/libX11.a (ld): lib /usr/lib/libSM.a (ld): lib /usr/lib/libICE.a (ld): lib /usr/ccs/lib/libcurses.a (ld): lib /usr/ccs/lib/libm.a (ld): lib /usr/lib/librts.a (ld): lib /usr/ccs/lib/libIM.a (ld): lib /usr/lib/libiconv.a
FILELIST: Number of previously inserted files processed: 133 (ld): imports /lib/syscalls.exp
IMPORTS: Symbols imported from import file /lib/syscalls.exp: 274 (ld): imports /retektemp/install/xemacs-20.3/src/m/ibmrs6000.inp IMPORTS: Symbols imported from import file
/retektemp/install/xemacs-20.3/src/m/ibmrs6000.inp: 5
(ld): imports /usr/lpp/X11/bin/smt.exp
IMPORTS: Symbols imported from import file /usr/lpp/X11/bin/smt.exp: 23 (ld): resolve
ld: 0711-228 WARNING: Duplicate symbols were found while resolving symbols. The following duplicates were found:
Symbol Source-File(Object) OR Import-File{Shared-object} ------------------------- -------------------------------------------------.gethostbyname_r
../../../../../../../src/bos/usr/ccs/lib/libaixinet/aix_gethostent.c(/usr/cc s/lib/libc.a[shr.o])
- Duplicate **
/retektemp/install/xemacs-20.3/src/m/ibmrs6000.inp{}
.getservbyname_r ../../../../../../../src/bos/usr/ccs/lib/libaixinet/aix_getservent.c(/usr/cc s/lib/libc.a[shr.o]) - Duplicate **
/retektemp/install/xemacs-20.3/src/m/ibmrs6000.inp{}
.getpwnam_r ../../../../../../../src/bos/usr/ccs/lib/libc/getpwent.c(/usr/ccs/lib/libc.a [shr.o]) - Duplicate **
/retektemp/install/xemacs-20.3/src/m/ibmrs6000.inp{}
.getpwuid_r ../../../../../../../src/bos/usr/ccs/lib/libc/getpwent.c(/usr/ccs/lib/libc.a [shr.o]) - Duplicate **
/retektemp/install/xemacs-20.3/src/m/ibmrs6000.inp{}
RESOLVE: 21328 of 77154 symbols were kept. RESOLVE: The return code is 4. (ld): addgl /usr/lib/glink.o ADDGL: Glink code added for 5 symbols. (ld): er full ld: 0711-318 ERROR: Undefined symbols were found. The following symbols are in error: Symbol Inpndx TY CL Source-File(Object-File) OR Import-File{Shared-object} RLD: Address Section Rld-type Referencing Symbol
crypt_r [566] ER DS (/usr/ccs/lib/libc.a[shr.o]) 0003dbfc .data R_POS [2160] <crypt_r> encrypted_pw_passlen [572] ER DS (/usr/ccs/lib/libc.a[shr.o]) 0003dc04 .data R_POS [2164] <encrypted_pw_passlen> max_history_size [574] ER DS (/usr/ccs/lib/libc.a[shr.o]) 0003dc08 .data R_POS [2166] <max_history_size> ER: The return code is 8.
Any help will be appreciated
Many thanks
David Kropman
Received on Mon Jan 26 1998 - 00:00:00 CET