VOGONS


First post, by Exploit

User metadata
Rank Newbie
Rank
Newbie

I have created a library with the help of wlib.exe. The object files were created with jwasm.

wlib testlib +newline +upcount +dncount
wlib testlib

See screenshot wlib.png for output of listing.

Now i tried to extract an object file from the library again the way it is described here:
https://users.pja.edu.pl/~jms/qnx/help/watcom … tractingAModule

Thus i entered:

wlib testlib :dncount

This didn't work, see screenshot extract.png.
Then i tried the following with the same error:

wlib testlib :_dncount

In all cased i got the error:

Error! Cannot find file ':_dncoun.obj'

Attachments

  • wlib.png
    Filename
    wlib.png
    File size
    7.42 KiB
    Views
    147 views
    File license
    Fair use/fair dealing exception
  • extract.png
    Filename
    extract.png
    File size
    9.88 KiB
    Views
    147 views
    File license
    Fair use/fair dealing exception

Reply 1 of 1, by Exploit

User metadata
Rank Newbie
Rank
Newbie

Okay, i found the error.

It seems to be, that the manual is wrong or the operator for extraction was changed from : to *.
It is not :objectname, it is *objectname

This works:

wlib testlib *dncount