mirror of https://github.com/tLDP/LDP
updated
This commit is contained in:
parent
827728331b
commit
b8f4e20e5f
|
@ -127,7 +127,7 @@ Filesystems HOWTO</CiteTitle>
|
||||||
</Para>
|
</Para>
|
||||||
<Para>
|
<Para>
|
||||||
<CiteTitle>
|
<CiteTitle>
|
||||||
Updated: Aug 2000</CiteTitle>.
|
Updated: Jan 2007</CiteTitle>.
|
||||||
About filesystems and accessing filesystems.
|
About filesystems and accessing filesystems.
|
||||||
</Para>
|
</Para>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
|
|
|
@ -1376,7 +1376,7 @@ working under Fedora. </Para>
|
||||||
Filesystems-HOWTO</ULink>,
|
Filesystems-HOWTO</ULink>,
|
||||||
<CiteTitle>Filesystems HOWTO</CiteTitle>
|
<CiteTitle>Filesystems HOWTO</CiteTitle>
|
||||||
</Para><Para>
|
</Para><Para>
|
||||||
<CiteTitle>Updated: Aug 2000</CiteTitle>.
|
<CiteTitle>Updated: Jan 2007</CiteTitle>.
|
||||||
About filesystems and accessing filesystems. </Para>
|
About filesystems and accessing filesystems. </Para>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
|
|
||||||
|
@ -3025,7 +3025,7 @@ as a NIS server. </Para>
|
||||||
NLM-HOWTO</ULink>,
|
NLM-HOWTO</ULink>,
|
||||||
<CiteTitle>NetWare Loadable Module Programming HOWTO</CiteTitle>
|
<CiteTitle>NetWare Loadable Module Programming HOWTO</CiteTitle>
|
||||||
</Para><Para>
|
</Para><Para>
|
||||||
<CiteTitle>Updated: Aug 2000</CiteTitle>.
|
<CiteTitle>Updated: Jan 2007</CiteTitle>.
|
||||||
How to develop NetWare Loadable Modules under
|
How to develop NetWare Loadable Modules under
|
||||||
Linux, using GNU CC and nlmconv(1) from GNU binutils. </Para>
|
Linux, using GNU CC and nlmconv(1) from GNU binutils. </Para>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
|
|
|
@ -793,7 +793,7 @@ Reviews main issues related to SMP configuration under Linux. </Para>
|
||||||
Filesystems-HOWTO</ULink>,
|
Filesystems-HOWTO</ULink>,
|
||||||
<CiteTitle>Filesystems HOWTO</CiteTitle>
|
<CiteTitle>Filesystems HOWTO</CiteTitle>
|
||||||
</Para><Para>
|
</Para><Para>
|
||||||
<CiteTitle>Updated: Aug 2000</CiteTitle>.
|
<CiteTitle>Updated: Jan 2007</CiteTitle>.
|
||||||
About filesystems and accessing filesystems. </Para>
|
About filesystems and accessing filesystems. </Para>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
|
|
||||||
|
|
|
@ -357,7 +357,7 @@ sister libraries. </Para>
|
||||||
NLM-HOWTO</ULink>,
|
NLM-HOWTO</ULink>,
|
||||||
<CiteTitle>NetWare Loadable Module Programming HOWTO</CiteTitle>
|
<CiteTitle>NetWare Loadable Module Programming HOWTO</CiteTitle>
|
||||||
</Para><Para>
|
</Para><Para>
|
||||||
<CiteTitle>Updated: Aug 2000</CiteTitle>.
|
<CiteTitle>Updated: Jan 2007</CiteTitle>.
|
||||||
How to develop NetWare Loadable Modules under
|
How to develop NetWare Loadable Modules under
|
||||||
Linux, using GNU CC and nlmconv(1) from GNU binutils. </Para>
|
Linux, using GNU CC and nlmconv(1) from GNU binutils. </Para>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<title>Filesystems HOWTO
|
<title>Filesystems HOWTO
|
||||||
<author>Martin Hinner <<htmlurl url="mailto:martin@hinner.info"
|
<author>Martin Hinner <<htmlurl url="mailto:martin@hinner.info"
|
||||||
name="martin@hinner.info">>, <url url="http://martin.hinner.info">
|
name="martin@hinner.info">>, <url url="http://martin.hinner.info">
|
||||||
<date>Version 0.7.7, 19 September 2000 (non-technical upadate: Jan 2007)
|
<date>Version 0.8, Jan 2007
|
||||||
<abstract>
|
<abstract>
|
||||||
This small HOWTO is about filesystems and accessing filesystems. It is not
|
This small HOWTO is about filesystems and accessing filesystems. It is not
|
||||||
Linux- or Unix-related document as you probably expect. You can find there
|
Linux- or Unix-related document as you probably expect. You can find there
|
||||||
|
|
|
@ -4,14 +4,16 @@
|
||||||
|
|
||||||
<!-- Title information -->
|
<!-- Title information -->
|
||||||
<title>NetWare Loadable Module Programming HOWTO
|
<title>NetWare Loadable Module Programming HOWTO
|
||||||
<author>Martin Hinner, <<htmlurl url="mailto:mhi@penguin.cz"
|
<author>Martin Hinner, <<htmlurl url="mailto:martin@hinner.info"
|
||||||
name="mhi@penguin.cz">>
|
name="martin@hinner.info">>
|
||||||
<date>Version 0.2, 04 August 2000
|
<date>Version 0.3, 04 January 2007
|
||||||
<abstract>
|
<abstract>
|
||||||
This document describes how to develop NetWare Loadable Modules under Linux,
|
This document describes how to develop NetWare Loadable Modules under Linux,
|
||||||
using GNU CC and nlmconv(1) from GNU binutils. This is not an official Novell
|
using GNU CC and nlmconv(1) from GNU binutils. This is not an official Novell
|
||||||
document; I wrote it without any help or cooperation from
|
document; I wrote it without any help or cooperation from
|
||||||
<htmlurl url="http://www.novell.com/" name="Novell, Inc.">
|
<htmlurl url="http://www.novell.com/" name="Novell, Inc.">. Please note that
|
||||||
|
Novell Netware is becoming quite obsolete nowadays. In fact I have not updated
|
||||||
|
this howto for more than five years till now (2007).
|
||||||
<toc>
|
<toc>
|
||||||
|
|
||||||
<sect>Introduction<p>
|
<sect>Introduction<p>
|
||||||
|
@ -70,8 +72,8 @@ development for or from the Linux Operating System on the i386 platforms.
|
||||||
</itemize>
|
</itemize>
|
||||||
|
|
||||||
<sect1>Copying<p>
|
<sect1>Copying<p>
|
||||||
Copyright (c) 2000 Martin Hinner, <<htmlurl url="mailto:mhi@penguin.cz"
|
Copyright (c) 2000 Martin Hinner, <<htmlurl url="mailto:martin@hinner.info"
|
||||||
name="mhi@penguin.cz">>.<p>
|
name="martin@hinner.info">>, <url url="http://martin.hinner.info">.<p>
|
||||||
|
|
||||||
This HOWTO is Free documentation; you can redistribute it and/or
|
This HOWTO is Free documentation; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU General Public License as
|
modify it under the terms of the GNU General Public License as
|
||||||
|
@ -87,6 +89,15 @@ You can obtain a copy of the GNU General Public License by writing
|
||||||
to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA
|
to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA
|
||||||
02139, USA.
|
02139, USA.
|
||||||
<p>
|
<p>
|
||||||
|
<sect1>Contacting the author<p>
|
||||||
|
You can contact me at martin@hinner.info. I welcome any suggestions and corrections,
|
||||||
|
but please before you ask a question, try searching the internet first. You should
|
||||||
|
also check my homepage (<url url="http://martin.hinner.info/">) for any updates or additional information.
|
||||||
|
Please note that I am very busy with my other projects (like <htmlurl url="http://www.auto-diagnostics.info"
|
||||||
|
name="automotive diagnostics">, <htmlurl url="http://www.arm-development.com" name="ARM-based microprocessors development tools">)
|
||||||
|
and I have a full time job (I am working for <htmlurl url="http://www.secons.com" name="SECONS Ltd."> and
|
||||||
|
<htmlurl url="http://www.fintera.com/" name="Fintera Ltd.">).
|
||||||
|
|
||||||
|
|
||||||
<sect>Setting Up Your Linux Box and NetWare Server<p>
|
<sect>Setting Up Your Linux Box and NetWare Server<p>
|
||||||
You need to install and configure these things for NLM development:
|
You need to install and configure these things for NLM development:
|
||||||
|
@ -219,7 +230,7 @@ main (int argc, char **argv)
|
||||||
<code>
|
<code>
|
||||||
#
|
#
|
||||||
# hello.def - NLM Header definition file for nlmconv(1)
|
# hello.def - NLM Header definition file for nlmconv(1)
|
||||||
# Copyright (c) 2000 Martin Hinner <mhi@penguin.cz>
|
# Copyright (c) 2000 Martin Hinner <martin@hinner.info>
|
||||||
#
|
#
|
||||||
|
|
||||||
# define startup object files
|
# define startup object files
|
||||||
|
@ -234,7 +245,7 @@ IMPORT @/usr/nwsdk/imports/threads.imp # Functions in THREADS.NLM
|
||||||
OUTPUT hello.nlm # output file
|
OUTPUT hello.nlm # output file
|
||||||
TYPE 0 # Ordinary NLM
|
TYPE 0 # Ordinary NLM
|
||||||
VERSION 1,0,0 # Version 1.0
|
VERSION 1,0,0 # Version 1.0
|
||||||
COPYRIGHT "Copyright (c) 2000 Martin Hinner <mhi@penguin.cz>" # (c) ...
|
COPYRIGHT "Copyright (c) 2000 Martin Hinner <martin@hinner.info>" # (c) ...
|
||||||
DESCRIPTION "Simple 'Hello world' NLM module." # title of nlm
|
DESCRIPTION "Simple 'Hello world' NLM module." # title of nlm
|
||||||
SCREENNAME "System Console" # Default screen name
|
SCREENNAME "System Console" # Default screen name
|
||||||
|
|
||||||
|
@ -268,6 +279,9 @@ You must pass these arguments to the gcc:
|
||||||
<item> <bf>-fpack-struct</bf>:
|
<item> <bf>-fpack-struct</bf>:
|
||||||
GCC's struct packing method is not valid for Novell NetWare, so we
|
GCC's struct packing method is not valid for Novell NetWare, so we
|
||||||
won't use it. Thanks to Gabor Keresztvalvi for this information.
|
won't use it. Thanks to Gabor Keresztvalvi for this information.
|
||||||
|
<item> <bf>-fno-canary-all-functions</bf>:
|
||||||
|
If you have Immunix StackGuard GCC, we don't want to use
|
||||||
|
it. StackGuard doesn't work under NetWare.
|
||||||
</itemize>
|
</itemize>
|
||||||
|
|
||||||
<sect1>Testing the Module<p>
|
<sect1>Testing the Module<p>
|
||||||
|
|
Loading…
Reference in New Issue