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

nfsExportShow : how to include it?

46 views
Skip to first unread message

Mario Semo

unread,
Mar 3, 2000, 3:00:00 AM3/3/00
to
Hello.

i have a general Tornado (2) development question and a specialized
question.

i want to build a new VxWorks image (486).

i want a given function to be included (e.g. nfsExportShow)

what do i have to include when i build vxWorks? where can i find a relation
nbetween functions and INCLUDE_xxx sections?

--
regards, Mario Semo. http://www.kirchnersoft.com

john_...@my-deja.com

unread,
Mar 3, 2000, 3:00:00 AM3/3/00
to
Hi Mario,

> i want a given function to be included (e.g. nfsExportShow)
>
> what do i have to include when i build vxWorks?

nfsExportShow is part of nfsLib.o (at least it is on my ARM version...
should be the same for yours). Since this is an NFS client facility, the
component you would need should be INCLUDE_NFS.

> where can i find a relation
> nbetween functions and INCLUDE_xxx sections?

This is a little bit more involved... For the example you gave, you just
needed to look in the manual for nfsLib (the library level manual
entry for the function) and it says that you need the INCLUDE_NFS
configuration macro - i.e. the NFS client software. To find the
relationship between the component INCLUDE_xxx names and the more
readable names shown in the GUI look in target/config/comps/vxWorks for
the component's description.

Now, for others you may need to find the name of the .o file (library)
and search in target/config/comps/vxWorks for the component that
matches. If none matches, then you are looking for something that the
auto-dependency analysis will find for you, and you'll need to guess
what the parent component is I think...

Hope that's at least a little help,

John...


Sent via Deja.com http://www.deja.com/
Before you buy.

Mario Semo

unread,
Mar 3, 2000, 3:00:00 AM3/3/00
to
Hello,

thx for the reply.
looks as things are different on HOST=NT and your host.

a) after haveing activated ALL the nfs* parts, the function nfsExportShow is
still not avail on the target. i had to add "NetWorkShowRoutines."

b) i have not a single idea, where do you see this INCLUDE_NFS in the
manuals. i opened the help, manual index, selected the function, and here is
the start of the .html file which contains the function:


----------------------------------------------------------------------------
----

VxWorks Reference Manual : Libraries

nfsLib
NAME
nfsLib - Network File System (NFS) library

ROUTINES

nfsHelp( ) - display the NFS help menu
nfsExportShow( ) - display the exported file systems of a remote host
nfsAuthUnixPrompt( ) - modify the NFS UNIX authentication parameters
nfsAuthUnixShow( ) - display the NFS UNIX authentication parameters
nfsAuthUnixSet( ) - set the NFS UNIX authentication parameters
nfsAuthUnixGet( ) - get the NFS UNIX authentication parameters
nfsIdSet( ) - set the ID number of the NFS UNIX authentication parameters

DESCRIPTION

...

i cannot see the include_xxx anywhere.

more, i search lowlevel all the files in the vxworks directory, and i didnt
find a single documentation which shows a relation between the function and
a include_xxx.

when i knwo the includexxx value, then it is no problem anymore.


--
regards, Mario Semo. http://www.kirchnersoft.com

john_...@my-deja.com wrote in message <89nnfe$tb8$1...@nnrp1.deja.com>...

john_...@my-deja.com

unread,
Mar 5, 2000, 3:00:00 AM3/5/00
to
Hi,

> a) after haveing activated ALL the nfs* parts, the function
nfsExportShow is
> still not avail on the target. i had to add "NetWorkShowRoutines."

Ah, could be... I tend to have all the show routines in by default so I
wouldn't have seen that one as a problem.

> b) i have not a single idea, where do you see this INCLUDE_NFS in the
> manuals. i opened the help, manual index, selected the function, and
here is
> the start of the .html file which contains the function:

> when i knwo the includexxx value, then it is no problem anymore.

I found it on the web based version (I was at home when I replied). The
second paragraph of the description says:

"VxWorks is delivered with NFS disabled. The configuration macro for NFS
is INCLUDE_NFS."

TTFN,

0 new messages