Subject: It builds, it won't build
To: None <port-vax@NetBSD.ORG>
From: Kevin Zachmann <zach@acsu.buffalo.edu>
List: port-vax
Date: 02/28/1996 23:18:47
I've been rather sporadic putting in the time to get my 
machine fully functional. I've come to the conclusion that
I really need to build my own kernel, but ran into some snags.

    The first problem occurred 30 minutes in, when it
    goes to compile init_main.c. There I got:
	Warning integer overflow at line xxx.
 
I resolved that problem by telling the compiler not to
choke on warnings (remove -Werror). The line involves the
setting using RLIM_INFINITY, which of course is 1 shifted
up 63 bits, -1. (Hmm. isn't this a 32 bit machine???)

    The next problem I'm faced with now comes between 2 and 3.5 hrs
    in, when it's churning on netinet/ip_mroute.c, where I get
    the error:
    line 134: initializer element is not computable at load time

Excuse me? You're compiling, not loading. How do you know
what you can do 8 hours from now when you're ready!


I'm running the pre-alpha binaries, having picked up
the kernel source from netbsd.org. I nearly had a s_%t fit
when I discovered cpp and awk were not present about a month ago.
Having gotten over that, I've pulled them out of later releases
dated about Sept 95. I've also reviewed much of the vax-port
mail, and picked up sys/include to run a make there (not that
I could tell it did *anything*).

It was through the kindness of Bertram that I've got this
customized kernel, and I wanted to stop being a pest and start
digging into code. The holidays kept me away.  Yes, I'm still at it :-)

The purpose is to test and get working the 9track drive, a ts device.
The kernel issues nice messages about the tsprobe and it's status,
but also complains that zs0 didn't interrupt. If I'm not mistaken
isn't the zs device the onboard terminal lines, ie console, and if
so why is it complaining about address 1772520 where my ts controller
is. THIS is why I wanted to rebuild my kernel, and begin some work.

I note the generic kernel doesn't have the ts configured,
I have no problem with installing the proper info for doing so,
but need to know a compile is going to run to completion.

Any thoughts?

Much appreciated

Zach