Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Being against torture ought to be sort of a bipartisan thing." -- Karl Lehenbauer


computers / comp.os.vms / Re: C_TEST_ROUTINES.C link problem

SubjectAuthor
* C_TEST_ROUTINES.C link problemEberhard Heuser
`* Re: C_TEST_ROUTINES.C link problemJoukj
 +- Re: C_TEST_ROUTINES.C link problemvaxinf@gmail.com
 +- Re: C_TEST_ROUTINES.C link problemvaxinf@gmail.com
 `- Re: C_TEST_ROUTINES.C link problemeh

1
C_TEST_ROUTINES.C link problem

<eb542e14-86a7-4ad4-bd2c-cbdfe61f0887n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=25833&group=comp.os.vms#25833

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:4812:b0:398:fec:d89 with SMTP id fb18-20020a05622a481200b003980fec0d89mr69336764qtb.351.1670937055405;
Tue, 13 Dec 2022 05:10:55 -0800 (PST)
X-Received: by 2002:a05:6214:519:b0:4c7:6210:8d8b with SMTP id
px25-20020a056214051900b004c762108d8bmr17777432qvb.119.1670937055170; Tue, 13
Dec 2022 05:10:55 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Tue, 13 Dec 2022 05:10:54 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:8071:8680:db00:c177:fe65:8460:e39c;
posting-account=3xH67woAAACrBC3EyXAKnY_LeuLlsg74
NNTP-Posting-Host: 2a02:8071:8680:db00:c177:fe65:8460:e39c
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <eb542e14-86a7-4ad4-bd2c-cbdfe61f0887n@googlegroups.com>
Subject: C_TEST_ROUTINES.C link problem
From: vax...@googlemail.com (Eberhard Heuser)
Injection-Date: Tue, 13 Dec 2022 13:10:55 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1636
 by: Eberhard Heuser - Tue, 13 Dec 2022 13:10 UTC

Hi,

I'm starting to understand how OpenVMS I/O takes place and how to debug this.

I have two OpenVMS Alpha virtual machines. They talk to each other through the debugger as described in the manuals (boot -fl 0,8000 dka0,ewa0)

There is one routine in the system$examples called C_TEST_ROUTINES.C
that helps to understand what the kernel does.

Now the link step fails :
%LINK-W-NUDFSYMS, 1 undefined symbol:
%LINK-I-UDFSYM, XDT$FREGSAV
%LINK-W-USEUNDEF, undefined symbol XDT$FREGSAV referenced

I have no idea how to get rid off this failure.

Any ideas?

Eberhard

Re: C_TEST_ROUTINES.C link problem

<tn9vhq$1sb5$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=25835&group=comp.os.vms#25835

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!VBq+0lvnmMNyaA+Ljm3y2w.user.46.165.242.91.POSTED!not-for-mail
From: jou...@hrem.nano.tudelft.nl (Joukj)
Newsgroups: comp.os.vms
Subject: Re: C_TEST_ROUTINES.C link problem
Date: Tue, 13 Dec 2022 14:43:22 +0100
Organization: Aioe.org NNTP Server
Message-ID: <tn9vhq$1sb5$1@gioia.aioe.org>
References: <eb542e14-86a7-4ad4-bd2c-cbdfe61f0887n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="61797"; posting-host="VBq+0lvnmMNyaA+Ljm3y2w.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; U; OpenVMS COMPAQ_Professional_Workstation; en-US; rv:1.8.1.17) Gecko/20081029 SeaMonkey/1.1.12
X-Notice: Filtered by postfilter v. 0.9.2
 by: Joukj - Tue, 13 Dec 2022 13:43 UTC

Eberhard Heuser wrote:
> Hi,
>
> I'm starting to understand how OpenVMS I/O takes place and how to debug this.
>
> I have two OpenVMS Alpha virtual machines. They talk to each other through the debugger as described in the manuals (boot -fl 0,8000 dka0,ewa0)
>
> There is one routine in the system$examples called C_TEST_ROUTINES.C
> that helps to understand what the kernel does.
>
> Now the link step fails :
> %LINK-W-NUDFSYMS, 1 undefined symbol:
> %LINK-I-UDFSYM, XDT$FREGSAV
> %LINK-W-USEUNDEF, undefined symbol XDT$FREGSAV referenced
>
> I have no idea how to get rid off this failure.
>
> Any ideas?

On my (Alpha & Itanium) systems it just links:

$ cc C_TEST_ROUTINES.C
$ link C_TEST_ROUTINES
$

Did you use any qualifiers on the cc and/or link command?

Jouk

Re: C_TEST_ROUTINES.C link problem

<mailman.0.1670950997.29943.info-vax_rbnsn.com@rbnsn.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=25838&group=comp.os.vms#25838

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!kishost2.serverpowered.net!not-for-mail
From: vax...@googlemail.com (vaxinf@gmail.com)
Newsgroups: comp.os.vms
Subject: Re: C_TEST_ROUTINES.C link problem
Date: Tue, 13 Dec 2022 18:02:29 +0100
Lines: 48
Message-ID: <mailman.0.1670950997.29943.info-vax_rbnsn.com@rbnsn.com>
References: <eb542e14-86a7-4ad4-bd2c-cbdfe61f0887n@googlegroups.com>
<tn9vhq$1sb5$1@gioia.aioe.org>
<8ae59093-681d-aada-3bec-769553c7e72d@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: solani.org;
logging-data="1093069"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.5.1
To: info-vax@rbnsn.com
Cancel-Lock: sha1:Cj1oTF4Jr9Yid88ywmljtBtZeFE=
List-Archive: <http://rbnsn.com/pipermail/info-vax_rbnsn.com/>
X-Spam-Flag: NO
X-Spam-Status: No, score=2.8
List-Help: <mailto:info-vax-request@rbnsn.com?subject=help>
In-Reply-To: <tn9vhq$1sb5$1@gioia.aioe.org>
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=content-transfer-encoding:in-reply-to:content-language:references
:to:subject:user-agent:mime-version:date:message-id:from
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=48d4WWKtReucEag/vH1OFAMgcAiOv13ixuYPI4QI6dE=;
b=GGISeTxvZXFrAUT04ybg5k95onp0eOZL+M2GwRbeKayEDEKQZAQifPmm8yukKoVvux
LX8LWluHbNsiUQFqlQC/v5nhnTIYalwZ7RjFTHtIKs6ds5LpcQsp1kIsVMxsA3NxklPz
pjZlBTlSWPhu6Fbwc8E8Uc/826339Db+8DKPQvLRYqDoXtYLmqs9Tl+FT2c7K5KrSz+9
MQHWrspzp1C8dfcB/UE2jwPAL4mLnAvcwiShxJ6q3/wZ/M/sK4BKL7+jJESq48li2HeJ
Y/BVsDW5HFfWKVmYC3atMoQw54gjPNj36ce6sxweDaGyTDO9kGsKZP5ItF2EYzI3wp3p
mA8Q==
X-Mailman-Version: 2.1.38
List-Post: <mailto:info-vax@rbnsn.com>
X-Gm-Message-State: ANoB5pkp9hwcRsg5b8iln1gxJ57zLJk/i7HUWi5/klH4jQPyyZNiuIQc
TZgMyBYZNKctzNueqyhNsaewMrw9ZVA=
X-User-ID: eJwNx8ERwDAIA7CVSAG7jAPhvP8IrX5Kx8FlIBGplBx/LVpMM6t+OXWbQNXD7Wl6QrOBo+36ABHnERM=
X-Ham-Report: Spam detection software,
running on the system "kishost2.serverpowered.net",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
root\@localhost for details.
Content preview: Yes, you're right. On my working Alpha OpenVMS V8.4 the link
step is OK, too. So I have to configure out, which part is not installed
correctly in my test V8.2 equipment.
Content analysis details: (2.8 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
3.0 BAYES_50 BODY: Bayes spam probability is 40 to 60%
[score: 0.5000]
-0.0 SPF_PASS SPF: sender matches SPF record
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider [vaxinf[at]googlemail.com]
0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
valid
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
author's domain
-0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
envelope-from domain
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
X-BeenThere: info-vax@rbnsn.com
X-Google-Original-From: "vaxinf@gmail.com" <vaxinf@gmail.com>
List-Unsubscribe: <http://rbnsn.com/mailman/options/info-vax_rbnsn.com>,
<mailto:info-vax-request@rbnsn.com?subject=unsubscribe>
X-Spam-Score: 28
Precedence: list
X-Received: by 2002:a05:6402:f24:b0:46d:ca42:2e59 with SMTP id
i36-20020a0564020f2400b0046dca422e59mr19997514eda.11.1670950951593;
Tue, 13 Dec 2022 09:02:31 -0800 (PST)
X-Mailman-Original-References: <eb542e14-86a7-4ad4-bd2c-cbdfe61f0887n@googlegroups.com>
<tn9vhq$1sb5$1@gioia.aioe.org>
List-Subscribe: <http://rbnsn.com/mailman/listinfo/info-vax_rbnsn.com>,
<mailto:info-vax-request@rbnsn.com?subject=subscribe>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlemail.com; s=20210112;
h=content-transfer-encoding:in-reply-to:content-language:references
:to:subject:user-agent:mime-version:date:message-id:from:from:to:cc
:subject:date:message-id:reply-to;
bh=48d4WWKtReucEag/vH1OFAMgcAiOv13ixuYPI4QI6dE=;
b=cYEAt/mNDM8AWyQHb7LvsOPm0buyBsJaKb+XNC+vXd3rz3rebPs+goyJlGHGepyDyV
uz7t8hf0QjBZ6Oxaf9FNpulnxTub+KfjDsSHzUZ8XHdldkfXogema4k6XrIqSHzfHYi+
w/5QtGgun4o3GmNfp1MDHeUGlsgVLqyBC6bHvFMGxPXAq855fHx6yCo5EhctE3zmDT1v
KlRVUp6KksNu6LDhYZwipxfhmhzfxZRyFj9P1CMRru+iDSQICuQJ3YnxbrM2c9ANrMpN
LmFZ1b7FChb9g7hbfTBpMOmAZnIpQXZjHE1Wpb0qVDkErt93Yf6uZKXzWGx2Ey7Fw6Yn
DIDA==
List-Id: "comp.os.vms to email gateway" <info-vax.rbnsn.com>
X-Mailman-Original-Message-ID: <8ae59093-681d-aada-3bec-769553c7e72d@gmail.com>
Content-Language: de-DE
X-Google-Smtp-Source: AA0mqf6TFyx+ExinonEQcdMBVVATyapzG8AcqU/om550bQtepRpNMWIdP6C0azoBNDRKynZksj9pnQ==
X-Spam-Bar: ++
 by: vaxinf@gmail.com - Tue, 13 Dec 2022 17:02 UTC

Yes,

you're right. On my working Alpha OpenVMS V8.4 the link step is OK, too.

So I have to configure out, which part is not installed correctly in my
test V8.2 equipment.

Eberhard

Am 13.12.2022 um 14:43 schrieb Joukj via Info-vax:
> Eberhard Heuser wrote:
>> Hi,
>>
>> I'm starting to understand how OpenVMS I/O takes place and how to
>> debug this.
>>
>> I have two OpenVMS Alpha virtual machines. They talk to each other
>> through the debugger as described in the manuals (boot -fl 0,8000
>> dka0,ewa0)
>>
>> There is one routine in the system$examples called C_TEST_ROUTINES.C
>> that helps to understand what the kernel does.
>>
>> Now the link step fails :
>> %LINK-W-NUDFSYMS, 1 undefined symbol:
>> %LINK-I-UDFSYM,         XDT$FREGSAV
>> %LINK-W-USEUNDEF, undefined symbol XDT$FREGSAV referenced
>>
>> I have no idea how to get rid off this failure.
>>
>> Any ideas?
>
> On my (Alpha & Itanium) systems it just links:
>
> $ cc C_TEST_ROUTINES.C
> $ link C_TEST_ROUTINES
> $
>
> Did you use any qualifiers on the cc and/or link command?
>
>          Jouk
> _______________________________________________
> Info-vax mailing list
> Info-vax@rbnsn.com
> http://rbnsn.com/mailman/listinfo/info-vax_rbnsn.com
>

Re: C_TEST_ROUTINES.C link problem

<mailman.1.1670956695.29943.info-vax_rbnsn.com@rbnsn.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=25843&group=comp.os.vms#25843

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!kishost2.serverpowered.net!not-for-mail
From: vax...@googlemail.com (vaxinf@gmail.com)
Newsgroups: comp.os.vms
Subject: Re: C_TEST_ROUTINES.C link problem
Date: Tue, 13 Dec 2022 19:37:29 +0100
Lines: 59
Message-ID: <mailman.1.1670956695.29943.info-vax_rbnsn.com@rbnsn.com>
References: <eb542e14-86a7-4ad4-bd2c-cbdfe61f0887n@googlegroups.com>
<tn9vhq$1sb5$1@gioia.aioe.org>
<8ae59093-681d-aada-3bec-769553c7e72d@gmail.com>
<60381d0f-cf40-4548-7178-e69de24d4438@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: solani.org;
logging-data="2145529"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.5.1
To: info-vax@rbnsn.com
Cancel-Lock: sha1:KfF3wkVdx7JNmf0JoVAmjgu7jZw=
X-Spam-Status: No, score=3.6
List-Subscribe: <http://rbnsn.com/mailman/listinfo/info-vax_rbnsn.com>,
<mailto:info-vax-request@rbnsn.com?subject=subscribe>
X-BeenThere: info-vax@rbnsn.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlemail.com; s=20210112;
h=content-transfer-encoding:in-reply-to:content-language:references
:to:subject:user-agent:mime-version:date:message-id:from:from:to:cc
:subject:date:message-id:reply-to;
bh=Jorj9EU92wyVAGYM0139TEysslbeagfAwtPUKTH4lGc=;
b=ZxSU4Eu7H1ZNOaCLLDRk7rw9a3j0Ugzzk9vTBYSajh+iWncx/dRFbvLILaRA6+idMR
qLomJgqTYQ4wH5u+9OnU77cx98dgwJp2HFMz27oQhFEqZ68zhgS6P0cun+V6TW5AMTot
rQSx8ALFBbWWsAPggpEVcy38GhcWo6k28/b/Zf9bu8cRX8Mx6a9F0ercACvCndkokcqn
59XWxe5jD8ojzKC4sMLOx9p/9yJ5atONTMUy19xOTjzC7kQeBpavLay8a82YMoPYqOBj
JBMg0n3LRSBueSNf4AzbJqWEEB5gud/izIvAUqdlw9KGNZ/5zW3Vm5C9LNtdvnYKSgx+
+z0A==
X-Google-Smtp-Source: AA0mqf67mHYdilUldk/qfuh7x7OJ1lt0tqSNCFixo89NuOwwS9232wC4hFKdvaQIQdkqQ+t1w1XuJA==
X-Spam-Bar: +++
X-Spam-Flag: NO
List-Unsubscribe: <http://rbnsn.com/mailman/options/info-vax_rbnsn.com>,
<mailto:info-vax-request@rbnsn.com?subject=unsubscribe>
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=content-transfer-encoding:in-reply-to:content-language:references
:to:subject:user-agent:mime-version:date:message-id:from
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=Jorj9EU92wyVAGYM0139TEysslbeagfAwtPUKTH4lGc=;
b=U21BHhPSgTazPvHdBXFbkrTbIs+r/tvXfXFb/ZZGNM0mWdTpdM1rMHgYnYL0EnAQoE
OXErcGY45+da12Ri0ddodAq8iskD5ru6rvgDNt9ICgagAXIQNcUW1d0g4KSIvyX0E65J
9oYn8CeXxVJHCDxUfdUR+3ELiBzDxRdEeeNGEx2lkukoKSqkOO0NBd0L2Bit19FXMEfb
cASNTgvqkY8wwymYv5jNrK/Qigkl6zDTip2/P+HqRl0JXv4KXIq9JgBAiyBnc1jBrfYK
eYxMq4WULAt6PrRglccaeRJ++WDjPlf4uIGzR0lH8dc/m5JKtxmhwvIC55VNE28uBfxV
GNww==
X-Mailman-Original-Message-ID: <60381d0f-cf40-4548-7178-e69de24d4438@gmail.com>
X-Google-Original-From: "vaxinf@gmail.com" <vaxinf@gmail.com>
X-User-ID: eJwNytEVADEEBMCWIixPObjVfwm5+R6oi0+Yww2L1QpjHscIKznRRWjZvejzv01B78cKITfjASXnEcY=
X-Received: by 2002:a05:6402:5486:b0:467:c3cb:49aa with SMTP id
fg6-20020a056402548600b00467c3cb49aamr17954959edb.4.1670956650858;
Tue, 13 Dec 2022 10:37:30 -0800 (PST)
X-Spam-Score: 36
List-Archive: <http://rbnsn.com/pipermail/info-vax_rbnsn.com/>
List-Id: "comp.os.vms to email gateway" <info-vax.rbnsn.com>
In-Reply-To: <8ae59093-681d-aada-3bec-769553c7e72d@gmail.com>
List-Help: <mailto:info-vax-request@rbnsn.com?subject=help>
List-Post: <mailto:info-vax@rbnsn.com>
X-Gm-Message-State: ANoB5pkdF979tx8jgjZiOezoQfOwX33pAfB9Qzkjai26JTKxgZAUBNst
w+Qc1tWHsbyv7VUP1mR9Mt0Lk9ntfuM=
X-Ham-Report: Spam detection software,
running on the system "kishost2.serverpowered.net",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
root\@localhost for details.
Content preview: Turns out that the source code was changed between V8.2 and
V8.4. If I use the code V8.4 provided, everything compiles and links just
fine!!! Am 13.12.2022 um 18:02 schrieb vaxinf--- via Info-vax: > Yes, > >
you're right. On my working Alpha OpenVMS V8.4 the link step is OK, too.
> > So I have to configure out, which part is not installed c [...]
Content analysis details: (3.6 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
3.0 BAYES_50 BODY: Bayes spam probability is 40 to 60%
[score: 0.5000]
-0.0 SPF_PASS SPF: sender matches SPF record
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider [vaxinf[at]googlemail.com]
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
author's domain
0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
valid
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
-0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
envelope-from domain
0.8 KAM_ASCII_DIVIDERS Spam that uses ascii formatting tricks
Content-Language: de-DE
Precedence: list
X-Mailman-Original-References: <eb542e14-86a7-4ad4-bd2c-cbdfe61f0887n@googlegroups.com>
<tn9vhq$1sb5$1@gioia.aioe.org>
<8ae59093-681d-aada-3bec-769553c7e72d@gmail.com>
X-Mailman-Version: 2.1.38
 by: vaxinf@gmail.com - Tue, 13 Dec 2022 18:37 UTC

Turns out that the source code was changed between V8.2 and V8.4. If I
use the code V8.4 provided, everything compiles and links just fine!!!

Am 13.12.2022 um 18:02 schrieb vaxinf--- via Info-vax:
> Yes,
>
> you're right. On my working Alpha OpenVMS V8.4 the link step is OK, too.
>
> So I have to configure out, which part is not installed correctly in
> my test V8.2 equipment.
>
> Eberhard
>
> Am 13.12.2022 um 14:43 schrieb Joukj via Info-vax:
>> Eberhard Heuser wrote:
>>> Hi,
>>>
>>> I'm starting to understand how OpenVMS I/O takes place and how to
>>> debug this.
>>>
>>> I have two OpenVMS Alpha virtual machines. They talk to each other
>>> through the debugger as described in the manuals (boot -fl 0,8000
>>> dka0,ewa0)
>>>
>>> There is one routine in the system$examples called C_TEST_ROUTINES.C
>>> that helps to understand what the kernel does.
>>>
>>> Now the link step fails :
>>> %LINK-W-NUDFSYMS, 1 undefined symbol:
>>> %LINK-I-UDFSYM,         XDT$FREGSAV
>>> %LINK-W-USEUNDEF, undefined symbol XDT$FREGSAV referenced
>>>
>>> I have no idea how to get rid off this failure.
>>>
>>> Any ideas?
>>
>> On my (Alpha & Itanium) systems it just links:
>>
>> $ cc C_TEST_ROUTINES.C
>> $ link C_TEST_ROUTINES
>> $
>>
>> Did you use any qualifiers on the cc and/or link command?
>>
>>          Jouk
>> _______________________________________________
>> Info-vax mailing list
>> Info-vax@rbnsn.com
>> http://rbnsn.com/mailman/listinfo/info-vax_rbnsn.com
>>
>
>
> _______________________________________________
> Info-vax mailing list
> Info-vax@rbnsn.com
> http://rbnsn.com/mailman/listinfo/info-vax_rbnsn.com
>

Re: C_TEST_ROUTINES.C link problem

<mailman.2.1671035069.29943.info-vax_rbnsn.com@rbnsn.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=25855&group=comp.os.vms#25855

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!kishost2.serverpowered.net!not-for-mail
From: e.heu...@dvdwrite.de (eh)
Newsgroups: comp.os.vms
Subject: Re: C_TEST_ROUTINES.C link problem
Date: Wed, 14 Dec 2022 16:29:27 +0100
Lines: 177
Message-ID: <mailman.2.1671035069.29943.info-vax_rbnsn.com@rbnsn.com>
References: <eb542e14-86a7-4ad4-bd2c-cbdfe61f0887n@googlegroups.com>
<tn9vhq$1sb5$1@gioia.aioe.org>
<8ae59093-681d-aada-3bec-769553c7e72d@gmail.com>
<60381d0f-cf40-4548-7178-e69de24d4438@gmail.com>
<549ef795-9e88-32ae-35f6-f587d98f2c60@dvdwrite.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: solani.org;
logging-data="1133371"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.0
To: info-vax@rbnsn.com
Cancel-Lock: sha1:HGQpEf22Lk1HHuwDj4JRpsQjxV8=
X-Mailman-Original-References: <eb542e14-86a7-4ad4-bd2c-cbdfe61f0887n@googlegroups.com>
<tn9vhq$1sb5$1@gioia.aioe.org>
<8ae59093-681d-aada-3bec-769553c7e72d@gmail.com>
<60381d0f-cf40-4548-7178-e69de24d4438@gmail.com>
List-Subscribe: <http://rbnsn.com/mailman/listinfo/info-vax_rbnsn.com>,
<mailto:info-vax-request@rbnsn.com?subject=subscribe>
X-Spam-Bar: +++
X-Spam-Status: No, score=3.8
X-Ham-Report: Spam detection software,
running on the system "kishost2.serverpowered.net",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
root\@localhost for details.
Content preview: Hi, I'm still have problems to reproduce the steps documented
in "Debugging a Device Driver": After the connection of the two machine via
debug/keep as described,
Content analysis details: (3.8 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
3.0 BAYES_50 BODY: Bayes spam probability is 40 to 60%
[score: 0.5000]
-0.0 SPF_PASS SPF: sender matches SPF record
0.8 KAM_ASCII_DIVIDERS Spam that uses ascii formatting tricks
0.0 KAM_DMARC_STATUS Test Rule for DKIM or SPF Failure with Strict
Alignment
In-Reply-To: <60381d0f-cf40-4548-7178-e69de24d4438@gmail.com>
X-Mailman-Original-Message-ID: <549ef795-9e88-32ae-35f6-f587d98f2c60@dvdwrite.de>
X-Mailman-Version: 2.1.38
List-Help: <mailto:info-vax-request@rbnsn.com?subject=help>
List-Archive: <http://rbnsn.com/pipermail/info-vax_rbnsn.com/>
X-dvdwrite.de-MailScanner-Information: Please contact the ISP for more
information
X-dvdwrite.de-MailScanner: Found to be clean
X-User-ID: eJwFwQkBwDAIA0BLfAlDTkvBv4TdwansDIKBxSbPKxHTVslvRt3EKDY2OIyqp+2D27d2nfgBBFUQlw==
Precedence: list
X-dvdwrite.de-MailScanner-ID: EAEB52A4C09.A5E11
List-Id: "comp.os.vms to email gateway" <info-vax.rbnsn.com>
X-Mailman-Approved-At: Wed, 14 Dec 2022 11:24:28 -0500
List-Unsubscribe: <http://rbnsn.com/mailman/options/info-vax_rbnsn.com>,
<mailto:info-vax-request@rbnsn.com?subject=unsubscribe>
List-Post: <mailto:info-vax@rbnsn.com>
Content-Language: de-DE
X-Spam-Flag: NO
X-Spam-Score: 38
X-BeenThere: info-vax@rbnsn.com
X-dvdwrite.de-MailScanner-From: e.heuser@dvdwrite.de
 by: eh - Wed, 14 Dec 2022 15:29 UTC

Hi,

I'm still have problems to reproduce the steps documented in "Debugging
a Device Driver":

After the connection of the two machine via debug/keep as described,

the "set break" command fails:

DBG> set image SYSTEM_DEBUG
DBG> show module
module name                     symbols   language   size

AUX_TARGET                      no        C         71264
BREAK                           no        BLISS     32684
BUFSRV_TARGET                   no        C         50728
BUGCHECK_CODES                  no        BLISS     27264
CONSOLE                         no        C         21380
CRTLPRINTF                      no        C         30184
C_TEST_ROUTINES                 no        C          5744
DUMPHEX                         no        C         24736
FATAL_EXC                       no        C         31872
HIGH_ADDRESS                    no        C           688
LIB$CALLING_STANDARD            no        BLISS     20004
LIB$CALLING_STANDARD_AUX        no        MACRO64    1680
LIB$EF                          no        AMACRO     1632
LINMGR_TARGET                   no        C        125376
LOW_ADDRESS                     no        C          1004
OBJMGR                          no        C         41700
PLUMGR                          no        C         64948
POOL                            no        C         22952
PROTOMGR_TARGET                 no        C         71100
SCB                             no        BLISS     14656
SOCMGR                          no        C         38872
STEP                            no        BLISS     30676
SYS$DOINIT                      no        AMACRO    94148
TARGET_KERNEL                   yes       C        217612
TMRMGR_TARGET                   no        C         42488
XDELTA                          no        BLISS    242904
XDELTA_ISRS                     no        MACRO64    2428

total modules: 27
DBG> set module c_test_routines
DBG> show module
module name                     symbols   language   size

AUX_TARGET                      no        C         71264
BREAK                           no        BLISS     32684
BUFSRV_TARGET                   no        C         50728
BUGCHECK_CODES                  no        BLISS     27264
CONSOLE                         no        C         21380
CRTLPRINTF                      no        C         30184
C_TEST_ROUTINES                 yes       C          5744
DUMPHEX                         no        C         24736
FATAL_EXC                       no        C         31872
HIGH_ADDRESS                    no        C           688
LIB$CALLING_STANDARD            no        BLISS     20004
LIB$CALLING_STANDARD_AUX        no        MACRO64    1680
LIB$EF                          no        AMACRO     1632
LINMGR_TARGET                   no        C        125376
LOW_ADDRESS                     no        C          1004
OBJMGR                          no        C         41700
PLUMGR                          no        C         64948
POOL                            no        C         22952
PROTOMGR_TARGET                 no        C         71100
SCB                             no        BLISS     14656
SOCMGR                          no        C         38872
STEP                            no        BLISS     30676
SYS$DOINIT                      no        AMACRO    94148
TARGET_KERNEL                   yes       C        217612
TMRMGR_TARGET                   no        C         42488
XDELTA                          no        BLISS    242904
XDELTA_ISRS                     no        MACRO64    2428

total modules: 27
DBG> set lang c
DBG> set source dka0:[vms$common.sys$ldr]c_test_routines.c
DBG> show source
For EDIT:
    source directory list for all modules, match the latest source file
version
        dka0:[vms$common.sys$ldr]c_test_routines.c
For DISPLAY:
    source directory list for all modules, match the exact source file
version
        dka0:[vms$common.sys$ldr]c_test_routines.c
DBG> set lang c
DBG> show symbol test_c_code*
routine C_TEST_ROUTINES\test_c_code5
routine C_TEST_ROUTINES\test_c_code4
routine C_TEST_ROUTINES\test_c_code3
routine C_TEST_ROUTINES\test_c_code2
routine C_TEST_ROUTINES\test_c_code
DBG> set break test_c_code
%DEBUG-E-NOACCESSR, no read access to address 0000000000052790
%DEBUG-E-CMDFAILED, the SET BREAK command has failed

Do I need special options in the link step?

I'm helpless!!!

Eberhard

Am 13.12.2022 um 19:37 schrieb vaxinf--- via Info-vax:
> Turns out that the source code was changed between V8.2 and V8.4. If I
> use the code V8.4 provided, everything compiles and links just fine!!!
>
> Am 13.12.2022 um 18:02 schrieb vaxinf--- via Info-vax:
>> Yes,
>>
>> you're right. On my working Alpha OpenVMS V8.4 the link step is OK, too.
>>
>> So I have to configure out, which part is not installed correctly in
>> my test V8.2 equipment.
>>
>> Eberhard
>>
>> Am 13.12.2022 um 14:43 schrieb Joukj via Info-vax:
>>> Eberhard Heuser wrote:
>>>> Hi,
>>>>
>>>> I'm starting to understand how OpenVMS I/O takes place and how to
>>>> debug this.
>>>>
>>>> I have two OpenVMS Alpha virtual machines. They talk to each other
>>>> through the debugger as described in the manuals (boot -fl 0,8000
>>>> dka0,ewa0)
>>>>
>>>> There is one routine in the system$examples called C_TEST_ROUTINES.C
>>>> that helps to understand what the kernel does.
>>>>
>>>> Now the link step fails :
>>>> %LINK-W-NUDFSYMS, 1 undefined symbol:
>>>> %LINK-I-UDFSYM,         XDT$FREGSAV
>>>> %LINK-W-USEUNDEF, undefined symbol XDT$FREGSAV referenced
>>>>
>>>> I have no idea how to get rid off this failure.
>>>>
>>>> Any ideas?
>>>
>>> On my (Alpha & Itanium) systems it just links:
>>>
>>> $ cc C_TEST_ROUTINES.C
>>> $ link C_TEST_ROUTINES
>>> $
>>>
>>> Did you use any qualifiers on the cc and/or link command?
>>>
>>>          Jouk
>>> _______________________________________________
>>> Info-vax mailing list
>>> Info-vax@rbnsn.com
>>> http://rbnsn.com/mailman/listinfo/info-vax_rbnsn.com
>>>
>>
>>
>> _______________________________________________
>> Info-vax mailing list
>> Info-vax@rbnsn.com
>> http://rbnsn.com/mailman/listinfo/info-vax_rbnsn.com
>>
>
>
> _______________________________________________
> Info-vax mailing list
> Info-vax@rbnsn.com
> http://rbnsn.com/mailman/listinfo/info-vax_rbnsn.com
>

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor