libcompat not compatible with libc on Netbsd 1.0 i386

libcompat not compatible with libc on Netbsd 1.0 i386

Post by Charlie Ro » Sat, 08 Apr 1995 04:00:00



This seems to me like it is a possible bug.  Whenever I attempt to utilize
libcompat, I get the following error message:

rm -f xvnews
gcc -o xvnews -m486 -O2      -L/usr/X11R6/lib getdate.o main.o server.o
textsw_regexp.o xv_articles.o xv_err.o   xv_getauthor.o xv_i
nit.o xv_init_newsrc.o xv_newsrc.o       xv_parse_newsrc.o xv_post.o xv_props.o
 xv_regex.o xv_search.o   xv_sort.o xv_stuff.o xvnews_stubs.o
xvnews_ui.o xv_drag.o xv_kill.o -Lguide -lguidexv -Lguide/libguide
 -lguide -L/usr/openwin/lib -lxview -lolgx -lX11 -lcompat -lgnumalloc

ld: Unexpected multiple definitions of symbol `_regerror', type 0x1

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

-r--r--r--  1 bin   bin    357959 Oct 19 12:04 /usr/lib/libc.so.12.0

Is this supposed to happen?  if so,, how do you work around it?