Network DDK for 6.1

What am I missing?
I just tried to compile the example driver in the Network DDK.
AFAIK I am running 6.1.0 of QNX6 and the Network DDK
When I am in the /root/cvs/hardware/devn/pcnet directory, and type “make”
almost everything goes well except:
I get messages about undefined references (in the link step)
references to nic_calc_crc_le and __iob

I have tried to find out about what has happened, but see no reference to
anything like this.

Who can help me out?


Stephen Munnings
Software Developer
Corman Technologies Inc.

hey Stephen…

I think you need to install the “prebuilt” libs in the prebuilt
directory in the network area of the DDKs.

chris


Stephen Munnings <steve@cormantech.com> wrote:

What am I missing?
I just tried to compile the example driver in the Network DDK.
AFAIK I am running 6.1.0 of QNX6 and the Network DDK
When I am in the /root/cvs/hardware/devn/pcnet directory, and type “make”
almost everything goes well except:
I get messages about undefined references (in the link step)
references to nic_calc_crc_le and __iob

I have tried to find out about what has happened, but see no reference to
anything like this.

Who can help me out?


Stephen Munnings
Software Developer
Corman Technologies Inc.

cdm@qnx.com > “The faster I go, the behinder I get.”

Chris McKillop – Lewis Carroll –
Software Engineer, QSSL
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

In article <9nppmj$mde$1@nntp.qnx.com>, cdm@qnx.com says…

hey Stephen…

I think you need to install the “prebuilt” libs in the prebuilt
directory in the network area of the DDKs.

chris

Thanks for the help.
That sounds like it might be it…
Now, sorry to be a pain, but could you go into a little more detail?
What do I do to fix this?
I cannot find any docs on this aspect of what I am trying to do…

I am not completely sure just what the “prebuilt” libs are, where or how
to install them, and even which directory is the “prebuilt directory” in
the network area of the DDKs.

TIA for your help

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

What am I missing?
I just tried to compile the example driver in the Network DDK.
AFAIK I am running 6.1.0 of QNX6 and the Network DDK
When I am in the /root/cvs/hardware/devn/pcnet directory, and type “make”
almost everything goes well except:
I get messages about undefined references (in the link step)
references to nic_calc_crc_le and __iob

I have tried to find out about what has happened, but see no reference to
anything like this.

Who can help me out?


Stephen Munnings
Software Developer
Corman Technologies Inc.


Stephen Munnings
Software Developer
Corman Technologies Inc.

Stephen Munnings <steve@cormantech.com> wrote:

Thanks for the help.
That sounds like it might be it…
Now, sorry to be a pain, but could you go into a little more detail?
What do I do to fix this?
I cannot find any docs on this aspect of what I am trying to do…

cd /usr/src/ddk-6.1.0/network/prebuilt

You will find a bunch of libs there for each platform. I guess you just
have to copy them over the libs installed on your RTP box.

chris

cdm@qnx.com > “The faster I go, the behinder I get.”

Chris McKillop – Lewis Carroll –
Software Engineer, QSSL
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

In article <9nr87u$k22$2@nntp.qnx.com>, cdm@qnx.com says…

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

Thanks for the help.
That sounds like it might be it…
Now, sorry to be a pain, but could you go into a little more detail?
What do I do to fix this?
I cannot find any docs on this aspect of what I am trying to do…


cd /usr/src/ddk-6.1.0/network/prebuilt

You will find a bunch of libs there for each platform. I guess you just
have to copy them over the libs installed on your RTP box.

chris

Maybe we are getting somewhere now…
I do not have a directory /usr/src/ddk-6.1.0 at all…
How was I supposed to install this package in the first place?
If I recall correctly, I first used the package installer to get the
package installed, and then had to do some cvs command or another to get
things to show up somewhere.
Currently, I am working out of directories named … /root/cvs/… and
so on. (On this particular machine, I work as user root)

Should I be re-installing this package from scratch?
If so, just what is the correct way of doing it, and where should I
expect the files to show up?


Stephen Munnings
Software Developer
Corman Technologies Inc.

In article <MPG.160bcfa7c4adf53c9896b7@inn.qnx.com>, steve@cormantech.com
says…

In article <9nr87u$k22$> 2@nntp.qnx.com> >, > cdm@qnx.com > says…
Stephen Munnings <> steve@cormantech.com> > wrote:

Thanks for the help.
That sounds like it might be it…
Now, sorry to be a pain, but could you go into a little more detail?
What do I do to fix this?
I cannot find any docs on this aspect of what I am trying to do…


cd /usr/src/ddk-6.1.0/network/prebuilt

You will find a bunch of libs there for each platform. I guess you just
have to copy them over the libs installed on your RTP box.

chris

Maybe we are getting somewhere now…
I do not have a directory /usr/src/ddk-6.1.0 at all…
How was I supposed to install this package in the first place?
If I recall correctly, I first used the package installer to get the
package installed, and then had to do some cvs command or another to get
things to show up somewhere.
Currently, I am working out of directories named … /root/cvs/… and
so on. (On this particular machine, I work as user root)

Should I be re-installing this package from scratch?
If so, just what is the correct way of doing it, and where should I
expect the files to show up?

Just to re-iterate… I think I have “gone off the rails” somewhere
after I installed QNXRTP 6.1.0
I have re-installed the Network DDK (as it shows up in the WWW Repository

  • since my QNXRTP machine now has direct access to the InterNet)
    A lot of things do not really “jive” now.
    I found the example driver (and other things) in /root/cvs/hardware
    If I need to do something first to get them into some other directory,
    what should I do, or where are the instructions?
    I have found (for example) that I cannot find appropriate library files
    (as previous posts in this thread) and do not have a /usr/src/ddk-6.1.0
    directory as indicated above.
    Some of the includes in the pcnet example source (like <drvr/eth.h>) are
    nowhere to be found in the /usr/include directory structure, although I
    did find one in /root/cvs/hardware/devn/public/drvr.
    Attempts to copy this file to /usr/include/drvr return with “No file or
    directory found” errors. (And I am root)
    I am rapidly becoming very confused, and struggling here… HELP!!


Stephen Munnings
Software Developer
Corman Technologies Inc.