crunchgen fials on sh

From: Marten Vijn <info_at_martenvijn.nl>
Date: Mon, 17 Sep 2007 13:09:26 +0200
in current from  Sat Aug 11 20:40:50 CEST 2007

(also cvsuped src tree today)
 
in crunch.conf:
progs sh
libs -lc
libs -ledit
libs -lncurses
libs -lutil


# crunchgen -f crunch.conf
# make -f crunch.mk


error (complete output below):
cc -static -o tinycrunch tinycrunch.o sh.lo -lc -ledit -lncurses -lutil
sh.lo(.text+0x1ea0): In function `yylex':
: undefined reference to `yywrap'
*** Error code 1

Stop in /tmp/obj.

I have grepped /usr/src/bin/ for yy but did not find something usefull.
did a make clean is this directory which did not solvethe issue.

Any pointers who I can fix this are apprciated, 

kind regards,
Marten


unname -a
medion# uname -a
FreeBSD medion.martenvijn.nl 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Sat Aug
11 20:40:50 CEST 2007
root_at_medion.martenvijn.nl:/usr/obj/usr/src/sys/MED  i386

conplete output:

(cd /usr/src/bin/sh &&  make   depend && make   alias.o arith.o
arith_lex.o cd.o echo.o error.o eval.o exec.o expand.o histedit.o
input.o jobs.o mail.o main.o memalloc.o miscbltin.o mystring.o options.o
output.o parser.o redir.o show.o test.o trap.o var.o builtins.o init.o
nodes.o syntax.o)
`alias.o' is up to date.
`arith.o' is up to date.
`arith_lex.o' is up to date.
`cd.o' is up to date.
`echo.o' is up to date.
`error.o' is up to date.
`eval.o' is up to date.
`exec.o' is up to date.
`expand.o' is up to date.
`histedit.o' is up to date.
`input.o' is up to date.
`jobs.o' is up to date.
`mail.o' is up to date.
`main.o' is up to date.
`memalloc.o' is up to date.
`miscbltin.o' is up to date.
`mystring.o' is up to date.
`options.o' is up to date.
`output.o' is up to date.
`parser.o' is up to date.
`redir.o' is up to date.
`show.o' is up to date.
`test.o' is up to date.
`trap.o' is up to date.
`var.o' is up to date.
`builtins.o' is up to date.
`init.o' is up to date.
`nodes.o' is up to date.
`syntax.o' is up to date.
cc -O1 -pipe  -c tinycrunch.c
tinycrunch.c: In function 'crunched_usage':
tinycrunch.c:117: warning: incompatible implicit declaration of built-in
function 'exit'
cc -static -o tinycrunch tinycrunch.o sh.lo -lc -ledit -lncurses -lutil
sh.lo(.text+0x1ea0): In function `yylex':
: undefined reference to `yywrap'
*** Error code 1

Stop in /tmp/obj.



# uname -a
FreeBSD medion.martenvijn.nl 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Sat Aug
11 20:40:50 CEST 2007
root_at_medion.martenvijn.nl:/usr/obj/usr/src/sys/MED  i386
medion# dmesg
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights
reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-CURRENT #2: Sat Aug 11 20:40:50 CEST 2007
    root_at_medion.martenvijn.nl:/usr/obj/usr/src/sys/MED
ACPI APIC Table: <PTLTD          APIC  >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Mobile Intel(R) Pentium(R) 4     CPU 3.06GHz (3059.21-MHz 686-class
CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9

Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4400<CNXT-ID,xTPR>
  Logical CPUs per core: 2
real memory  = 536281088 (511 MB)
avail memory = 506593280 (483 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413,
RF5413)
acpi0: <PTLTD   RSDT> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x1c> port 0x62,0x66 on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_perf0: <ACPI CPU Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
p4tcc1: <CPU Frequency Thermal Control> on cpu1
acpi_button0: <Sleep Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82865 host to AGP bridge> on hostb0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
nvidia0: <GeForce FX Go53xx> mem
0xd1000000-0xd1ffffff,0xe0000000-0xefffffff irq 16 at device 0.0 on pci1
nvidia0: [GIANT-LOCKED]
nvidia0: [ITHREAD]
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0x1cc0-0x1cdf
irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0x1ce0-0x1cff
irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0x2000-0x201f
irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
uhci3: <Intel 82801EB (ICH5) USB controller USB-D> port 0x2020-0x203f
irq 16 at device 29.3 on pci0
uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb3: <Intel 82801EB (ICH5) USB controller USB-D> on uhci3
usb3: USB revision 1.0
uhub3: <Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
uhub3: 2 ports with 2 removable, self powered
ehci0: <Intel 82801EB/R (ICH5) USB 2.0 controller> mem
0xd0000000-0xd00003ff irq 23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: <Intel 82801EB/R (ICH5) USB 2.0 controller> on ehci0
usb4: USB revision 2.0
uhub4: <Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb4
uhub4: 8 ports with 8 removable, self powered
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci3: <ACPI PCI bus> on pcib2
cbb0: <TI6420 PCI-CardBus Bridge> at device 4.0 on pci3
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: [ITHREAD]
cbb1: <TI6420 PCI-CardBus Bridge> at device 4.1 on pci3
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
cbb1: [ITHREAD]
pci3: <serial bus, FireWire> at device 4.2 (no driver attached)
pci3: <mass storage> at device 4.3 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX> port 0x3000-0x30ff mem
0xd2015800-0xd20158ff irq 19 at device 5.0 on pci3
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> PHY 0 on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:0a:e4:55:3b:8f
rl0: [ITHREAD]
ath0: <Atheros 5212> mem 0xd2000000-0xd200ffff irq 18 at device 6.0 on
pci3
ath0: [ITHREAD]
ath0: using obsoleted if_watchdog interface
ath0: Ethernet address: 00:0b:6b:34:55:41
ath0: mac 5.9 phy 4.3 radio 3.6
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2060-0x206f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pcm0: <Intel ICH5 (82801EB)> port 0x1400-0x14ff,0x1c80-0x1cbf mem
0xd0000c00-0xd0000dff,0xd0000800-0xd00008ff irq 17 at device 31.5 on
pci0
pcm0: [ITHREAD]
pcm0: <Avance Logic ALC655 AC97 Codec>
pci0: <simple comms, generic modem> at device 31.6 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
acpi_button1: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model Generic PS/2 mouse, device ID 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
sio0: [FILTER]
sio1 port 0x2f8-0x2ff irq 3 drq 3 on acpi0
sio1: type 16550A
sio1: [FILTER]
battery0: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xd0000-0xd0fff,0xdc000-0xdffff pnpid
ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
ppc0: parallel port not found.
Timecounters tick every 1.000 msec
ad0: 76319MB <IC25N080ATMR04 0 MO4OAD4A> at ata0-master UDMA100
acd0: DVDR <HL-DT-ST DVD-RW GWA-4040N/1.01> at ata1-master UDMA33
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad0s2a
rl0: link state changed to UP
WARNING: attempt to net_add_domain(bluetooth) after domainfinalize()
pid 1025 (gnome-screensaver), uid 1001: exited on signal 6
Received on Mon Sep 17 2007 - 10:06:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:17 UTC