Subject: yacc & assert13 problem
To: None <>
From: Tomasz Luchowski <>
List: current-users
Date: 01/22/2001 15:21:06
It's me again.

After updating usr.bin/make I've got this problem:

Script started on Mon Jan 22 16:06:36 2001
zuntum@zunpc:/usr/src/usr.bin/yacc# make^M
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -c closure.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -c error.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -c lalr.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -c lr0.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -c main.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -c mkpar.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -c output.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -c reader.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -c skeleton.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -c symtab.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -c verbose.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -c warshall.c
cc   -o yacc closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o skeleton.o symtab.o verbose.o warshall.o
lalr.o: In function `map_goto':
lalr.o(.text+0x4d5): undefined reference to `__assert13'
lalr.o: In function `add_lookback_edge':
lalr.o(.text+0xa1c): undefined reference to `__assert13'
lr0.o: In function `get_state':
lr0.o(.text+0x30d): undefined reference to `__assert13'
output.o: In function `pack_vector':
output.o(.text+0x10ba): undefined reference to `__assert13'
reader.o: In function `cachec':
reader.o(.text+0x1f): undefined reference to `__assert13'
reader.o(.text+0x232b): more undefined references to `__assert13' follow
collect2: ld returned 1 exit status
*** Error code 1

zuntum@zunpc:/usr/src/usr.bin/yacc# grep -i assert  *
defs.h:#include <assert.h>
lalr.c: assert(low <= high);
lalr.c:    assert(found);
Binary file lalr.o matches
lr0.c:    assert(0 <= key && key < nitems);
Binary file lr0.o matches
grep: obj.i386: No such file or directory
out:lalr.o(.text+0x4d5): undefined reference to `__assert13'^M
out:lalr.o(.text+0xa1c): undefined reference to `__assert13'^M
out:lr0.o(.text+0x30d): undefined reference to `__assert13'^M
out:output.o(.text+0x10ba): undefined reference to `__assert13'^M
out:reader.o(.text+0x1f): undefined reference to `__assert13'^M
out:reader.o(.text+0x232b): more undefined references to `__assert13' follow^M

Any sugestions? I rebuilt make and gnu/usr.bin/egcs

/* [zuntum] , [WWW] */