Dialogic DSI SPCI Network Interface Boards Network Router User Manual


 
Dialogic
®
DSI SPCI Network Interface Boards Programmer's Manual Issue 5
15
Table 5: Files Installed on a System Running Linux
Name Description
gctlib.lib Library to be linked with user's application.
system.txt Example system configuration file.
config.txt Example protocol configuration file.
gctload.exe
ssds.exe
s7_mgt.exe
s7_log.exe
s7_play.exe
tick_nt.exe
tim_nt.exe
upe.exe
Executables for use as described elsewhere in this
manual.
INC Sub-directory containing header files for use with user’s
application.
SPCI_CPM_DRIVER Source code for the SPCI Network Interface Board
drivers.
The procedure to build and install these is described in
section 3.4.2.
3.4.2 Device Drivers from Source Code
When the package is unloaded the source code for the driver for the DSI SPCI
Boards is found in the subdirectory named SPCI_CPM_DRIVER. This source
code must be built for the required Kernel version as described below.
A build script, named build_spci_cpm.sh, is included in this subdirectory. To
build the driver, run this script.
This build script assumes a suitable environment for building Kernel modules
is available. This must include the appropriate Kernel include files being found
at: /usr/src/linux-`uname -r`/include.
(e.g., /usr/src/linux-2.4.7-10/include). If these are not found, the build
will fail.
Some Linux installations do not create a system source directory with the
required name, for example some SMP kernels do not create a directory with
the required smp suffix. If this is the case, then a softlink needs to be created
to give an appropriate path to the system header files. For example:
cd /usr/src
ln –s linux-2.4.27 linux-2.4.27smp
Some later version of Linux uses a revised format for the remap_page_range
parameters (for example Red Hat Linux Kernel Versions greater than 2.4.20
require this revised format). The build script supports an optional new_remap
parameter. If this parameter is set, the compile uses the revised format.
The build script supports an optional clean parameter that removes the
driver and all intermediate files.
Under some versions of Linux a warning similar to the following is generated:
warning: changing search order for system directory.