Installation of Network DDK fails

Hi,

I have been struggling with trying to write a network driver. Things
just looked “messed up”. Further complicating things was the fact that I
used to have the 6.0.0 (Patch C?) Network DDK installed.

Anyway, I went to the package installer, REMOVED the Network DDK that was
listed as being present (and activated), and then re-installed it (from
the WWW repository)

Everything looked like it worked just perfectly, but when I was done (I
was talking to CDM on the phone at the time) I did NOT have any drvr
files in the /x86/usr/lib directory (or the /usr/lib).

What do I have to do to fix this?
What information do you guys need to help me out?

Thanks

\

Stephen Munnings
Software Developer
Corman Technologies Inc.

Hi Stephen,

Have you tried to reinstall the DDK? Not sure why it wouldn’t be there,
in my /x86/usr/lib dir I have the following:

[emuis]/x86/usr/lib:>ls -l drvr
-rw-rw-r-- 1 root bin 26066 Jun 22 00:54 libdrvr.a
-rw-rw-r-- 1 root bin 27398 Jun 22 00:54 libdrvrS.a
[emuis]/x86/usr/lib:>

I guess we can always send you the files if need be. What about the
ISO CD? Did you try installing from that?

E.


Stephen Munnings <steve@cormantech.com> wrote:

Hi,

I have been struggling with trying to write a network driver. Things
just looked “messed up”. Further complicating things was the fact that I
used to have the 6.0.0 (Patch C?) Network DDK installed.

Anyway, I went to the package installer, REMOVED the Network DDK that was
listed as being present (and activated), and then re-installed it (from
the WWW repository)

Everything looked like it worked just perfectly, but when I was done (I
was talking to CDM on the phone at the time) I did NOT have any drvr
files in the /x86/usr/lib directory (or the /usr/lib).

What do I have to do to fix this?
What information do you guys need to help me out?

Thanks


Stephen Munnings
Software Developer
Corman Technologies Inc.

In article <9pke5s$hov$2@nntp.qnx.com>, hw@qnx.com says…

Hi Stephen,

Have you tried to reinstall the DDK?

I think I said that in the message! :slight_smile:


Not sure why it wouldn’t be there,
in my /x86/usr/lib dir I have the following:

[emuis]/x86/usr/lib:>ls -l drvr
-rw-rw-r-- 1 root bin 26066 Jun 22 00:54 libdrvr.a
-rw-rw-r-- 1 root bin 27398 Jun 22 00:54 libdrvrS.a
[emuis]/x86/usr/lib:

I guess that my not having the files was the clue that Chris was using to
tell me that the re-install had not worked.

I guess we can always send you the files if need be. What about the
ISO CD? Did you try installing from that?

That was what I used for the original install. I figured that any

changes that might have been made since then would be on the WWW
repository.

Sending me the two lib files would not be sufficient, there are include
files, and other things missing. I think it might be best to try and
find out what went wrong with the install. I can offer a lot of
assistance in this - but you have to tell me what you want to look at…

E.


Stephen Munnings <> steve@cormantech.com> > wrote:
Hi,

I have been struggling with trying to write a network driver. Things
just looked “messed up”. Further complicating things was the fact that I
used to have the 6.0.0 (Patch C?) Network DDK installed.

Anyway, I went to the package installer, REMOVED the Network DDK that was
listed as being present (and activated), and then re-installed it (from
the WWW repository)

Everything looked like it worked just perfectly, but when I was done (I
was talking to CDM on the phone at the time) I did NOT have any drvr
files in the /x86/usr/lib directory (or the /usr/lib).

What do I have to do to fix this?
What information do you guys need to help me out?

Thanks

\

Stephen Munnings
Software Developer
Corman Technologies Inc.


Stephen Munnings
Software Developer
Corman Technologies Inc.

In article <MPG.162cda1b623133e09896cf@inn.qnx.com>, steve@cormantech.com
says…

In article <9pke5s$hov$> 2@nntp.qnx.com> >, > hw@qnx.com > says…
Hi Stephen,

Have you tried to reinstall the DDK?

I think I said that in the message! > :slight_smile:


Not sure why it wouldn’t be there,
in my /x86/usr/lib dir I have the following:

[emuis]/x86/usr/lib:>ls -l drvr
-rw-rw-r-- 1 root bin 26066 Jun 22 00:54 libdrvr.a
-rw-rw-r-- 1 root bin 27398 Jun 22 00:54 libdrvrS.a
[emuis]/x86/usr/lib:


I guess that my not having the files was the clue that Chris was using to
tell me that the re-install had not worked.

I guess we can always send you the files if need be. What about the
ISO CD? Did you try installing from that?

That was what I used for the original install. I figured that any
changes that might have been made since then would be on the WWW
repository.

Sending me the two lib files would not be sufficient, there are include
files, and other things missing. I think it might be best to try and
find out what went wrong with the install. I can offer a lot of
assistance in this - but you have to tell me what you want to look at…

snip

Well, I have tried again. (Removing and re-installing)
I then did a phfind for libdrvr.
Found in /x86/lib (but not /lib) - old 2000 versions.
Found in /pkgs/repository/qnx/ddk/drvr_x86-6.1.0/x86/usr/lib - June 22,
2001 version
Found in /src/nto/drivers/lib// - a number of old
Aug, 2000 versions…

I was asked (during the install) about an old version vs. a new version.
Message was: This package contains a conflicting file
Spill: /x86/usr/lib/libdrvrS.a has been deleted
Do you want to install the new version of this file?

I selected the “Install the newest file. This will overwrite the previous
changes I have made.”

Another similar message for libdrvr.a

However, at no time (either before or after the install) does there exist
a /x86/usr/lib/libdrvr(S).a…

It looks (to me) like it may be some problem with fs-pkg??


Stephen Munnings
Software Developer
Corman Technologies Inc.

In article <MPG.1636258d6f67c2229896d2@inn.qnx.com>, steve@cormantech.com
says…

In article <> MPG.162cda1b623133e09896cf@inn.qnx.com> >, > steve@cormantech.com
says…
In article <9pke5s$hov$> 2@nntp.qnx.com> >, > hw@qnx.com > says…
Hi Stephen,

Have you tried to reinstall the DDK?

I think I said that in the message! > :slight_smile:


Not sure why it wouldn’t be there,
in my /x86/usr/lib dir I have the following:

[emuis]/x86/usr/lib:>ls -l drvr
-rw-rw-r-- 1 root bin 26066 Jun 22 00:54 libdrvr.a
-rw-rw-r-- 1 root bin 27398 Jun 22 00:54 libdrvrS.a
[emuis]/x86/usr/lib:


I guess that my not having the files was the clue that Chris was using to
tell me that the re-install had not worked.

I guess we can always send you the files if need be. What about the
ISO CD? Did you try installing from that?

That was what I used for the original install. I figured that any
changes that might have been made since then would be on the WWW
repository.

Sending me the two lib files would not be sufficient, there are include
files, and other things missing. I think it might be best to try and
find out what went wrong with the install. I can offer a lot of
assistance in this - but you have to tell me what you want to look at…

snip
Well, I have tried again. (Removing and re-installing)
I then did a phfind for libdrvr.
Found in /x86/lib (but not /lib) - old 2000 versions.
Found in /pkgs/repository/qnx/ddk/drvr_x86-6.1.0/x86/usr/lib - June 22,
2001 version
Found in /src/nto/drivers/lib// - a number of old
Aug, 2000 versions…

I was asked (during the install) about an old version vs. a new version.
Message was: This package contains a conflicting file
Spill: /x86/usr/lib/libdrvrS.a has been deleted
Do you want to install the new version of this file?

I selected the “Install the newest file. This will overwrite the previous
changes I have made.”

Another similar message for libdrvr.a

However, at no time (either before or after the install) does there exist
a /x86/usr/lib/libdrvr(S).a…

It looks (to me) like it may be some problem with fs-pkg??


Following up my own post…

I found the .fspkg-spilled file (with Network DDK uninstalled) in
/var/pkg/spill/x86/usr/lib had entries for libdrvr.a and libdrvrS.a in
it. But no spilled file of that name were in the directory. Is this how
fs-pkg records files that have been “deleted”?
If so, how come the install does not fix it up??

After manually removing these entries from the .fspkg-spilled file, the
install of the network DDK appeared to work correctly.
(I did also have to remove an old set of these files from /x86/lib. They
were over-riding the new ones in /x86/usr/lib)

At this point things appear to be back on track…


Stephen Munnings
Software Developer
Corman Technologies Inc.