Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

linking driver modules with OS9/68K V2.4

40 views
Skip to first unread message

Bob Devries

unread,
Aug 11, 2011, 2:08:17 AM8/11/11
to
Hello all,
I'm trying to compiler a driver which is part C code and part
assembler. All the parts compile, but the make fails with the message:

l68: error - no root psect found

The manual I have indicates that the first module in the linker
command line should have the root psect, and that the root psect is
identified by a 0 in the TypLan field.
The code originally had this:

Typ_Lang set (Sbrtn<<8)+Objct
.
.
.
psect scsi, Typ_Lang,Attr_Rev,Edition,0,Entry

Even if I change Typ_Lang to 0 (as the manual suggests) I still get
the same error.

What gives?

Regards, Bob Devries
Dalby, QLD, Australia

Bob Devries

unread,
Aug 11, 2011, 4:25:23 AM8/11/11
to

Hmm, I found an answer....

I changed Typ_Lang to (Drivr<<8)+Objct and it links correctly. I don't
know why the original was a subroutine, nor do I understand why the
linker refused to link it.

0 new messages