Article View: gnu.gcc.help
Article #41850collect2: /: library not found
From: Jonathan Edwards
Date: Wed, 07 Feb 1996 00:00
Date: Wed, 07 Feb 1996 00:00
76 lines
4318 bytes
4318 bytes
The above error results when building XEmacs 19.13 with GCC 2.7.2 on
AIX 4.1.4. Looking at the source of collect2, this error is only
emitted in AIX-specific code that scans imported libraries for C++
static constructors. I suppose that it is trying to import a library
called "/". Note that IBM's cc can succesfully compile and link the
same code and libraries. There is no C++ code involved at all to the
best of my knowledge.
Can anyone give me a clue as to how to proceed?
Thanks
Here's some details:
gcc -g -O -v
-Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:/usr/local/xemacs-19.13/src/m/ibmrs6000..inp,-bI:/usr/lpp/X11/bin/smt..exp
-L. -L../lwlib -o temacs device.o dynarr.o blocktype.o
device-x.o device-tty.o event-tty.o frame-tty.o objects-tty.o
redisplay-tty.o frame.o redisplay.o redisplay-output.o
device-stream.o window.o events.o event-stream.o lstream.o cm.o
redisplay-x.o frame-x.o xselect.o event-Xt.o menubar-x.o xgccache.o
objects-x.o glyphs-x.o scrollbar-x.o toolbar-x.o emacs.o
keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o
insdel.o marker.o general.o minibuf.o fileio.o dired.o
filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o
undo.o pure.o alloc.o data.o doc.o editfns.o callint.o intl.o eval.o
floatfns.o fns.o print.o lread.o symbols.o getloadavg.o abbrev.o
syntax.o font-lock.o unexaix.o bytecode.o process.o callproc.o
elhash.o hash.o doprnt.o extents.o opaque.o signal.o
sound.o faces.o specifier.o glyphs.o objects.o menubar.o
scrollbar.o toolbar.o md5.o terminfo.o lastfile.o gmalloc.o
vm-limit.o ralloc.o EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o
TransientEmacsShell.o EmacsManager.o -llw -lXm -lXmu -lXt
-lXext -lX11 -li18n -lrts -lIM -liconv -lcurses
-lm
Reading specs from
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.1.4.0/2.7.2/specs
gcc version 2.7.2
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.1.4.0/2.7.2/ld
-bpT:0x10000000 -bpD:0x20000000 -btextro -bnodelcsect
-bexport:/usr/lib/libg.exp -o temacs /lib/crt0.o -L. -L../lwlib
-L/usr/local/lib/gcc-lib/powerpc-ibm-aix4.1.4.0/2.7.2 -L/usr/local/lib
-bnso -bnodelcsect -bI:/lib/syscalls.exp
-bI:/usr/local/xemacs-19.13/src/m/ibmrs6000.inp
-bI:/usr/lpp/X11/bin/smt.exp device.o dynarr.o blocktype.o device-x.o
device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o
frame.o redisplay.o redisplay-output.o device-stream.o window.o
events.o event-stream.o lstream.o cm.o redisplay-x.o frame-x.o
xselect.o event-Xt.o menubar-x.o xgccache.o objects-x.o glyphs-x.o
scrollbar-x.o toolbar-x.o emacs.o keyboard.o macros.o keymap.o
sysdep.o buffer.o filelock.o insdel.o marker.o general.o minibuf.o
fileio.o dired.o filemode.o cmds.o casetab.o casefiddle.o indent.o
search.o regex.o undo.o pure.o alloc.o data.o doc.o editfns.o
callint.o intl.o eval.o floatfns.o fns.o print.o lread.o symbols.o
getloadavg.o abbrev.o syntax.o font-lock.o unexaix.o bytecode.o
process.o callproc.o elhash.o hash.o doprnt.o extents.o opaque.o
signal.o sound.o faces.o specifier.o glyphs.o objects.o menubar.o
scrollbar.o toolbar.o md5.o terminfo.o lastfile.o gmalloc.o vm-limit.o
ralloc.o EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o
TransientEmacsShell.o EmacsManager.o -llw -lXm -lXmu -lXt -lXext -lX11
-li18n -lrts -lIM -liconv -lcurses -lm
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.1.4.0/2.7.2/libgcc.a -lg -lc
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.1.4.0/2.7.2/libgcc.a
ld: 0711-224 WARNING: Duplicate symbol: .fork
ld: 0711-224 WARNING: Duplicate symbol: fork
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: /: library not found
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
Technical Details
Message-ID:
<DMDtME.6IF@world.std.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,f711fc8c81774f06,start X-Google-Attributes: gid11318c,public From: edwards@intranet.com (Jonathan Edwards) Subject: collect2: /: library not found Date: 1996/02/07 Message-ID: <DMDtME.6IF@world.std.com> X-Deja-AN: 138245372 sender: news@world.std.com (Mr Usenet Himself) organization: IntraNet, Inc newsgroups: gnu.gcc.help