Bug 239 - Multiply defined symbols in the libraries
Summary: Multiply defined symbols in the libraries
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1995-03-11 14:30 UTC by Mark Murray
Modified: 1995-03-11 14:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Murray 1995-03-11 14:30:01 UTC
Making world breaks in gnu/usr.bin/gdb with:

Script started on Sat Mar 11 23:36:45 1995
bash# make
===> bfd
===> libiberty
===> mmalloc
===> gdb
cc -O2 -I/a/src/gnu/usr.bin/gdb/gdb/. -I/usr/include/readliner
     -I/a/src/gnu/usr.bin/gdb/gdb/../bfd    -o gdb [snip/snip] (MY FORMATTING)
     -lreadline  -ltermcap -lgnuregex
     -L/a/src/gnu/usr.bin/gdb/gdb/../libiberty/obj -liberty
     -L/a/src/gnu/usr.bin/gdb/gdb/../bfd/obj -lbfd
     -L/a/src/gnu/usr.bin/gdb/gdb/../mmalloc/obj -lmmalloc -lcompat

/usr/lib/libgnuregex.so.2.0: Definition of symbol `_regerror' (multiply defined)
/usr/lib/libcompat.a(regerror.o): Definition of symbol `_regerror' (multiply defined)
/usr/lib/libcompat.a(regex.o): Definition of symbol `_regerror' (multiply defined)
/usr/lib/libc.so.2.0: Definition of symbol `_regerror' (multiply defined)
*** Error code 1

Stop.
*** Error code 1

Stop.
bash# exit
exit

Script done on Sat Mar 11 23:37:22 1995

Fix: 

Nuke whichever regerrors are the least relevant.
How-To-Repeat: 
make world. wait.
Comment 1 Andrey A. Chernov freebsd_committer freebsd_triage 1995-03-20 06:22:28 UTC
State Changed
From-To: open->closed