Subject: netbsd-current: make build - problems
To: None <port-i386@netbsd.org>
From: Berndt Josef Wulf <wulf@dingo.ping.net.au>
List: port-i386
Date: 10/13/2001 21:12:04
Takahiro Kambe wrote
> In message <200110130618.PAA11188@pm.highway.ne.jp>
> 	on Sat, 13 Oct 2001 15:24:22 +0900,
> 	Kazuhiko Takai <kazuhiko_takai@anet.ne.jp> wrote:
> > cheerio Berndt wrote:
> > >/tmp/ccJWlAqU.s: Assembler messages:
> ...
> > >/tmp/ccJWlAqU.s:626: Error: no such 386 instruction: `fxsave'
> > >*** Error code 1
> > 
> > I also met these messages and they disappeared when I "make clean." 
> In general, as(1) should be updated before kernel compile.

FYI,

I unsuccesfully tried updating various tools and utilities as per
src/UPDATE but it didn't work. So I took the plunge and issued a
'make build' and encountered the following problems:

1.) build breaks at compiling libgcc due to an old .depend file
    that didn't get removed after a clean.

    It was only after removing the .depend file manually that it built
    succesfully.

2.) build breaks at compiling tcpdump with following error message:

    ...
    int-rt6.o print-ospf6.o print-dhcp6.o bpf_dump.o version.o -lpcap
    -lcrypto -ll -L/usr/lib -lgcc -lc -lgcc /usr/lib/crtend.o
    /usr/lib/libl.so: undefined reference to `yylex'
    collect2: ld returned 1 exit status
    *** Error code 1

    I removed -ll from the LDADD option in the Makefile

    and tcpdump built and runs without problems... 

cheerio Berndt
-- 
Name    : Berndt Josef Wulf            | +++ With BSD on Packet Radio +++
E-Mail  : wulf@ping.net.au             |    tfkiss, tnt, dpbox, wampes
ICQ     : 18196098                     |  VK5ABN, Nairne, South Australia 
URL     : http://www.ping.net.au/~wulf | MBOX : vk5abn@vk5abn.#lmr.#sa.au.oc
Sysinfo : DEC AXPpci33+, NetBSD-1.5    | BBS  : vk5abn.#lmr.#sa.aus.oc