ld: BFD 2.16.91 20060118 Debian GNU/Linux internal error, aborting at ../../bfd/elf32-i386.c line 3117 in elf_i386_finish_dynamic_symbol
I'm getting this error while trying to compile Mozilla FireFox 1.5.0.2 on Ubuntu 6.0.6. Here's the output generated by 'make' at this point... md/unix/./uxshm.o: In function `_MD_OpenSharedMemory':uxshm.c:(.text+0xf4): undefined reference to `open' :uxshm.c:(.text+0x106): undefined reference to `close' :uxshm.c:(.text+0x11a): undefined reference to `ftok' :uxshm.c:(.text+0x13f): undefined reference to `shmget' :uxshm.c:(.text+0x161): undefined reference to `__errno_location' :uxshm.c:(.text+0x186): undefined reference to `shmget' :uxshm.c:(.text+0x1ad): undefined reference to `__errno_location' :uxshm.c:(.text+0x1e8): undefined reference to `__errno_location' :uxshm.c:(.text+0x282): undefined reference to `__errno_location' :uxshm.c:(.text+0x2e2): undefined reference to `__errno_location' :uxshm.c:(.text+0x3c3): undefined reference to `__errno_location' md/unix/./uxshm.o: In function `_MD_AttachSharedMemory':uxshm.c:(.text+0x436): undefined reference to `shmat' :uxshm.c:(.text+0x449): undefined reference to `__errno_location' md/unix/./uxshm.o: In function `_MD_DetachSharedMemory':uxshm.c:(.text+0x49d): undefined reference to `shmdt' :uxshm.c:(.text+0x4b0): undefined reference to `__errno_location' md/unix/./uxshm.o: In function `_MD_DeleteSharedMemory':uxshm.c:(.text+0x575): undefined reference to `open' :uxshm.c:(.text+0x587): undefined reference to `close' :uxshm.c:(.text+0x59c): undefined reference to `ftok' :uxshm.c:(.text+0x5b4): undefined reference to `shmget' :uxshm.c:(.text+0x5ca): undefined reference to `shmctl' :uxshm.c:(.text+0x5db): undefined reference to `unlink' :uxshm.c:(.text+0x5f8): undefined reference to `__errno_location' :uxshm.c:(.text+0x63f): undefined reference to `__errno_location' :uxshm.c:(.text+0x686): undefined reference to `__errno_location' :uxshm.c:(.text+0x6cf): undefined reference to `__errno_location' :uxshm.c:(.text+0x715): undefined reference to `__errno_location' md/unix/./uxshm.o:uxshm.c:(.text+0x736): more undefined references to `__errno_location' follow md/unix/./uxshm.o: In function `_md_OpenAnonFileMap':uxshm.c:(.text+0x7cc): undefined reference to `getpid' :uxshm.c:(.text+0x820): undefined reference to `open' :uxshm.c:(.text+0x82f): undefined reference to `__errno_location' :uxshm.c:(.text+0x85d): undefined reference to `unlink' :uxshm.c:(.text+0x8d4): undefined reference to `ftruncate' :uxshm.c:(.text+0x983): undefined reference to `__errno_location' :uxshm.c:(.text+0x9ef): undefined reference to `__errno_location' :uxshm.c:(.text+0xa2a): undefined reference to `close' /usr/bin/ld: BFD 2.16.91 20060118 Debian GNU/Linux internal error, aborting at ../../bfd/elf32-i386.c line 3117 in elf_i386_finish_dynamic_symbol /usr/bin/ld: Please report this bug. collect2: ld returned 1 exit status make[4]: *** [libnspr4.so] Error 1 make[4]: Leaving directory `/home/dudey/Desktop/firefox-1.5.dfsg+1.5.0.2.orig/nsprpub/pr/src' make[3]: *** [export] Error 2 make[3]: Leaving directory `/home/dudey/Desktop/firefox-1.5.dfsg+1.5.0.2.orig/nsprpub/pr' make[2]: *** [export] Error 2 make[2]: Leaving directory `/home/dudey/Desktop/firefox-1.5.dfsg+1.5.0.2.orig/nsprpub' make[1]: *** [nspr] Error 2 make[1]: Leaving directory `/home/dudey/Desktop/firefox-1.5.dfsg+1.5.0.2.orig' make: *** [default] Error 2 binutils: 2.16.1cvs20060117 gcc: 4.0.3 http://www.cygwin.com/bugzilla/show_bug.cgi?id=1025 seems to be very similar, but it was patched months ago according to the comments. If you could cc me in any discussion of this, I'd be grateful. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils
Re: ld: BFD 2.16.91 20060118 Debian GNU/Linux internal error, aborting at ../../bfd/elf32-i386.c line 3117 in elf_i386_finish_dynamic_symbol
On Sun, Apr 30, 2006 at 01:04:44PM -0400, Tom wrote: > binutils: 2.16.1cvs20060117 > gcc: 4.0.3 > > http://www.cygwin.com/bugzilla/show_bug.cgi?id=1025 seems to be very > similar, but it was patched months ago according to the comments. It was patched on mainline, not on the 2.16 branch. -- Alan Modra IBM OzLabs - Linux Technology Centre ___ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils