allbery@ncoast.ORG (Brandon S. Allbery) (03/12/89)
I have finally (after fighting with a "patch" that didn't work properly and finally grabbing the binary from bugs this morning -- btw, most of the Internet seemed to be down last night ;-) gotten Minix 1.2 onto my system and begun compiling it. I got libc.a built and started on the kernel -- and hit a problem. It couldn't find _get_bas, _send, _receive, and _sendrec in libc.a. I thought it might be the usual library ordering problem, but now I don't think so. I moved the relevant routines to the end of the library and rebuilt -- no effect. I added apparently missing .define statements to both .s files and rebuilt -- it now finds _get_bas, but still can't find the message routines. I'm stuck. Does anyone out there have any suggestions? I would like to get it up as soon as possible, make sure it works, then start over with the 1.3 patches and install those (then do the 1.4a patches which are already waiting on ncoast). Thanks in advance, ++Brandon (P.S. Reordering /lib/libc.a is a real trip. Oh, for a working lorder and tsort! And a working shell that doesn't come up with "cannot execute" when I try to fake it... See why I want to upgrade?) -- Brandon S. Allbery, moderator of comp.sources.misc allbery@ncoast.org uunet!hal.cwru.edu!ncoast!allbery ncoast!allbery@hal.cwru.edu Send comp.sources.misc submissions to comp-sources-misc@<backbone> NCoast Public Access UN*X - (216) 781-6201, 300/1200/2400 baud, login: makeuser
allbery@ncoast.ORG (Brandon S. Allbery) (03/12/89)
As quoted from <13453@ncoast.ORG> by allbery@ncoast.ORG (Brandon S. Allbery): +--------------- | hit a problem. It couldn't find _get_bas, _send, _receive, and _sendrec in | libc.a. | | I thought it might be the usual library ordering problem, but now I don't | think so. I moved the relevant routines to the end of the library and | rebuilt -- no effect. I added apparently missing .define statements to both | .s files and rebuilt -- it now finds _get_bas, but still can't find the | message routines. +--------------- I found the problem -- apparently, when the book says that .define statements must come first in the file, it MEANS it. Not even comments are allowed before them (1.2 asld with -i). This seems a botch to me.... Now: Who screwed up? Both getdata.s and sendrec.s are human-created files, and neither had .define statements. And both required them. Did I somehow screw up installing the 1.2 patches, or did someone forget them? (This is not a rhetorical question. If I screwed up, I want to know how, so I can avoid it when upgrading to 1.3. If this is a legitimate bug in the 1.2 upgrade, then I don't need to worry about my fumble-fingered-ness... but do need to audit the update files before trying to build it.) ++Brandon -- Brandon S. Allbery, moderator of comp.sources.misc allbery@ncoast.org uunet!hal.cwru.edu!ncoast!allbery ncoast!allbery@hal.cwru.edu Send comp.sources.misc submissions to comp-sources-misc@<backbone> NCoast Public Access UN*X - (216) 781-6201, 300/1200/2400 baud, login: makeuser